149 #define g_token_size gssint_g_token_size
150 #define g_make_token_header gssint_g_make_token_header
151 #define g_verify_token_header gssint_g_verify_token_header
152 #define g_display_major_status gssint_g_display_major_status
153 #define g_display_com_err_status gssint_g_display_com_err_status
154 #define g_order_init gssint_g_order_init
155 #define g_order_check gssint_g_order_check
156 #define g_order_free gssint_g_order_free
157 #define g_queue_size gssint_g_queue_size
158 #define g_queue_externalize gssint_g_queue_externalize
159 #define g_queue_internalize gssint_g_queue_internalize
160 #define g_canonicalize_host gssint_g_canonicalize_host
161 #define g_local_host_name gssint_g_local_host_name
162 #define g_strdup gssint_g_strdup
163
164 typedef struct _g_set_elt *g_set_elt;
165 typedef struct {
166 k5_mutex_t mutex;
167 void *data;
168 } g_set;
169 #define G_SET_INIT { K5_MUTEX_PARTIAL_INITIALIZER, 0 }
170
171 int g_set_init (g_set_elt *s);
172 int g_set_destroy (g_set_elt *s);
173 int g_set_entry_add (g_set_elt *s, void *key, void *value);
174 int g_set_entry_delete (g_set_elt *s, void *key);
175 int g_set_entry_get (g_set_elt *s, void *key, void **value);
176
177 int g_save_name (g_set *vdb, gss_name_t name);
178 int g_save_cred_id (g_set *vdb, gss_cred_id_t cred);
179 int g_save_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
180 int g_save_lucidctx_id (g_set *vdb, void *lctx);
181
182 int g_validate_name (g_set *vdb, gss_name_t name);
183 int g_validate_cred_id (g_set *vdb, gss_cred_id_t cred);
184 int g_validate_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
185 int g_validate_lucidctx_id (g_set *vdb, void *lctx);
186
187 int g_delete_name (g_set *vdb, gss_name_t name);
188 int g_delete_cred_id (g_set *vdb, gss_cred_id_t cred);
189 int g_delete_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
|
149 #define g_token_size gssint_g_token_size
150 #define g_make_token_header gssint_g_make_token_header
151 #define g_verify_token_header gssint_g_verify_token_header
152 #define g_display_major_status gssint_g_display_major_status
153 #define g_display_com_err_status gssint_g_display_com_err_status
154 #define g_order_init gssint_g_order_init
155 #define g_order_check gssint_g_order_check
156 #define g_order_free gssint_g_order_free
157 #define g_queue_size gssint_g_queue_size
158 #define g_queue_externalize gssint_g_queue_externalize
159 #define g_queue_internalize gssint_g_queue_internalize
160 #define g_canonicalize_host gssint_g_canonicalize_host
161 #define g_local_host_name gssint_g_local_host_name
162 #define g_strdup gssint_g_strdup
163
164 typedef struct _g_set_elt *g_set_elt;
165 typedef struct {
166 k5_mutex_t mutex;
167 void *data;
168 } g_set;
169 #define G_SET_INIT { K5_MUTEX_PARTIAL_INITIALIZER, NULL }
170
171 int g_set_init (g_set_elt *s);
172 int g_set_destroy (g_set_elt *s);
173 int g_set_entry_add (g_set_elt *s, void *key, void *value);
174 int g_set_entry_delete (g_set_elt *s, void *key);
175 int g_set_entry_get (g_set_elt *s, void *key, void **value);
176
177 int g_save_name (g_set *vdb, gss_name_t name);
178 int g_save_cred_id (g_set *vdb, gss_cred_id_t cred);
179 int g_save_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
180 int g_save_lucidctx_id (g_set *vdb, void *lctx);
181
182 int g_validate_name (g_set *vdb, gss_name_t name);
183 int g_validate_cred_id (g_set *vdb, gss_cred_id_t cred);
184 int g_validate_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
185 int g_validate_lucidctx_id (g_set *vdb, void *lctx);
186
187 int g_delete_name (g_set *vdb, gss_name_t name);
188 int g_delete_cred_id (g_set *vdb, gss_cred_id_t cred);
189 int g_delete_ctx_id (g_set *vdb, gss_ctx_id_t ctx);
|