api.h | api.h | |||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* GSS is distributed in the hope that it will be useful, but WITHOUT | * GSS is distributed in the hope that it will be useful, but WITHOUT | |||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |||
* License for more details. | * License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with GSS; if not, write to the Free Software Foundation, | * along with GSS; if not, write to the Free Software Foundation, | |||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
* | * | |||
*/ | */ | |||
/* | /* | |||
* This file was extracted by Simon Josefsson, for the GSS project, | * This file was extracted by Simon Josefsson, for the GSS project, | |||
* from RFC 2744, written by John Wray. RFC 2744 contains the | * from RFC 2744, written by John Wray. RFC 2744 contains the | |||
* copyright statement below. | * copyright statement below. | |||
* | * | |||
* Copyright (C) The Internet Society (2000). All Rights Reserved. | * Copyright (C) The Internet Society (2000). All Rights Reserved. | |||
* | * | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
ext.h | ext.h | |||
---|---|---|---|---|
skipping to change at line 18 | skipping to change at line 18 | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* GSS is distributed in the hope that it will be useful, but WITHOUT | * GSS is distributed in the hope that it will be useful, but WITHOUT | |||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |||
* License for more details. | * License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with GSS; if not, write to the Free Software Foundation, | * along with GSS; if not, write to the Free Software Foundation, | |||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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. */ | /* If non-NULL, call this function when memory is exhausted. */ | |||
skipping to change at line 42 | skipping to change at line 42 | |||
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 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 ); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
gss.h | gss.h | |||
---|---|---|---|---|
/* gss.h --- Header file for GSSLib. -*- c -*- | /* gss.h --- Header file for GSSLib. -*- c -*- | |||
* Copyright (C) 2003, 2004 Simon Josefsson | * Copyright (C) 2003, 2004, 2005 Simon Josefsson | |||
* | * | |||
* This file is part of the Generic Security Service (GSS). | * This file is part of the Generic Security Service (GSS). | |||
* | * | |||
* GSS is free software; you can redistribute it and/or modify it | * GSS is free software; you can redistribute it and/or modify it | |||
* under the terms of the GNU General Public License as published by | * under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* GSS is distributed in the hope that it will be useful, but WITHOUT | * GSS is distributed in the hope that it will be useful, but WITHOUT | |||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |||
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |||
* License for more details. | * License for more details. | |||
* | * | |||
* You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | |||
* along with GSS; if not, write to the Free Software Foundation, | * along with GSS; if not, write to the Free Software Foundation, | |||
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |||
* | * | |||
*/ | */ | |||
#ifndef _GSS_H | #ifndef _GSS_H | |||
#define _GSS_H | #define _GSS_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
#define GSS_VERSION "0.0.15" | #define GSS_VERSION "0.0.16" | |||
#include <gss/api.h> | #include <gss/api.h> | |||
#include <gss/ext.h> | #include <gss/ext.h> | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif /* _GSS_H */ | #endif /* _GSS_H */ | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||