📄 config.h
字号:
/* * $Id: config.h,v 1.1.1.1 2000/05/08 22:51:24 wenqing Exp $ *//* * This file is a placeholder for an automatically generated config file * (by GNU autoconf or similar). It is intended to group together the * definition of all OS-dependent configuration options. * * In the program, code which is dependent on the processor type is * conditionalized by that type. Code which is dependent on a single * OS is conditionalized by OS. Code which is dependent on a particular * OS -feature- is conditionalized by a definition in this file. Until * such time as this file is automatically generated, please add new * conditionals here as required. *//* * Configuration options for some specific operating systems: */#ifdef sun#if (defined(__SVR4) || defined(__svr4__))#define SOLARIS#else /* (defined(__SVR4) || defined(__svr4__)) */#define SunOS#endif /* (defined(__SVR4) || defined(__svr4__)) */#endif /* sun */#ifdef __FreeBSD__#define freebsd#endif /* __FreeBSD__ */#ifdef sgi#define STANDARD_C_LIBRARY#ifndef sgi_53#define INCLUDE_SYSTEM_H#endif#endif#ifdef SOLARIS#define STANDARD_C_LIBRARY#endif#ifdef SunOS#define INCLUDE_SYSTEM_H#endif#ifdef freebsd#define HAVE_MACHINE_ENDIAN_H#define STANDARD_C_LIBRARY#define SOCKADDR_LEN#define SYS_ERRLIST_DECLARED#endif#ifdef linux#define STANDARD_C_LIBRARY#define SYS_ERRLIST_DECLARED#endif/* Define if you have an ANSI standard C library and your system * includes <stddef.h> and <stdlib.h>. (Currently undefined means * SunOS 4.1, more or less..) *//*#define STANDARD_C_LIBRARY*//* Define if your system uses BSD4.4-style sockaddr structures which * include a length field *//*#define SOCKADDR_LEN*//* Define if your system has an IP_TTL setsockopt call *//*#define SET_IP_TTL*/ /* Not in SunOS *//* Define if your system include files include declarations for the * external datastructures sys_errlist[] and sys_nerr. If undefined * they will be declared for you. If your system does not -have- these * datastructures you will need to do some work. *//*#define SYS_ERRLIST_DECLARED*//* Define to include the local file "system.h" at appropriate points * in the compilation. This is a last resort, as all of these * functions should have been declared by system include files. *//*#define INCLUDE_SYSTEM_H *//* * Pathnames. Configure appropriately for your system */#include <sys/param.h>/* Current and previous log files */#if BSD >= 199103#define RSVP_LOG "/var/tmp/rsvpd.log"#define RSVP_LOG_PREV "/var/tmp/rsvpd.log.prev"#else#define RSVP_LOG "/usr/tmp/rsvpd.log"#define RSVP_LOG_PREV "/usr/tmp/rsvpd.log.prev"#endif/* File containing PID of running daemon */#if BSD >= 199103#define RSVP_PID_FILE "/var/tmp/rsvpd.pid"#else#define RSVP_PID_FILE "/usr/tmp/rsvpd.pid"#endif/* Name of AF_UNIX socket used by API library to communicate with daemon */#if BSD >= 199103# define SNAME "/var/tmp/RSVP.daemon"#else# define SNAME "/usr/tmp/RSVP.daemon"#endif#define SMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH)/* Common portion of local socket name for API clients */#define LNAME "/tmp/RSVP.client"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -