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

version» Context lines:

Roxen.git/server/etc/include/module.h:1: - // $Id: module.h,v 1.13 1998/03/02 18:28:49 grubba Exp $ + // $Id: module.h,v 1.14 1998/03/23 08:20:56 neotron 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   #define TYPE_MULTIPLE_STRING 5      #define TYPE_INT_LIST 6   #define TYPE_MULTIPLE_INT 6      #define TYPE_FLAG 7 -  + #define TYPE_TOGGLE 7 +    #define TYPE_ERROR 8   #define TYPE_DIR_LIST 9   #define TYPE_FILE_LIST 10   #define TYPE_LOCATION 11   #define TYPE_COLOR 12   #define TYPE_TEXT_FIELD 13   #define TYPE_TEXT 13   #define TYPE_PASSWORD 14   #define TYPE_FLOAT 15   #define TYPE_PORTS 16
Roxen.git/server/etc/include/module.h:76:   #define MODULE_MAIN_PARSER (2<<8)   #define MODULE_TYPES (2<<9)   #define MODULE_DIRECTORIES (2<<10)      #define MODULE_PROXY (2<<11)   #define MODULE_LOGGER (2<<12)   #define MODULE_FILTER (2<<13)      #define MODULE_SECURITY (2<<14)    + // 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 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"}))            #endif