parser.c File Reference

#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)

Function Documentation

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 :)

Definition at line 242 of file parser.c.

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  ) 
void psr_HandleEvent ( Socket s,
int  et 
)

Definition at line 265 of file parser.c.

References EVENT_READ, GetLine(), and parse().

Referenced by Run().

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().

static int string_to_array ( char *  string,
const char **  parv 
) [inline, static]

Definition at line 49 of file parser.c.

References MAXPARA.

Referenced by parse().

Generated on Mon Jul 19 21:53:05 2010 for Omega Security Services by  doxygen 1.6.3