1 /* ext.h --- Header file for non-standard GSS-API functions. 2 * Copyright (C) 2003-2014 Simon Josefsson 3 * 4 * This file is part of the Generic Security Service (GSS). 5 * 6 * GSS is free software; you can redistribute it and/or modify it 7 * under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * GSS is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 14 * License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with GSS; if not, see http://www.gnu.org/licenses or write to 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth 19 * Floor, Boston, MA 02110-1301, USA. 20 * 21 */ 22 23 #ifndef GSS_EXT_H_ 24 #define GSS_EXT_H_ 25 26 /* Get size_t. */ 27 #include <stddef.h> 28 29 /* See version.c. */ 30 extern const char *gss_check_version (const char *req_version); 31 32 /* See ext.c. */ 33 extern int gss_userok (const gss_name_t name, const char *username); 34 35 /* Static versions of the public OIDs for use, e.g., in static 36 variable initalization. See oid.c. */ 37 extern gss_OID_desc GSS_C_NT_USER_NAME_static; 38 extern gss_OID_desc GSS_C_NT_MACHINE_UID_NAME_static; 39 extern gss_OID_desc GSS_C_NT_STRING_UID_NAME_static; 40 extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_X_static; 41 extern gss_OID_desc GSS_C_NT_HOSTBASED_SERVICE_static; 42 extern gss_OID_desc GSS_C_NT_ANONYMOUS_static; 43 extern gss_OID_desc GSS_C_NT_EXPORT_NAME_static; 44 45 #endif 46