| ext.h | | ext.h | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | | * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
| * | | * | |
| */ | | */ | |
| | | | |
| #ifndef GSS_EXT_H_ | | #ifndef GSS_EXT_H_ | |
| #define GSS_EXT_H_ | | #define GSS_EXT_H_ | |
| | | | |
| /* Get size_t. */ | | /* Get size_t. */ | |
| #include <stddef.h> | | #include <stddef.h> | |
| | | | |
|
| | | /* If non-NULL, call this function when memory is exhausted. */ | |
| | | extern void (*gss_alloc_fail_function) (void); | |
| | | | |
| /* See version.c. */ | | /* See version.c. */ | |
| extern const char *gss_check_version (const char *req_version); | | extern const char *gss_check_version (const char *req_version); | |
| | | | |
| /* See ext.c. */ | | /* See ext.c. */ | |
| extern int gss_oid_equal (gss_OID first_oid, gss_OID second_oid); | | extern int gss_oid_equal (gss_OID first_oid, gss_OID second_oid); | |
| extern OM_uint32 | | extern OM_uint32 | |
| gss_copy_oid (OM_uint32 * minor_status, | | gss_copy_oid (OM_uint32 * minor_status, | |
| const gss_OID src_oid, gss_OID dest_oid); | | const gss_OID src_oid, gss_OID dest_oid); | |
| extern OM_uint32 | | extern OM_uint32 | |
| gss_duplicate_oid (OM_uint32 * minor_status, | | gss_duplicate_oid (OM_uint32 * minor_status, | |
| const gss_OID src_oid, gss_OID * dest_oid); | | const gss_OID src_oid, gss_OID * dest_oid); | |
|
| extern OM_uint32 | | extern OM_uint32 gss_release_oid (OM_uint32 * minor_status, gss_OID * oid); | |
| gss_release_oid (OM_uint32 * minor_status, gss_OID * oid); | | | |
| extern int gss_userok (const gss_name_t name, const char *username); | | extern int gss_userok (const gss_name_t name, const char *username); | |
| | | | |
| /* See asn1.c. */ | | /* See asn1.c. */ | |
| extern int | | extern int | |
| gss_encapsulate_token (const gss_buffer_t input_message, | | gss_encapsulate_token (const gss_buffer_t input_message, | |
| gss_OID token_oid, gss_buffer_t output_message); | | gss_OID token_oid, gss_buffer_t output_message); | |
| extern int | | extern int | |
| gss_encapsulate_token_prefix (const gss_buffer_t input_message, | | gss_encapsulate_token_prefix (const gss_buffer_t input_message, | |
| const char *prefix, size_t prefixlen, | | const char *prefix, size_t prefixlen, | |
| gss_OID token_oid, gss_buffer_t output_message
); | | gss_OID token_oid, gss_buffer_t output_message
); | |
| extern int | | extern int | |
| gss_decapsulate_token (const gss_buffer_t input_message, | | gss_decapsulate_token (const gss_buffer_t input_message, | |
| const gss_OID token_oid, | | const gss_OID token_oid, | |
|
| char **dataptr, size_t *datalen); | | char **dataptr, size_t * datalen); | |
| | | | |
| /* Static versions of the public OIDs for use, e.g., in static | | /* Static versions of the public OIDs for use, e.g., in static | |
| variable initalization. See oid.c. */ | | variable initalization. See oid.c. */ | |
| extern gss_OID_desc GSS_C_NT_USER_NAME_static; | | extern gss_OID_desc GSS_C_NT_USER_NAME_static; | |
| extern gss_OID_desc GSS_C_NT_MACHINE_UID_NAME_static; | | extern gss_OID_desc GSS_C_NT_MACHINE_UID_NAME_static; | |
| extern gss_OID_desc GSS_C_NT_STRING_UID_NAME_static; | | extern gss_OID_desc GSS_C_NT_STRING_UID_NAME_static; | |
| extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_X_static; | | extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_X_static; | |
| extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_static; | | extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_static; | |
| extern gss_OID_desc GSS_C_NT_ANONYMOUS_static; | | extern gss_OID_desc GSS_C_NT_ANONYMOUS_static; | |
| extern gss_OID_desc GSS_C_NT_EXPORT_NAME_static; | | extern gss_OID_desc GSS_C_NT_EXPORT_NAME_static; | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 5 lines changed or added | |
|