From: Kevin Wasserman Date: Tue, 28 Jun 2011 16:55:11 +0000 (-0400) Subject: remove unnecessary win32/config.h and win32/et/come_err.h X-Git-Tag: tr-beta1~106^2~12 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=moonshot.git;a=commitdiff_plain;h=838d6cb137c4227c1a5ece625643485653b30c06 remove unnecessary win32/config.h and win32/et/come_err.h --- diff --git a/moonshot/mech_eap/win32/config.h b/moonshot/mech_eap/win32/config.h deleted file mode 100644 index efd99c9..0000000 --- a/moonshot/mech_eap/win32/config.h +++ /dev/null @@ -1,118 +0,0 @@ -/* config.h. Generated from config.h.in by configure. */ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_DLFCN_H */ - -/* Define if GSS-API library supports recent naming extensions draft */ -/* #undef HAVE_GSS_C_NT_COMPOSITE_EXPORT */ - -/* Define if GSS-API library supports RFC 5587 */ -#define HAVE_GSS_INQUIRE_ATTRS_FOR_MECH 1 - -/* Define if GSS-API library supports gss_krb5_import_cred */ -#define HAVE_GSS_KRB5_IMPORT_CRED 1 - -/* Define if building against Heimdal Kerberos implementation */ -/* #undef HAVE_HEIMDAL_VERSION */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_INTTYPES_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_MEMORY_H 1 - -/* Define to 1 if you have the header file. */ -/* NOT present natively, but emulated under mech_eap/win32 */ -/////#define HAVE_STDINT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_STDLIB_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_STRINGS_H */ - -/* Define to 1 if you have the header file. */ -#define HAVE_STRING_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_STAT_H 1 - -/* Define to 1 if you have the header file. */ -#define HAVE_SYS_TYPES_H 1 - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_SYS_PARAM_H */ - -/* Define to 1 if you have the header file. */ -/* #undef HAVE_UNISTD_H */ - -#define SYSCONFDIR "c:\\Program Files\\Moonshot\\etc" - -////This messes up freeradius, if defined here -///#if !defined(snprintf) -///#define snprintf _snprintf -///#endif - -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#define LT_OBJDIR ".libs/" - -/* Name of package */ -#define PACKAGE "mech_eap" - -/* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "bugs@project-moonshot.org" - -/* Define to the full name of this package. */ -#define PACKAGE_NAME "mech_eap" - -/* Define to the full name and version of this package. */ -#define PACKAGE_STRING "mech_eap 0.1" - -/* Define to the one symbol short name of this package. */ -#define PACKAGE_TARNAME "mech_eap" - -/* Define to the home page for this package. */ -#define PACKAGE_URL "" - -/* Define to the version of this package. */ -#define PACKAGE_VERSION "0.1" - -/* Define to 1 if you have the ANSI C header files. */ -#define STDC_HEADERS 1 - -/* Enable extensions on AIX 3, Interix. */ -#ifndef _ALL_SOURCE -# define _ALL_SOURCE 1 -#endif -/* Enable GNU extensions on systems that have them. */ -#ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 -#endif -/* Enable threading extensions on Solaris. */ -#ifndef _POSIX_PTHREAD_SEMANTICS -# define _POSIX_PTHREAD_SEMANTICS 1 -#endif -/* Enable extensions on HP NonStop. */ -#ifndef _TANDEM_SOURCE -# define _TANDEM_SOURCE 1 -#endif -/* Enable general extensions on Solaris. */ -#ifndef __EXTENSIONS__ -# define __EXTENSIONS__ 1 -#endif - - -/* Version number of package */ -#define VERSION "0.1" - -/* Define to 1 if on MINIX. */ -/* #undef _MINIX */ - -/* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ -/* #undef _POSIX_1_SOURCE */ - -/* Define to 1 if you need to in order for `stat' and other things to work. */ -/* #undef _POSIX_SOURCE */ diff --git a/moonshot/mech_eap/win32/et/com_err.h b/moonshot/mech_eap/win32/et/com_err.h deleted file mode 100644 index a49c5a5..0000000 --- a/moonshot/mech_eap/win32/et/com_err.h +++ /dev/null @@ -1,60 +0,0 @@ -/* - * Header file for common error description library. - * - * Copyright 1988, Student Information Processing Board of the - * Massachusetts Institute of Technology. - * - * For copyright and distribution info, see the documentation supplied - * with this package. - */ - -#if !defined(__COM_ERR_H) && !defined(__COM_ERR_H__) - -#ifdef __GNUC__ -#define COM_ERR_ATTR(x) __attribute__(x) -#else -#define COM_ERR_ATTR(x) -#endif - -#include - -typedef long errcode_t; - -struct error_table { - char const * const * msgs; - long base; - int n_msgs; -}; -struct et_list; - -extern void com_err (const char *, long, const char *, ...) - COM_ERR_ATTR((format(printf, 3, 4))); - -extern void com_err_va (const char *whoami, errcode_t code, const char *fmt, - va_list args) - COM_ERR_ATTR((format(printf, 3, 0))); - -extern char const *error_message (long); -extern void (*com_err_hook) (const char *, long, const char *, va_list); -extern void (*set_com_err_hook (void (*) (const char *, long, - const char *, va_list))) - (const char *, long, const char *, va_list); -extern void (*reset_com_err_hook (void)) (const char *, long, - const char *, va_list); -extern int init_error_table(const char * const *msgs, long base, int count); - -extern errcode_t add_error_table(const struct error_table * et); -extern errcode_t remove_error_table(const struct error_table * et); -extern void add_to_error_table(struct et_list *new_table); - -/* Provided for Heimdall compatibility */ -extern const char *com_right(struct et_list *list, long code); -extern void initialize_error_table_r(struct et_list **list, - const char **messages, - int num_errors, - long base); -extern void free_error_table(struct et_list *et); - -#define __COM_ERR_H -#define __COM_ERR_H__ -#endif /* !defined(__COM_ERR_H) && !defined(__COM_ERR_H__)*/