Statistics
| Branch: | Revision:

iof-bird-daemon / sysdep / config.h @ f9254d23

History | View | Annotate | Download (915 Bytes)

1
/*
2
 *        This file contains all parameters dependent on the
3
 *        operating system and build-time configuration.
4
 */
5

    
6
#ifndef _BIRD_CONFIG_H_
7
#define _BIRD_CONFIG_H_
8

    
9
/* BIRD version */
10
#define BIRD_VERSION "0.0.0"
11

    
12
/* Include parameters determined by configure script */
13
#include "sysdep/autoconf.h"
14

    
15
/* Include OS configuration file as chosen in autoconf.h */
16
#include SYSCONF_INCLUDE
17

    
18
#ifndef MACROS_ONLY
19

    
20
#include "sysdep/paths.h"
21

    
22
/* Types */
23
typedef signed INTEGER_8 s8;
24
typedef unsigned INTEGER_8 u8;
25
typedef INTEGER_16 s16;
26
typedef unsigned INTEGER_16 u16;
27
typedef INTEGER_32 s32;
28
typedef unsigned INTEGER_32 u32;
29
typedef u8 byte;
30
typedef u16 word;
31

    
32
#endif
33

    
34
/* Path to configuration file */
35
#ifdef DEBUGGING
36
#define PATH_CONFIG "bird.conf"
37
#define PATH_CONTROL_SOCKET "bird.ctl"
38
#else
39
#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
40
#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
41
#endif
42

    
43
#endif