File: os.h-Linux

package info (click to toggle)
exim 3.36-16sarge1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,736 kB
  • ctags: 3,572
  • sloc: ansic: 52,492; sh: 1,158; perl: 577; makefile: 341
file content (25 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* Exim: OS-specific C header file for Linux */

#define CRYPT_H
#define HAVE_MMAP
#define HAVE_SYS_VFS_H
#define NO_IP_VAR_H
#define GLIBC_IP_OPTIONS
#define LINUX_IPV6 "/proc/net/if_inet6"
#define SIOCGIFCONF_GIVES_ADDR

#define F_FREESP     O_TRUNC
typedef struct flock flock_t;

#define os_strsignal strsignal
#define OS_STRSIGNAL

#define os_find_running_interfaces os_find_running_interfaces_linux

/* Need a prototype for the Linux-specific function. The structure hasn't
been defined yet, so we need to pre-declare it. */

struct ip_address_item;
extern struct ip_address_item *os_find_running_interfaces_linux(void);

/* End */