ms_del.c File Reference

#include "module.h"

Include dependency graph for ms_del.c:

Go to the source code of this file.

Functions

int do_del (User *u)
int del_memo_callback (User *u, int num, va_list args)
void myMemoServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 45 of file ms_del.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 28 of file ms_del.c.

References c, CORE, createCommand(), do_del(), MEMOSERV, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetMemoHelp(), moduleSetType(), and myMemoServHelp().

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

Delete a single memo from a MemoInfo. callback function

Parameters:
u User Struct
int Number
va_list Variable Arguemtns
Returns:
1 if successful, 0 if it fails

Definition at line 176 of file ms_del.c.

References delmemo(), and snprintf().

int do_del ( User u  ) 

The /ms del command.

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

void myMemoServHelp ( User u  ) 

Add the help response to anopes /ms help output.

Parameters:
u The user who is requesting help


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