Changeset 801 for trunk/ithildin/modules/ircd/connection.h
- Timestamp:
- 02/12/07 05:52:32 (5 years ago)
- File:
-
- 1 edited
-
trunk/ithildin/modules/ircd/connection.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/modules/ircd/connection.h
r787 r801 46 46 } stats; 47 47 48 #define IRCD_CONNFL_DNS_PTR 0x149 #define IRCD_CONNFL_DNS_ADDR 0x250 #define IRCD_CONNFL_DNS (IRCD_CONNFL_DNS_PTR | IRCD_CONNFL_DNS_ADDR)51 #define IRCD_CONNFL_IDENT 0x452 #define IRCD_CONNFL_STAGE2 0x853 #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 58 48 #define IRCD_CONNFL_WRITEABLE 0x100 /* set if the socket is writeable */ 59 49 #define CONN_PINGSENT(conn) (conn->flags & IRCD_CONNFL_PINGSENT) … … 81 71 }; 82 72 73 bool connection_set_unregistered(connection_t *); 74 bool connection_set_registered(connection_t *); 75 83 76 void destroy_connection(connection_t *, char *); 84 77 int close_unknown_connections(char *); 85 78 int sendq_flush(connection_t *); 86 79 87 HOOK_FUNCTION(connection_lookup_hook);88 HOOK_FUNCTION(connection_ident_hook);89 80 HOOK_FUNCTION(ircd_connection_datahook); 90 81 HOOK_FUNCTION(ircd_writer_hook);
Note: See TracChangeset
for help on using the changeset viewer.
