X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fradius%2Fradiusclient%2Finclude%2Fincludes.h;fp=pppd%2Fplugins%2Fradius%2Fradiusclient%2Finclude%2Fincludes.h;h=0000000000000000000000000000000000000000;hp=856d9a8b40cb46084ab3f7d875d3d7f8061d6128;hb=4abe4296f0eddbb2b6ff11dbbd27100156c85f87;hpb=4b9bf9ae2701487191810e564aaa4672eb95130e diff --git a/pppd/plugins/radius/radiusclient/include/includes.h b/pppd/plugins/radius/radiusclient/include/includes.h deleted file mode 100644 index 856d9a8..0000000 --- a/pppd/plugins/radius/radiusclient/include/includes.h +++ /dev/null @@ -1,150 +0,0 @@ -/* - * $Id: includes.h,v 1.2 2002/02/27 15:51:19 dfs Exp $ - * - * Copyright (C) 1997 Lars Fenneberg - * - * Copyright 1992 Livingston Enterprises, Inc. - * - * Copyright 1992,1993, 1994,1995 The Regents of the University of Michigan - * and Merit Network, Inc. All Rights Reserved - * - * See the file COPYRIGHT for the respective terms and conditions. - * If the file is missing contact me at lf@elemental.net - * and I'll send you a copy. - * - */ - -#include "config.h" - -#include - -#include -#include -#include -#include -#include - -#ifdef STDC_HEADERS -# include -# include -# include -#else -# include -# ifndef HAVE_STRCHR -# define strchr index -# define strrchr rindex -# endif -#endif - -/* I realize that this is ugly and unsafe.. :( */ -#ifndef HAVE_SNPRINTF -# define snprintf(buf, len, format, args...) sprintf(buf, format, ## args) -#endif -#ifndef HAVE_VSNPRINTF -# define vsnprintf(buf, len, format, ap) vsprintf(buf, format, ap) -#endif - -#ifdef HAVE_UNISTD_H -# include -#endif /* HAVE_UNISTD_H */ - -#ifdef HAVE_FCNTL_H -# include -#endif - -#ifdef HAVE_SYS_FCNTL_H -# include -#endif - -#ifdef HAVE_SYS_FILE_H -# include -#endif - -#ifdef HAVE_SYS_STAT_H -# include -#endif - -#ifdef HAVE_SYS_UTSNAME_H -# include -#endif - -#ifdef HAVE_SYS_IOCTL_H -# include -#endif - -#ifdef HAVE_CRYPT_H -# include -#endif - -#ifdef HAVE_LIMITS_H -# include -#endif - -#ifdef HAVE_TERMIOS_H -# include -#endif - -#ifndef PATH_MAX -#define PATH_MAX 1024 -#endif - -#ifndef UCHAR_MAX -# ifdef __STDC__ -# define UCHAR_MAX 255U -# else -# define UCHAR_MAX 255 -# endif -#endif - -#include -#include -#include -#include - -#if defined(HAVE_SIGNAL_H) -# include -#endif -#if defined(HAVE_SYS_SIGNAL_H) -# include -#endif - -#ifdef NEED_SIG_PROTOTYPES -int sigemptyset(sigset_t *); -int sigaddset(sigset_t *, int); -int sigprocmask (int, sigset_t *, sigset_t *); -#endif - -#if HAVE_GETOPT_H -# include -#endif - -#if defined(HAVE_SHADOW_H) && defined(HAVE_SHADOW_PASSWORDS) -# include -#endif - -#if TIME_WITH_SYS_TIME -# include -# include -#else -# if HAVE_SYS_TIME_H -# include -# else -# include -# endif -#endif - -/* - * prefer srandom/random over srand/rand as there generator has a - * better distribution of the numbers on certain systems. - * on Linux both generators are identical. - */ -#ifndef HAVE_RANDOM -# ifdef HAVE_RAND -# define srandom srand -# define random rand -# endif -#endif - -/* rlib/lock.c */ -int do_lock_exclusive(int); -int do_unlock(int);