*/
bool DaemonSeed();
- /** Build the upper/lowercase comparison table
- */
- void MakeLowerMap();
-
/** Moves the given module to the last slot in the list
* @param modulename The module name to relocate
*/
*/
void MoveBefore(std::string modulename, std::string before);
- /** Process a user whos socket has been flagged as active
- * @param cu The user to process
- * @return There is no actual return value, however upon exit, the user 'cu' may have been deleted
- */
- void ProcessUser(userrec* cu);
-
/** Iterate the list of InspSocket objects, removing ones which have timed out
* @param TIME the current time
*/
*/
const long duration_y;
+ /** Used when connecting clients
+ */
+ insp_sockaddr client, server;
+
+ /** Used when connecting clients
+ */
+ socklen_t length;
+
+ /** Used to count iterations around the mainloop
+ */
+ int iterations;
+
public:
/** Time this ircd was booted
*/
*/
std::vector<InspSocket*> module_sockets;
- /** Socket reference table, provides fast lookup of fd to InspSocket*
- */
- InspSocket* socket_ref[MAX_DESCRIPTORS];
-
- /** user reference table, provides fast lookup of fd to userrec*
- */
- userrec* fd_ref_table[MAX_DESCRIPTORS];
-
/** Client list, a hash_map containing all clients, local and remote
*/
user_hash clientlist;
*/
TimerManager* Timers;
- /** Command list, a hash_map of command names to command_t*
- */
- command_table cmdlist;
-
/** X-Line manager. Handles G/K/Q/E line setting, removal and matching
*/
XLineManager* XLines;
*/
time_t Time();
+ /** Process a user whos socket has been flagged as active
+ * @param cu The user to process
+ * @return There is no actual return value, however upon exit, the user 'cu' may have been deleted
+ */
+ void ProcessUser(userrec* cu);
+
/** Get the total number of currently loaded modules
* @return The number of loaded modules
*/