Changeset 801 for trunk/ithildin/modules/ircd/ircd.h
- Timestamp:
- 02/12/07 05:52:32 (5 years ago)
- File:
-
- 1 edited
-
trunk/ithildin/modules/ircd/ircd.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ithildin/modules/ircd/ircd.h
r579 r801 149 149 150 150 /* the three connection stage events, used by the acl system, and 151 * maybe others. */ 152 event_t *stage1_connect; 153 event_t *stage2_connect; 154 event_t *stage3_connect; 151 * maybe others. connection_registered only fires for CLIENTS 152 * which are registered. */ 153 event_t *connection_connected; 154 event_t *connection_unregistered; 155 event_t *connection_registered; 155 156 156 157 /* other events */ 157 event_t *client_connect; /* called after the stage*_connectto note158 event_t *client_connect; /* called after connection_registered to note 158 159 the connection of a (local) client */ 159 160 event_t *client_disconnect; /* called when a registered client (local) 160 161 is disconnecting from the server */ 161 event_t *register_client; /* called from register_client() for all162 event_t *register_client; /* called from register_client() for all 162 163 connecting clients. */ 163 164 event_t *unregister_client; /* called from destroy_client() for all … … 170 171 initially created. */ 171 172 event_t *channel_destroy; /* same, but for destruction. */ 172 event_t *channel_add; /* hooked when a client joins a channel */173 event_t *channel_del; /* same, but with part */174 175 event_t *server_introduce; /* called when server_introduce() is173 event_t *channel_add; /* hooked when a client joins a channel */ 174 event_t *channel_del; /* same, but with part */ 175 176 event_t *server_introduce; /* called when server_introduce() is 176 177 called, the server's structure is passed 177 178 as the data */ 178 event_t *server_establish; /* called during the misc phase of179 event_t *server_establish; /* called during the misc phase of 179 180 server_establish(), extra data that 180 181 might need to be sent should be sent 181 182 here! */ 182 183 183 event_t *can_join_channel; /* called when the can_join_channel()184 function is called. see channel.h */ 185 event_t *can_see_channel; /* called when the can_see_channel()186 function is called. see channel.h */ 187 event_t *can_send_channel; /* called when the can_send_channel()188 function is called. see channel.h */ 189 event_t *can_nick_channel; /* called when the can_nick_channel()184 event_t *can_join_channel; /* called when the can_join_channel() 185 function is called. see channel.h */ 186 event_t *can_see_channel; /* called when the can_see_channel() 187 function is called. see channel.h */ 188 event_t *can_send_channel; /* called when the can_send_channel() 189 function is called. see channel.h */ 190 event_t *can_nick_channel; /* called when the can_nick_channel() 190 191 function is called. see channel.h */ 191 192 … … 197 198 198 199 struct { 199 /* while there are three connection stages, the last one has no list 200 * as it is very brief, clients who would pass stage3 are in the, you 201 * guessed it, client list */ 202 LIST_HEAD(, connection) *stage1; 203 LIST_HEAD(, connection) *stage2; 200 /* connection groupings. connected clients are fresh off an 201 * accept(), unregistered clients have passed a set of rudimentary 202 * checks but not yet registered, and registered connections are 203 * clients. servers share a separate list but would also be 204 * considered 'registered' */ 205 LIST_HEAD(, connection) *connected; 206 LIST_HEAD(, connection) *unregistered; 204 207 205 208 LIST_HEAD(, connection) *clients; 206 209 207 /* server connections are here, so they aren't handled with client208 * connections (which are (assumed)stages 1/2, and (known) stage3) */209 210 LIST_HEAD(, connection) *servers; 210 211 } connections;
Note: See TracChangeset
for help on using the changeset viewer.
