]> jfr.im git - irc/quakenet/newserv.git/blame - core/modules.h
Make things look a little bit prettier when displaying times which are an
[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;
87698d77 14 const char *version;
2c5db955
CP
15} module;
16
17void initmodules();
18int insmod(char *modulename);
19int getindex(char *modulename);
20int isloaded(char *modulename);
21int rmmod(char *modulename);
1fab6211 22char *lsmod(int index);
87698d77
CP
23const char *lsmodver(int index);
24
2c5db955 25#endif