]> jfr.im git - irc/quakenet/newserv.git/blame - core/modules.h
Merged revisions 249 via svnmerge from
[irc/quakenet/newserv.git] / core / modules.h
CommitLineData
2c5db955
CP
1/* modules.h */
2
3#ifndef __MODULES_H
4#define __MODULES_H
5
6#include "../lib/sstring.h"
7
8#define MODULENAMELEN 40
9#define MODULEDESCLEN 200
10
11typedef struct {
12 sstring *name;
13 void *handle;
14} module;
15
16void initmodules();
17int insmod(char *modulename);
18int getindex(char *modulename);
19int isloaded(char *modulename);
20int rmmod(char *modulename);
1fab6211 21char *lsmod(int index);
2c5db955 22#endif