1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
20
  
21
  
22
  
23
  
24
  
25
  
26
  
27
  
28
  
29
  
30
  
31
  
#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); 
constant MODULE_TAG               = (1<<4); 
constant MODULE_PARSER            = MODULE_TAG; // Compatibility 
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); 
constant MODULE_USERDB            = (1<<16); 
 
// 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); 
#endif