1 /* callbacks.h function prototypes for gsasl callbacks
2 * Copyright (C) 2002 Simon Josefsson
4 * This file is part of libgsasl.
6 * Libgsasl is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * Libgsasl 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
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with libgsasl; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
28 client_callback_anonymous (Gsasl_session_ctx
*ctx
,
33 client_callback_authorization_id (Gsasl_session_ctx
*ctx
,
38 client_callback_authentication_id (Gsasl_session_ctx
*ctx
,
43 client_callback_password (Gsasl_session_ctx
*ctx
,
48 client_callback_service (Gsasl_session_ctx
*ctx
,
57 client_callback_passcode (Gsasl_session_ctx
*ctx
,
62 client_callback_qop (Gsasl_session_ctx
*ctx
,
63 Gsasl_qop serverqops
);
66 client_callback_maxbuf (Gsasl_session_ctx
*ctx
,
68 /* Server callbacks */
71 server_callback_cram_md5 (Gsasl_session_ctx
*ctx
,
77 server_callback_anonymous (Gsasl_session_ctx
*ctx
,
81 server_callback_qop (Gsasl_session_ctx
*ctx
);
84 server_callback_maxbuf (Gsasl_session_ctx
*ctx
);
87 server_callback_realm (Gsasl_session_ctx
*ctx
,
93 server_callback_external (Gsasl_session_ctx
*ctx
);
96 server_callback_validate (Gsasl_session_ctx
*ctx
,
97 char *authorization_id
,
98 char *authentication_id
,
102 server_callback_retrieve (Gsasl_session_ctx
*ctx
,
103 char *authentication_id
,
104 char *authorization_id
,
110 server_callback_service (Gsasl_session_ctx
*ctx
,
117 server_callback_gssapi (Gsasl_session_ctx
*ctx
,
119 char *authentication_id
);
121 #endif /* _CALLBACKS_H */