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

version» Context lines:

Roxen.git/server/etc/include/module.h:1: - // $Id: module.h,v 1.16 1998/06/29 13:11:17 grubba Exp $ + // $Id: module.h,v 1.17 1998/06/29 13:20:19 grubba Exp $   #ifndef ROXEN_MODULE_H   #define ROXEN_MODULE_H      /* Variable types. */   #define TYPE_STRING 1   #define TYPE_FILE 2   #define TYPE_INT 3   #define TYPE_DIR 4      #define TYPE_STRING_LIST 5
Roxen.git/server/etc/include/module.h:88:   // A module which can be called from other modules, protocols, scripts etc.   #define MODULE_PROVIDER (2<<15)         #define MOD_ALLOW 1   #define MOD_USER 2   #define MOD_DENY 3   #define MOD_PROXY_USER 4   #define MOD_ACCEPT 5   #define MOD_ACCEPT_USER 6 + #define MOD_ACCEPT_PROXY_USER 7      #define DEFFONT(X,Y,Z,Q) \   defvar((X)+"_font", (Y), (Z)+": font", TYPE_FONT, (Q));\   defvar((X)+"_weight", "normal", (Z)+": weight", TYPE_STRING_LIST, "", ({"light","normal","bold","black"}));\   defvar((X)+"_slant", "plain", (Z)+": slant", TYPE_STRING_LIST, "", ({"italic","plain"}))         #define CACHE(seconds) if(id->misc->cacheable) id->misc->cacheable=min(id->misc->cacheable,seconds);else id->misc->cacheable = seconds;   #endif