Roxen.git / server / etc / include / module.h

version» Context lines:

Roxen.git/server/etc/include/module.h:43:   #define VAR_CONFIGURABLE 5   #define VAR_SHORTNAME 6      #define VAR_SIZE 7      #define VAR_TYPE_MASK 255   #define VAR_EXPERT 256   #define VAR_MORE 512      // Fast but unreliable. + #if constant(cpp) + #define QUERY(var) variables[ #var ][VAR_VALUE] + #else /* !constant(cpp) */   #define QUERY(var) variables["var"][VAR_VALUE] -  + #endif /* constant(cpp) */      // Like query, but for global variables. -  + #if constant(cpp) + #define GLOBVAR(x) roxen->variables[ #x ][VAR_VALUE] + #else /* !constant(cpp) */   #define GLOBVAR(x) roxen->variables["x"][VAR_VALUE] -  + #endif /* constant(cpp) */      #define MODULE_EXTENSION (2<<0)   #define MODULE_LOCATION (2<<1)   #define MODULE_URL (2<<2)   #define MODULE_FILE_EXTENSION (2<<3)   #define MODULE_PARSER (2<<4)   #define MODULE_LAST (2<<5)   #define MODULE_FIRST (2<<6)      #define MODULE_AUTH (2<<7)