f5cb442000-02-16Per Hedbor #ifndef MODULE_CONSTANTS_H #define MODULE_CONSTANTS_H 1 // Module types. constant MODULE_ZERO = 0; constant MODULE_EXTENSION = (1<<0); constant MODULE_LOCATION = (1<<1); constant MODULE_URL = (1<<2); constant MODULE_FILE_EXTENSION = (1<<3);
b3281f2000-09-10Martin Nilsson constant MODULE_TAG = (1<<4); constant MODULE_PARSER = MODULE_TAG; // Compatibility
f5cb442000-02-16Per Hedbor constant MODULE_LAST = (1<<5); constant MODULE_FIRST = (1<<6); constant MODULE_AUTH = (1<<7); constant MODULE_MAIN_PARSER = (1<<8); constant MODULE_TYPES = (1<<9); constant MODULE_DIRECTORIES = (1<<10); constant MODULE_PROXY = (1<<11); constant MODULE_LOGGER = (1<<12); constant MODULE_FILTER = (1<<13); constant MODULE_PROVIDER = (1<<15);
3e3bab2001-01-19Per Hedbor constant MODULE_USERDB = (1<<16);
f5cb442000-02-16Per Hedbor 
2c79022010-03-30Henrik Grubbström (Grubba) // Mask for the above. constant MODULE_TYPE_MASK = ((1<<28)-1);
f5cb442000-02-16Per Hedbor // Module type flags. Not _really_ types, only useful for information // to the roxen administrations, not used by roxen. constant MODULE_PROTOCOL = (1<<28); constant MODULE_CONFIG = (1<<29); constant MODULE_SECURITY = (1<<30); constant MODULE_EXPERIMENTAL = (1<<31);
fd77192018-03-12Pontus Ă–stlund  // Module deprecated type flags // Hides the module in the add_module listing and outputs a deprecation // warning on the Admin IF start page. constant MODULE_DEPRECATED = (1<<32); // Hides the module in the add_module listing but doesn't output a warning // on the Admin IF start page. constant MODULE_DEPRECATED_SOFT = (1<<33);
f5cb442000-02-16Per Hedbor #endif