Add destruction/creation prototypes and structure for the thread specific storage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12495 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -81,6 +81,11 @@ extern krb5_context gssapi_krb5_context;
|
|||||||
extern krb5_keytab gssapi_krb5_keytab;
|
extern krb5_keytab gssapi_krb5_keytab;
|
||||||
extern HEIMDAL_MUTEX gssapi_keytab_mutex;
|
extern HEIMDAL_MUTEX gssapi_keytab_mutex;
|
||||||
|
|
||||||
|
struct gssapi_thr_context {
|
||||||
|
HEIMDAL_MUTEX mutex;
|
||||||
|
char *error_string;
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prototypes
|
* Prototypes
|
||||||
*/
|
*/
|
||||||
@@ -95,6 +100,9 @@ krb5_error_code gssapi_krb5_init (void);
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
struct gssapi_thr_context *
|
||||||
|
gssapi_get_thread_context(int);
|
||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
gssapi_krb5_create_8003_checksum (
|
gssapi_krb5_create_8003_checksum (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
|
@@ -81,6 +81,11 @@ extern krb5_context gssapi_krb5_context;
|
|||||||
extern krb5_keytab gssapi_krb5_keytab;
|
extern krb5_keytab gssapi_krb5_keytab;
|
||||||
extern HEIMDAL_MUTEX gssapi_keytab_mutex;
|
extern HEIMDAL_MUTEX gssapi_keytab_mutex;
|
||||||
|
|
||||||
|
struct gssapi_thr_context {
|
||||||
|
HEIMDAL_MUTEX mutex;
|
||||||
|
char *error_string;
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Prototypes
|
* Prototypes
|
||||||
*/
|
*/
|
||||||
@@ -95,6 +100,9 @@ krb5_error_code gssapi_krb5_init (void);
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
|
struct gssapi_thr_context *
|
||||||
|
gssapi_get_thread_context(int);
|
||||||
|
|
||||||
OM_uint32
|
OM_uint32
|
||||||
gssapi_krb5_create_8003_checksum (
|
gssapi_krb5_create_8003_checksum (
|
||||||
OM_uint32 *minor_status,
|
OM_uint32 *minor_status,
|
||||||
|
Reference in New Issue
Block a user