Anope IRC Services  Version 1.8
Macros | Functions
hs_moo.c File Reference
#include "module.h"
Include dependency graph for hs_moo.c:

Go to the source code of this file.

Macros

#define AUTHOR   "Anope" /* Set the Author for a modinfo reply */
 
#define VERSION   VERSION_STRING /* Set the version for a modinfo reply */
 

Functions

int hs_moo_show (User *u)
 
int test (int argc, char **argv)
 
void myHostServHelp (User *u)
 
int myHostServMooHelp (User *u)
 
int myHostServMooRegHelp (User *u)
 
int myHostServMooOperHelp (User *u)
 
int myHostServMooAdminHelp (User *u)
 
int myHostServMooRootHelp (User *u)
 
int AnopeInit (int argc, char **argv)
 
void AnopeFini (void)
 

Macro Definition Documentation

#define AUTHOR   "Anope" /* Set the Author for a modinfo reply */

This is an EXAMPLE module, which adds the "moo" command to HostServ

This command does NOT do anything useful at all!

Please visit http://modules.anope.org for useful modules!

Definition at line 11 of file hs_moo.c.

Referenced by AnopeInit().

#define VERSION   VERSION_STRING /* Set the version for a modinfo reply */

Definition at line 12 of file hs_moo.c.

Referenced by AnopeInit().

Function Documentation

void AnopeFini ( void  )

Definition at line 73 of file hs_moo.c.

int AnopeInit ( int  argc,
char **  argv 
)
int hs_moo_show ( User u)

Definition at line 62 of file hs_moo.c.

References MOD_STOP, user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit().

void myHostServHelp ( User u)

Definition at line 82 of file hs_moo.c.

References user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit().

int myHostServMooAdminHelp ( User u)

Definition at line 99 of file hs_moo.c.

References MOD_CONT, myHostServMooOperHelp(), user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit(), and myHostServMooRootHelp().

int myHostServMooHelp ( User u)

Definition at line 86 of file hs_moo.c.

References MOD_CONT, user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit().

int myHostServMooOperHelp ( User u)

Definition at line 106 of file hs_moo.c.

References MOD_CONT, user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit(), and myHostServMooAdminHelp().

int myHostServMooRegHelp ( User u)

Definition at line 113 of file hs_moo.c.

References MOD_CONT, user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit().

int myHostServMooRootHelp ( User u)

Definition at line 93 of file hs_moo.c.

References MOD_CONT, myHostServMooAdminHelp(), user_::nick, notice(), and s_HostServ.

Referenced by AnopeInit().

int test ( int  argc,
char **  argv 
)

Definition at line 68 of file hs_moo.c.

References alog(), and MOD_CONT.

Referenced by AnopeInit().