gss_libinit.c revision ab9b2e153c3a9a2b1141fefa87925b1a9beb1236
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include <assert.h>
#include "gssapi_err_generic.h"
#include "gssapi_err_krb5.h"
#include "gssapiP_krb5.h"
#include "gss_libinit.h"
#include "k5-platform.h"
#include "mglueP.h"
/*
* Initialize the GSSAPI library.
*/
int gssint_lib_init(void)
{
int err;
#ifdef SHOW_INITFINI_FUNCS
printf("gssint_lib_init\n");
#endif
#endif
#if 0 /* SUNW15resync */
err = gssint_mechglue_init();
if (err)
return err;
#endif
if (err)
return err;
if (err)
return err;
if (err)
return err;
#if 0 /* SUNW15resync - revisit when mech resynced w/1.5 */
if (err)
return err;
#endif
}
void gssint_lib_fini(void)
{
#ifdef SHOW_INITFINI_FUNCS
printf("gssint_lib_fini: skipping\n");
#endif
return;
}
#ifdef SHOW_INITFINI_FUNCS
printf("gssint_lib_fini\n");
#endif
#endif
#if 0 /* SUNW15resync - revisit when mech resynced w/1.5 */
#endif
#if 0 /* SUNW15resync */
#endif
}
{
return CALL_INIT_FUNCTION(gssint_lib_init);
}