~ubuntu-branches/ubuntu/vivid/dovecot/vivid

« back to all changes in this revision

Viewing changes to src/lib/module-dir.h

  • Committer: Bazaar Package Importer
  • Author(s): Jaldhar H. Vyas
  • Date: 2005-11-05 23:19:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051105231919-ydujs4y7687fpor2
Tags: upstream-1.0.alpha4
ImportĀ upstreamĀ versionĀ 1.0.alpha4

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define __MODULE_DIR_H
3
3
 
4
4
struct module {
 
5
        char *path, *name;
 
6
 
5
7
        void *handle;
6
8
        void (*deinit)(void);
7
9
 
9
11
};
10
12
 
11
13
/* Load all modules in given directory. */
12
 
struct module *module_dir_load(const char *dir);
 
14
struct module *module_dir_load(const char *dir, int require_init_funcs);
13
15
/* Unload all modules */
14
16
void module_dir_unload(struct module *modules);
15
17
 
 
18
void *module_get_symbol(struct module *module, const char *symbol);
 
19
 
16
20
#endif