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/connection.h

    r787 r801  
    4646    } stats; 
    4747 
    48 #define IRCD_CONNFL_DNS_PTR     0x1 
    49 #define IRCD_CONNFL_DNS_ADDR    0x2 
    50 #define IRCD_CONNFL_DNS        (IRCD_CONNFL_DNS_PTR | IRCD_CONNFL_DNS_ADDR) 
    51 #define IRCD_CONNFL_IDENT       0x4 
    52 #define IRCD_CONNFL_STAGE2      0x8 
    53 #define IRCD_CONN_DONE(x)                                                     \ 
    54     (((x)->flags & (IRCD_CONNFL_DNS | IRCD_CONNFL_IDENT)) ==                  \ 
    55      (IRCD_CONNFL_DNS | IRCD_CONNFL_IDENT)) 
    56 #define IRCD_CONN_NEED_STAGE2(x) (!((x)->flags & IRCD_CONNFL_STAGE2)) 
    57  
    5848#define IRCD_CONNFL_WRITEABLE 0x100 /* set if the socket is writeable */ 
    5949#define CONN_PINGSENT(conn) (conn->flags & IRCD_CONNFL_PINGSENT) 
     
    8171}; 
    8272 
     73bool connection_set_unregistered(connection_t *); 
     74bool connection_set_registered(connection_t *); 
     75 
    8376void destroy_connection(connection_t *, char *); 
    8477int close_unknown_connections(char *); 
    8578int sendq_flush(connection_t *); 
    8679 
    87 HOOK_FUNCTION(connection_lookup_hook); 
    88 HOOK_FUNCTION(connection_ident_hook); 
    8980HOOK_FUNCTION(ircd_connection_datahook); 
    9081HOOK_FUNCTION(ircd_writer_hook); 
Note: See TracChangeset for help on using the changeset viewer.