1998-04-22 20:58:34 +08:00
|
|
|
/*
|
1999-01-09 23:02:11 +08:00
|
|
|
* This file contains all parameters dependent on the
|
|
|
|
* operating system and build-time configuration.
|
1998-04-22 20:58:34 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_CONFIG_H_
|
|
|
|
#define _BIRD_CONFIG_H_
|
|
|
|
|
1999-10-31 23:43:44 +08:00
|
|
|
/* BIRD version */
|
|
|
|
#define BIRD_VERSION "0.0.0"
|
|
|
|
|
1999-01-09 23:02:11 +08:00
|
|
|
/* Include parameters determined by configure script */
|
|
|
|
#include "sysdep/autoconf.h"
|
1998-04-22 20:58:34 +08:00
|
|
|
|
1999-01-09 23:02:11 +08:00
|
|
|
/* Include OS configuration file as chosen in autoconf.h */
|
|
|
|
#include SYSCONF_INCLUDE
|
1998-04-22 20:58:34 +08:00
|
|
|
|
1999-03-02 04:15:14 +08:00
|
|
|
#ifndef MACROS_ONLY
|
|
|
|
|
2000-05-08 22:19:47 +08:00
|
|
|
#include "sysdep/paths.h"
|
|
|
|
|
1998-04-22 20:58:34 +08:00
|
|
|
/* Types */
|
1999-01-09 23:02:11 +08:00
|
|
|
typedef signed INTEGER_8 s8;
|
|
|
|
typedef unsigned INTEGER_8 u8;
|
|
|
|
typedef INTEGER_16 s16;
|
|
|
|
typedef unsigned INTEGER_16 u16;
|
|
|
|
typedef INTEGER_32 s32;
|
|
|
|
typedef unsigned INTEGER_32 u32;
|
1998-04-22 20:58:34 +08:00
|
|
|
typedef u8 byte;
|
|
|
|
typedef u16 word;
|
|
|
|
|
1999-03-02 04:15:14 +08:00
|
|
|
#endif
|
|
|
|
|
1999-01-09 23:02:11 +08:00
|
|
|
/* Path to configuration file */
|
2000-05-08 22:19:47 +08:00
|
|
|
#ifdef DEBUGGING
|
|
|
|
#define PATH_CONFIG "bird.conf"
|
|
|
|
#define PATH_CONTROL_SOCKET "bird.ctl"
|
|
|
|
#else
|
1999-01-09 23:02:11 +08:00
|
|
|
#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
|
1999-10-29 18:08:09 +08:00
|
|
|
#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
|
2000-05-08 22:19:47 +08:00
|
|
|
#endif
|
1998-11-28 03:28:29 +08:00
|
|
|
|
1998-04-22 20:58:34 +08:00
|
|
|
#endif
|