cs_access.c File Reference

#include "module.h"

Include dependency graph for cs_access.c:

Go to the source code of this file.

Functions

int do_access (User *u)
int do_levels (User *u)
void myChanServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)
static int access_del (User *u, ChannelInfo *ci, ChanAccess *access, int *perm, int uacc)
static int access_del_callback (User *u, int num, va_list args)
static int access_list (User *u, int index, ChannelInfo *ci, int *sent_header)
static int access_list_callback (User *u, int num, va_list args)


Function Documentation

static int access_del ( User u,
ChannelInfo ci,
ChanAccess access,
int *  perm,
int  uacc 
) [static]

static int access_del_callback ( User u,
int  num,
va_list  args 
) [static]

Definition at line 90 of file cs_access.c.

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

Referenced by do_access().

static int access_list ( User u,
int  index,
ChannelInfo ci,
int *  sent_header 
) [static]

static int access_list_callback ( User u,
int  num,
va_list  args 
) [static]

Definition at line 128 of file cs_access.c.

References access_list(), and chaninfo_::accesscount.

Referenced by do_access().

void AnopeFini ( void   ) 

Unload the module

Definition at line 56 of file cs_access.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 30 of file cs_access.c.

References c, CHANSERV, CORE, createCommand(), do_access(), do_levels(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), and myChanServHelp().

int do_access ( User u  ) 

int do_levels ( User u  ) 

void myChanServHelp ( User u  ) 

Add the help response to anopes /cs help output.

Parameters:
u The user who is requesting help

Definition at line 67 of file cs_access.c.

References notice_lang(), and s_ChanServ.

Referenced by AnopeInit().


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