8216a42444
Added basic module loading capabilities. Created very basic modules Signed-off-by: Gergely Polonkai (W00d5t0ck) <polesz@w00d5t0ck.info>
13 lines
233 B
C
13 lines
233 B
C
#ifndef __WXMPPD_MODULE_H
|
|
# define __WXMPPD_MODULE_H
|
|
|
|
typedef int * (*funcptr) ();
|
|
|
|
typedef struct _wxmppd_module_data_t {
|
|
char *name;
|
|
char *description;
|
|
funcptr *load_func;
|
|
} wxmppd_module_data_t;
|
|
|
|
#endif /* __WXMPPD_MODULE_H */
|