1 /* modpriv.h: Stuff needed by both modules.c and modcall.c, but should not be
2 * accessed from anywhere else.
10 * Keep track of which modules we've loaded.
12 typedef struct module_list_t {
13 struct module_list_t *next;
14 char name[MAX_STRING_LEN];
20 * Per-instance data structure, to correlate the modules
21 * with the instance names (may NOT be the module names!),
22 * and the per-instance data structures.
24 typedef struct module_instance_t {
25 struct module_instance_t *next;
26 char name[MAX_STRING_LEN];
30 pthread_mutex_t *mutex;
34 module_instance_t *find_module_instance(const char *instname);