Select Git revision
-
Henrik (Grubba) Grubbström authored
Rev: src/dmalloc.h:1.22 Rev: src/dynamic_buffer.h:1.8 Rev: src/object.h:1.38 Rev: src/pike_types.c:1.129
Henrik (Grubba) Grubbström authoredRev: src/dmalloc.h:1.22 Rev: src/dynamic_buffer.h:1.8 Rev: src/object.h:1.38 Rev: src/pike_types.c:1.129
module.h 702 B
/*\
||| This file a part of uLPC, and is copyright by Fredrik Hubinette
||| uLPC is distributed as GPL (General Public License)
||| See the files COPYING and DISCLAIMER for more information.
\*/
#ifndef MODULE_H
#define MODULE_H
#include "types.h"
typedef void (*fun)(void);
struct module
{
char *name;
fun init_efuns; /* this one _might_ be called before the master is compiled */
fun init_programs; /* this one is called after the master is compiled */
fun exit;
INT32 refs;
};
#define UGLY_WORKAROUND []
extern struct module *current_module;
/* Prototypes begin here */
void init_modules_efuns();
void init_modules_programs();
void exit_modules();
/* Prototypes end here */
#endif