0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-13 22:58:42 +00:00
bird/sysdep/config.h

48 lines
1.0 KiB
C
Raw Normal View History

/*
* This file contains all parameters dependent on the
* operating system and build-time configuration.
*/
#ifndef _BIRD_CONFIG_H_
#define _BIRD_CONFIG_H_
1999-10-31 15:43:44 +00:00
/* BIRD version */
2003-09-01 08:46:07 +00:00
#define BIRD_VERSION "1.0.8"
1999-10-31 15:43:44 +00:00
/* Include parameters determined by configure script */
#include "sysdep/autoconf.h"
/* Include OS configuration file as chosen in autoconf.h */
#include SYSCONF_INCLUDE
#ifndef MACROS_ONLY
2000-05-08 14:24:19 +00:00
/*
* Of course we could add the paths to autoconf.h, but autoconf
* is stupid and puts make-specific substitutious to the paths.
*/
#include "sysdep/paths.h"
/* Types */
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;
typedef u8 byte;
typedef u16 word;
#endif
/* Path to configuration file */
#ifdef DEBUGGING
#define PATH_CONFIG "bird.conf"
#define PATH_CONTROL_SOCKET "bird.ctl"
#else
#define PATH_CONFIG PATH_CONFIG_DIR "/bird.conf"
#define PATH_CONTROL_SOCKET PATH_CONTROL_SOCKET_DIR "/bird.ctl"
#endif
1998-11-27 19:28:29 +00:00
#endif