/* LINTLIBRARY */
/* PROTOLIB1 */
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ident "%Z%%M% %I% %E% SMI"
#include <sasl/sasl.h>
#include <sasl/saslplug.h>
#include <sasl/saslutil.h>
#include <sasl/prop.h>
void *sasl_create_context(void);
void sasl_free_context(void *context);
extern int _sasl_server_init(void *ctx, const sasl_callback_t *callbacks,
const char *appname);
extern int _sasl_server_new(void *ctx, const char *service,
const char *serverFQDN, const char *user_realm,
const char *iplocalport, const char *ipremoteport,
const sasl_callback_t *callbacks, unsigned flags,
sasl_conn_t **pconn);
extern int _sasl_client_init(void *ctx,
const sasl_callback_t *callbacks);
extern int _sasl_client_new(void *ctx,
const char *service,
const char *serverFQDN,
const char *iplocalport,
const char *ipremoteport,
const sasl_callback_t *prompt_supp,
unsigned flags,
sasl_conn_t **pconn);
extern int _sasl_client_add_plugin(void *ctx,
const char *plugname,
sasl_client_plug_init_t *cplugfunc);
extern int _sasl_server_add_plugin(void *ctx,
const char *plugname,
sasl_server_plug_init_t *splugfunc);
extern int _sasl_canonuser_add_plugin(void *ctx,
const char *plugname,
sasl_canonuser_init_t *canonuserfunc);
extern int _sasl_auxprop_add_plugin(void *ctx,
const char *plugname,
sasl_auxprop_init_t *auxpropfunc);