gsasl  2.2.0
About: GNU SASL is an implementation of the Simple Authentication and Security Layer (SASL).
  Fossies Dox: gsasl-2.2.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

Loading...
Searching...
No Matches
internal.h
Go to the documentation of this file.
1/* internal.h --- Internal header with hidden library handle structures.
2 * Copyright (C) 2002-2022 Simon Josefsson
3 *
4 * This file is part of GNU SASL Library.
5 *
6 * GNU SASL Library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * as published by the Free Software Foundation; either version 2.1 of
9 * the License, or (at your option) any later version.
10 *
11 * GNU SASL Library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License License along with GNU SASL Library; if not, write to the
18 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301, USA.
20 *
21 */
22
23#ifndef INTERNAL_H
24# define INTERNAL_H
25
26# ifdef HAVE_CONFIG_H
27# include "config.h"
28# endif
29
30/* Get specifications. */
31# include "gsasl.h"
32
33/* Get malloc, free, ... */
34# include <stdlib.h>
35
36/* Get strlen, strcpy, ... */
37# include <string.h>
38
39/* Main library handle. */
40struct Gsasl
41{
46 /* Callback. */
49};
50
51/* Per-session library handle. */
53{
57 void *mech_data;
59
60 /* Properties. */
62 char *authid;
63 char *authzid;
64 char *password;
65 char *passcode;
66 char *pin;
68 char *service;
69 char *hostname;
71 char *realm;
73 char *qops;
74 char *qop;
86 /* If you add anything here, remember to change change
87 gsasl_finish() in xfinish.c and map() in property.c. */
88};
89
90#endif /* INTERNAL_H */
int(* Gsasl_callback_function)(Gsasl *ctx, Gsasl_session *sctx, Gsasl_property prop)
Definition: gsasl.h:286
void * mech_data
Definition: internal.h:57
char * qops
Definition: internal.h:73
Gsasl_mechanism * mech
Definition: internal.h:56
char * hostname
Definition: internal.h:69
char * authid
Definition: internal.h:62
char * openid20_redirect_url
Definition: internal.h:84
char * service
Definition: internal.h:68
char * qop
Definition: internal.h:74
char * cb_tls_exporter
Definition: internal.h:81
char * scram_salted_password
Definition: internal.h:77
char * gssapi_display_name
Definition: internal.h:70
char * pin
Definition: internal.h:66
char * cb_tls_unique
Definition: internal.h:80
void * application_hook
Definition: internal.h:58
char * scram_storedkey
Definition: internal.h:79
char * saml20_redirect_url
Definition: internal.h:83
char * scram_salt
Definition: internal.h:76
char * scram_iter
Definition: internal.h:75
Gsasl * ctx
Definition: internal.h:54
char * passcode
Definition: internal.h:65
char * anonymous_token
Definition: internal.h:61
char * password
Definition: internal.h:64
char * openid20_outcome_data
Definition: internal.h:85
char * suggestedpin
Definition: internal.h:67
char * digest_md5_hashed_password
Definition: internal.h:72
char * authzid
Definition: internal.h:63
char * realm
Definition: internal.h:71
char * scram_serverkey
Definition: internal.h:78
char * saml20_idp_identifier
Definition: internal.h:82
Definition: internal.h:41
size_t n_client_mechs
Definition: internal.h:42
Gsasl_mechanism * server_mechs
Definition: internal.h:45
Gsasl_mechanism * client_mechs
Definition: internal.h:43
void * application_hook
Definition: internal.h:48
Gsasl_callback_function cb
Definition: internal.h:47
size_t n_server_mechs
Definition: internal.h:44