Mercurial > dovecot > core-2.2
view src/lib/module-dir.h @ 3863:55df57c028d4 HEAD
Added "bool" type and changed all ints that were used as booleans to bool.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Jan 2006 22:25:57 +0200 |
parents | 9ba79ebae6ab |
children | 928229f8b3e6 |
line wrap: on
line source
#ifndef __MODULE_DIR_H #define __MODULE_DIR_H struct module { char *path, *name; void *handle; void (*deinit)(void); struct module *next; }; /* Load all modules in given directory. */ struct module *module_dir_load(const char *dir, bool require_init_funcs); /* Unload all modules */ void module_dir_unload(struct module *modules); void *module_get_symbol(struct module *module, const char *symbol); #endif