📄 config.h.in
字号:
/**************************************************************************** Copyright (c) 1999,2000 WU-FTPD Development Group. All rights reserved. Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 The Regents of the University of California. Portions Copyright (c) 1993, 1994 Washington University in Saint Louis. Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc. Portions Copyright (c) 1989 Massachusetts Institute of Technology. Portions Copyright (c) 1998 Sendmail, Inc. Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman. Portions Copyright (c) 1997 by Stan Barber. Portions Copyright (c) 1997 by Kent Landfield. Portions Copyright (c) 1991, 1992, 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. Use and distribution of this software and its source code are governed by the terms and conditions of the WU-FTPD Software License ("LICENSE"). If you did not receive a copy of the license, it may be obtained online at http://www.wu-ftpd.org/license.html. $Id: config.h.in,v 1.31 2000/07/01 18:04:21 wuftpd Exp $ ****************************************************************************//* * Configuration file for autoconf - will be modified by configure */#undef HAVE_FCNTL_H#undef HAVE_DIRENT_H#undef HAVE_REGEX_H#undef TIME_WITH_SYS_TIME#undef HAVE_SYS_TIME_H#undef HAVE_TIME_H#undef HAVE_MNTENT_H#undef HAVE_SYS_MNTENT_H#undef HAVE_SYS_MNTTAB_H#undef HAVE_NDIR_H#undef HAVE_STRING_H#undef HAVE_SYS_DIR_H#undef HAVE_SYS_NDIR_H#undef HAVE_SYS_QUOTA_H#undef HAVE_SYS_FS_UFS_QUOTA_H#undef HAVE_UFS_QUOTA_H#undef HAVE_JFS_QUOTA_H#undef HAVE_UFS_UFS_QUOTA_H#undef HAVE_LINUX_QUOTA_H#undef HAVE_STDLIB_H#undef HAVE_UNISTD_H#undef HAVE_SYS_TYPES_H#undef HAVE_GLOB_H#undef HAVE_GRP_H#undef HAVE_SHADOW_H#undef HAVE_VMSDIR_H#undef QUOTA_INODE#undef QUOTA_DEVICE#undef QSORT_IS_VOID#undef HAVE_SIGPROCMASK#undef HAVE_VSNPRINTF#undef HAVE_DIRFD#undef HAVE_FLOCK#undef HAVE_FTW#undef HAVE_GETCWD#undef HAVE_GETDTABLESIZE#undef HAVE_GETRLIMIT#undef HAVE_PSTAT#undef HAVE_LSTAT#undef HAVE_VPRINTF#undef HAVE_SNPRINTF#undef HAVE_REGEX#undef HAVE_REGEXEC#undef HAVE_SETSID#undef HAVE_MEMMOVE#undef HAVE_STRTOUL#undef HAVE_SIGLIST#undef FACILITY#undef HAVE_LIMITS_H#undef HAVE_VALUES_H#undef HAVE_BSD_BSD_H#undef HAVE_SYS_PARAM_H#undef NEED_LIMITS_H#undef NEED_VALUES_H#undef NEED_BSD_BSD_H#undef NEED_SYS_PARAM_H#if defined(HAVE_SYS_PARAM_H) && defined(NEED_SYS_PARAM_H)#include <sys/param.h>#endif#if defined(HAVE_VALUES_H) && defined(NEED_VALUES_H)#include <values.h>#endif#if defined(HAVE_LIMITS_H) && defined(NEED_LIMITS_H)#include <limits.h>#endif#if defined(HAVE_BSD_BSD_H) && defined(NEED_BSD_BSD_H)#include <bsd/bsd.h>#endif#undef NBBY#undef SIGNAL_TYPE#undef HAVE_SETUID#undef HAVE_SETEUID#undef HAVE_SETREUID#undef HAVE_SETRESUID#undef HAVE_SETEGID#undef HAVE_SETREGID#undef HAVE_SETRESGID#undef HAVE_ST_BLKSIZE#undef HAVE_SYSCONF#undef HAVE_SYS_SYSTEMINFO_H#undef HAVE_PATHS_H#undef HAVE_SYSLOG_H#undef HAVE_SYS_SYSLOG_H#undef HAVE_FCHDIR#undef HAVE_QUOTACTL#undef HAS_OLDSTYLE_GETMNTENT#undef HAS_PW_EXPIRE#undef SHADOW_PASSWORD#undef AUTOCONF#undef L_FORMAT#undef T_FORMAT#undef PW_UID_FORMAT#undef GR_GID_FORMAT#undef HAVE_UT_UT_HOST#undef HAVE_UT_UT_EXIT_E_TERMINATION/* Here instead of everywhere: */#include <stdio.h>#include <stdlib.h>#ifdef HAVE_UNISTD_H#include <unistd.h>#endif/* Newer systems will have seteuid/setegid *//* Older systems may have the BSD setreuid/setregid *//* HP/UX has setresuid/setresgid *//* Some SCO systems appearently have none of this. so if HAVE_SETUID is not defined we'll presume it's all needed since we're compiling support/sco.c */#ifdef HAVE_SETUID#ifndef HAVE_SETEUID#ifdef HAVE_SETREUID#define seteuid(euid) setreuid(-1,(euid))#else#ifdef HAVE_SETRESUID#define seteuid(euid) setresuid(-1,(euid),-1)#else#error No seteuid() functions.#endif#endif#endif#ifndef HAVE_SETEGID#ifdef HAVE_SETREGID#define setegid(egid) setregid(-1,(egid))#else#ifdef HAVE_SETRESGID#define setegid(egid) setresgid(-1,(egid),-1)#else#error No setegid() functions.#endif#endif#endif#endif /* HAVE_SETUID */#ifndef HAVE_FCHDIR#define HAS_NO_FCHDIR 1#endif#ifndef HAVE_QUOTACTL#define HAS_NO_QUOTACTL 1#endif#ifdef HAVE_SYS_SYSTEMINFO_H#define HAVE_SYSINFO 1#endif#ifndef HAVE_SETSID#define NO_SETSID 1#endif#ifndef HAVE_MEMMOVE#define memmove(a,b,c) bcopy(b,a,c)#endif#ifndef HAVE_STRTOUL#define strtoul(a,b,c) (unsigned long)strtol(a,b,c)#endif#ifndef RAND_MAX#define RAND_MAX 2147483647#endif#undef USE_PAM#include "../config.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -