1c29c51996-11-20David Kågedal /* -*- Pike -*-
919d802001-04-27Martin Stjernholm  * $Id: config.h,v 1.27 2001/04/27 16:23:28 mast Exp $
141a0a1998-03-02Henrik Grubbström (Grubba)  *
1c29c51996-11-20David Kågedal  * User configurable things not accessible from the normal
a6ef1f2000-03-28Johan Sundström  * administration interface. Not much, but there are some things..
b1fca01996-11-12Per Hedbor  */
d007ec1997-09-22Henrik Grubbström (Grubba) 
b1fca01996-11-12Per Hedbor #ifndef _ROXEN_CONFIG_H_ #define _ROXEN_CONFIG_H_
72a4502000-03-10Martin Stjernholm #if efun(thread_create) // If it works, good for you. If it doesn't, too bad. #ifndef DISABLE_THREADS #ifdef ENABLE_THREADS # define THREADS #endif /* ENABLE_THREADS */ #endif /* !DISABLE_THREADS */ #endif /* efun(thread_create) */
8fe2632001-01-14Martin Nilsson #define add_efun add_constant
72a4502000-03-10Martin Stjernholm 
b1fca01996-11-12Per Hedbor /* Reply 'PONG\r\n' to the query 'PING\r\n'. * For performance tests... */ #define SUPPORT_PING_METHOD /* Do we want module level deny/allow security (IP-numbers and usernames). * 1% speed loss, as an average. (That is, if your CPU is used to the max. * it probably isn't..) */
df8d711998-02-27Per Hedbor #ifndef NO_MODULE_LEVEL_SECURITY # define MODULE_LEVEL_SECURITY #endif
b1fca01996-11-12Per Hedbor 
41b77c1999-07-15David Hedbor /* If this is disabled, the server won't parse the supports string. This might * make the server somewhat faster. If you don't need this feature but need the * most speed you can get, it might be a good idea to disable supports. */ // #define DISABLE_SUPPORTS
b1fca01996-11-12Per Hedbor /* Define this if you don't want Roxen to use DNS. Note: This * doesn't make the server itself faster. It only reduces the netload * some. This option turns off ALL ip -> hostname and hostname -> ip * conversion. Thus you can't use if if you want to run a proxy. */ #undef NO_DNS /* This option turns of all ip->hostname lookups. However the * hostname->ip lookups are still functional. This _is_ usable * if you run a proxy.. :-) */ #undef NO_REVERSE_LOOKUP /* Should we use sete?id instead of set?id?. * There _might_ be security problems with the sete?id functions. */ #define SET_EFFECTIVE
b878961999-11-06Per Hedbor #define URL_MODULES
b1fca01996-11-12Per Hedbor 
e52f772000-03-09Martin Stjernholm /* The namespace prefix for RXML. */ #define RXML_NAMESPACE "rxml"
cd7d5f2000-02-16Martin Stjernholm /* Define this to keep support for old (pre-2.0) RXML. */ #define OLD_RXML_COMPAT
919d802001-04-27Martin Stjernholm // Define to get verbose backtraces in the debug log for each RXML // error. As opposed to the normal reports of RXML errors, they will // include the Pike backtraces too. //#define VERBOSE_RXML_ERRORS
bb3e1d2001-01-04Martin Nilsson // Define back to which Roxen version you would like to keep // compatibility. #define ROXEN_COMPAT 1.3
961ea12000-08-28Per Hedbor 
b1fca01996-11-12Per Hedbor /*---------------- End of configurable options. */ #endif /* if _ROXEN_CONFIG_H_ */