2015-09-03 20:01:45 +01:00
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Some global #defines for programmers to use for conditional compilation
|
|
|
|
*/
|
|
|
|
@HAVEAX25@
|
|
|
|
@HAVEFLEX@
|
|
|
|
@HAVEROSE@
|
|
|
|
@HAVENETROM@
|
|
|
|
@HAVEZLIB@
|
|
|
|
@HAVEMHEARD@
|
2015-11-22 14:56:30 +00:00
|
|
|
@HAVEAUTOROUTE@
|
2015-09-03 20:01:45 +01:00
|
|
|
@HAVETCPIP@
|
|
|
|
#define PROC_AX25_CALLS_FILE "/proc/net/ax25_calls"
|
|
|
|
|
|
|
|
/*
|
|
|
|
* node specific
|
|
|
|
*/
|
|
|
|
#define CONF_NODE_FILE "@ETC_DIR@/uronode.conf"
|
|
|
|
#define CONF_NODE_PERMS_FILE "@ETC_DIR@/uronode.perms"
|
|
|
|
@HAVEMOTD@ @MOTDPATH@
|
|
|
|
#define CONF_NODE_INFO_FILE "@ETC_DIR@/uronode.info"
|
2017-08-22 13:54:39 +01:00
|
|
|
#define CONF_NODE_ANN_FILE "@ETC_DIR@/uronode.announce"
|
2015-09-03 20:01:45 +01:00
|
|
|
#define AX_ROUTES_FILE "@ETC_DIR@/uronode.routes"
|
|
|
|
#define CONF_USERS_FILE "@ETC_DIR@/uronode.users"
|
|
|
|
#define FLEXD_CONF_FILE "@ETC_DIR@/flexd.conf"
|
|
|
|
#define FLEXD_TEMP_PATH "@VAR_DIR@/flex/"
|
|
|
|
#define FLEXD_PID_FILE "/var/run/flexd.pid"
|
|
|
|
#define FLEX_GT_FILE "@VAR_DIR@/flex/gateways"
|
|
|
|
#define FLEX_DST_FILE "@VAR_DIR@/flex/destinations"
|
|
|
|
#define DATA_MHEARD_FILE "@VAR_DIR@/mheard/mheard.dat"
|
|
|
|
#define DATA_NODE_LOGIN_FILE "@VAR_DIR@/node/loggedin"
|
|
|
|
#define DATA_NODE_HELP_DIR "@VAR_DIR@/node/help/"
|
|
|
|
#define DATA_NODE_LAST_FILE "@VAR_DIR@/node/lastlog"
|
|
|
|
#define DATA_NODE_IP_FILE "@VAR_DIR@/node/iplog"
|
|
|
|
|
|
|
|
#endif
|