version 1.1, 2013/10/14 10:32:47
|
version 1.1.1.3, 2016/11/02 10:35:00
|
Line 1
|
Line 1
|
#ifndef _LIGHTTPD_SETTINGS_H_ |
#ifndef _LIGHTTPD_SETTINGS_H_ |
#define _LIGHTTPD_SETTINGS_H_ |
#define _LIGHTTPD_SETTINGS_H_ |
|
#include "first.h" |
|
|
#ifndef _GNU_SOURCE | #ifdef __GNUC__ |
# define _GNU_SOURCE | # define LI_NORETURN __attribute__((noreturn)) |
| #else |
| # define LI_NORETURN |
#endif |
#endif |
|
|
#ifndef __USE_GNU | #define UNUSED(x) ( (void)(x) ) |
# define __USE_GNU /* a hack in my eyes, <fcntl.h> F_SETSIG should work with _GNU_SOURCE */ | |
#endif | |
|
|
#define BV(x) (1 << x) |
#define BV(x) (1 << x) |
|
|
Line 44 typedef enum { HANDLER_UNSET,
|
Line 45 typedef enum { HANDLER_UNSET,
|
} handler_t; |
} handler_t; |
|
|
#define HTTP_LINGER_TIMEOUT 5 |
#define HTTP_LINGER_TIMEOUT 5 |
|
|
/* we use it in a enum */ |
|
#ifdef TRUE |
|
#undef TRUE |
|
#endif |
|
|
|
#ifdef FALSE |
|
#undef FALSE |
|
#endif |
|
|
|
#endif |
#endif |