module-dir.c revision cca4ba2a504d70a9fe9fee37f8433997359de52c
0N/A#include "module-dir.h"
0N/A#ifdef HAVE_MODULES
0N/A#ifndef RTLD_GLOBAL
0N/A# define RTLD_GLOBAL 0
const char **deps;
struct module *m;
unsigned int len;
return TRUE;
if (m == NULL) {
return FALSE;
return TRUE;
#ifndef __OpenBSD__
void *handle;
return handle;
return TRUE;
str1++;
str2++;
return FALSE;
static struct module *
void *handle;
const char *const *module_version;
return NULL;
#ifdef RTLD_LAZY
return NULL;
return NULL;
return NULL;
if (failed) {
return NULL;
return module;
return FALSE;
return TRUE;
return TRUE;
return FALSE;
unsigned int i, count;
for (i = 0; i < count; i++) {
return module;
return NULL;
return FALSE;
return TRUE;
static struct module *
struct dirent *d;
unsigned int i, count;
return old_modules;
return NULL;
T_BEGIN {
} T_END;
} T_END;
return modules;
struct module *
T_BEGIN {
} T_END;
return modules;
} T_END;
unsigned int i, count = 0;
count++;
if (count == 0)
T_BEGIN {
for (i = 0; i < count; i++) {
} T_END;
struct module *
const char *module_names,
return NULL;
return NULL;
return NULL;
if (p == NULL)
return fname;
unsigned int len;
return name;