#include "services.h"#include "nickserv.h"#include "operserv.h"#include "memoserv.h"#include "chanserv.h"#include "infoserv.h"#include "gameserv.h"#include "mass.h"#include "log.h"Go to the source code of this file.
Defines | |
| #define | MAX_IRC_LINE_LEN 512 |
| Maximum length of an IRC message. | |
Functions | |
| void | parseLine (char *) |
| int | ConnectToServer (char *hostname, int portnum) |
| Used at services startup to connect to its uplink. | |
| void | sSend (char *format,...) |
| a printf-like function for sending data to the services uplink socket | |
| void | addUser (char *nick, char *user, char *host, char *name, char *mode) |
| void | breakLine (char *tmpbuffer) |
| void | sendInfoReply (UserList *nick) |
Variables | |
| char | oldData [MAX_IRC_LINE_LEN] |
Max Byrd
Greg Poma
Definition in file server.c.
|
||||||||||||||||||||||||
|
Add a new user, be that ChanServ or a nick in holding. in the 'mode' variable you can specify +iogsw or any other ircd compatible modes.
Definition at line 153 of file server.c. References myname, and sSend(). Referenced by addGhost(), main(), make_clone(), and parseLine(). |
|
|
Break up a string of data into seperate pieces and parse those. (parseLine())
Definition at line 182 of file server.c. References FALSE, MAX_IRC_LINE_LEN, oldData, OperServ, parseLine(), sSend(), sshutdown(), strncpyzt, and TRUE. Referenced by main(). |
|
||||||||||||
|
Used at services startup to connect to its uplink.
Definition at line 60 of file server.c. References corelog, flushLogs(), logDump(), and sshutdown(). Referenced by main(). |
|
|
|
Respond to an /INFO message
Definition at line 605 of file server.c. References myname, _userlist::nick, services_info, and sSend(). Referenced by parseLine(). |
|
||||||||||||
|
|
Necessary to keep previous unterminated data
Definition at line 173 of file server.c. Referenced by breakLine(). |