parser.h File Reference

Go to the source code of this file.

Defines

#define MAXPARA   15

Functions

int psr_init ()
void psr_HandleEvent (Socket *, int)
static void HandlePrivMsg (User *, int, char **)
static int break_params (int, char **, const char **, int, int)
static int string_to_array (char *string, const char **parv)

Variables

char source [32]
char command [32]
char target [33]

Define Documentation

#define MAXPARA   15

Definition at line 4 of file parser.h.


Function Documentation

static int break_params ( int  ,
char **  ,
const char **  ,
int  ,
int   
) [inline, static]
static void HandlePrivMsg ( User *  ,
int  ,
char **   
) [static]
void psr_HandleEvent ( Socket ,
int   
)

Definition at line 265 of file parser.c.

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]

Variable Documentation

char command[32]

Definition at line 9 of file parser.h.

Referenced by parse().

char source[32]

Definition at line 8 of file parser.h.

char target[33]

Definition at line 10 of file parser.h.

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