Ignore:
Timestamp:
02/12/07 05:52:32 (5 years ago)
Author:
wd
Message:

Get the base/existing IRC module compiling again. Clear out old junk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ithildin/modules/ircd/addons/acl.h

    r787 r801  
    1212 
    1313typedef struct acl { 
    14 #define ACL_STAGE_CONNECT 1 
    15 #define ACL_STAGE_PREREG 2 
    16 #define ACL_STAGE_REGISTER 3 
     14#define ACL_STAGE_CONNECTED 1 
     15#define ACL_STAGE_UNREGISTERED 2 
     16#define ACL_STAGE_REGISTERED 3 
    1717    int     stage;                  /* one of 1, 2, or 3 */ 
    1818#define ACL_ACCESS_ANY -1 
     
    5656 
    5757extern struct acl_module_data { 
    58     struct acl_list *stage1_list; 
    59     struct acl_list *stage2_list; 
    60     struct acl_list *stage3_list; 
     58    struct acl_list *connected_list; 
     59    struct acl_list *unregistered_list; 
     60    struct acl_list *registered_list; 
    6161    struct acl_list *list; 
    6262 
     
    7171void acl_add_timer(acl_t *, time_t); 
    7272void acl_force_check(int, const acl_t *, const char *, bool); 
    73 HOOK_FUNCTION(acl_stage1_hook); 
    74 HOOK_FUNCTION(acl_stage2_hook); 
    75 HOOK_FUNCTION(acl_stage3_hook); 
     73int acl_stage_str_to_int(const char *); 
     74const char *acl_stage_int_to_str(int); 
     75HOOK_FUNCTION(acl_connected_stage_hook); 
     76HOOK_FUNCTION(acl_unregistered_stage_hook); 
     77HOOK_FUNCTION(acl_registered_stage_hook); 
    7678 
    7779#endif 
Note: See TracChangeset for help on using the changeset viewer.