#include "stdinc.h"#include "server.h"#include "parser.h"Go to the source code of this file.
Functions | |
| static void | HandleClientCmds (User *u, int ac, char **av) |
| void | parse (char *arv) |
| int | psr_init () |
| static int | string_to_array (char *string, const char **parv) |
| static int | break_params (int argc, char **argv, const char **para, int start, int brk) |
| void | psr_HandleEvent (Socket *s, int et) |
| static int break_params | ( | int | argc, | |
| char ** | argv, | |||
| const char ** | para, | |||
| int | start, | |||
| int | brk | |||
| ) | [inline, static] |
break_params() Breaks argv up starting starting at start and ending at break break can be argc it will hault auto if it is :)
| static void HandleClientCmds | ( | User * | u, | |
| int | ac, | |||
| char ** | av | |||
| ) | [static] |
Definition at line 291 of file parser.c.
References alog(), CmdErr(), do_cmd(), ExpandParv(), find_user(), generictoken(), sendto_logchan(), and sendto_one().
Referenced by psr_init().
| void parse | ( | char * | arv | ) |
Definition at line 104 of file parser.c.
References alog(), command, find_serv(), find_uid(), find_user(), HandleServCmd(), HandleUserCmd(), IRCd, LOG_DEBUG2, LOG_DEBUG3, MAXPARA, IRCDProto::p10, s_assert, and string_to_array().
Referenced by psr_HandleEvent().
| void psr_HandleEvent | ( | Socket * | s, | |
| int | et | |||
| ) |
| int psr_init | ( | ) |
Hook our socket so we can handle our own socket events
Definition at line 40 of file parser.c.
References AddUserCmd(), and HandleClientCmds().
Referenced by Run().
1.6.3