cs_xop.c File Reference

#include "module.h"

Include dependency graph for cs_xop.c:

Go to the source code of this file.

Functions

int do_xop (User *u, char *xname, int xlev, int *xmsgs)
int do_aop (User *u)
int do_hop (User *u)
int do_sop (User *u)
int do_vop (User *u)
void myChanServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)
int xop_del (User *u, ChannelInfo *ci, ChanAccess *access, int *perm, int uacc, int xlev)
int xop_del_callback (User *u, int num, va_list args)
int xop_list (User *u, int index, ChannelInfo *ci, int *sent_header, int xlev, int xmsg)
int xop_list_callback (User *u, int num, va_list args)

Variables

int xop_msgs [4][14]


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 119 of file cs_xop.c.

int AnopeInit ( int  argc,
char **  argv 
)

Create the command, and tell anope about it.

Parameters:
argc Argument count
argv Argument list
Returns:
MOD_CONT to allow the module, MOD_STOP to stop it

Definition at line 91 of file cs_xop.c.

References c, CHANSERV, CORE, createCommand(), do_aop(), do_hop(), do_sop(), do_vop(), ircdvars_::halfop, ircd, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), and myChanServHelp().

int do_aop ( User u  ) 

The /cs xop command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

Definition at line 145 of file cs_xop.c.

References ACCESS_AOP, do_xop(), and xop_msgs.

Referenced by AnopeInit().

int do_hop ( User u  ) 

Definition at line 152 of file cs_xop.c.

References ACCESS_HOP, do_xop(), and xop_msgs.

Referenced by AnopeInit().

int do_sop ( User u  ) 

Definition at line 159 of file cs_xop.c.

References ACCESS_SOP, do_xop(), and xop_msgs.

Referenced by AnopeInit().

int do_vop ( User u  ) 

Definition at line 166 of file cs_xop.c.

References ACCESS_VOP, do_xop(), and xop_msgs.

Referenced by AnopeInit().

int do_xop ( User u,
char *  xname,
int  xlev,
int *  xmsgs 
)

void myChanServHelp ( User u  ) 

Add the help response to anopes /cs help output.

Parameters:
u The user who is requesting help

int xop_del ( User u,
ChannelInfo ci,
ChanAccess access,
int *  perm,
int  uacc,
int  xlev 
)

int xop_del_callback ( User u,
int  num,
va_list  args 
)

Definition at line 190 of file cs_xop.c.

References chaninfo_::access, chaninfo_::accesscount, and xop_del().

Referenced by do_xop().

int xop_list ( User u,
int  index,
ChannelInfo ci,
int *  sent_header,
int  xlev,
int  xmsg 
)

int xop_list_callback ( User u,
int  num,
va_list  args 
)

Definition at line 224 of file cs_xop.c.

References chaninfo_::accesscount, and xop_list().

Referenced by do_xop().


Variable Documentation

int xop_msgs[4][14]

Definition at line 26 of file cs_xop.c.

Referenced by do_aop(), do_hop(), do_sop(), and do_vop().


Generated on Sun Oct 5 09:07:03 2008 for Anope by  doxygen 1.5.7.1