21 #include <sys/cdefs.h>
26 #include <sys/queue.h>
42 #define NMMGR_LIST_INIT { NULL }
68 #define NMMGR_FLAGS_NEEDSFREE 0x00000001
78 #define NMMGR_TYPE_UNKNOWN 0x0000
80 #define NMMGR_TYPE_VFS 0x0010
82 #define NMMGR_TYPE_BLOCKDEV 0x0020
84 #define NMMGR_TYPE_SINGLETON 0x0030
86 #define NMMGR_TYPE_SYMTAB 0x0040
88 #define NMMGR_SYS_MAX 0x10000
131 void nmmgr_shutdown();
LIST_ENTRY(nmmgr_handler) list_ent
typedef LIST_HEAD(nmmgr_list, nmmgr_handler) nmmgr_list_t
Name handler list type.
uint32 type
Definition: nmmgr.h:57
#define MAX_FN_LEN
Max filename length.
Definition: limits.h:19
Name handler interface.
Definition: nmmgr.h:52
int nmmgr_handler_add(nmmgr_handler_t *hnd)
Add a name handler.
uint32 flags
Definition: nmmgr.h:56
int nmmgr_handler_remove(nmmgr_handler_t *hnd)
Remove a name handler.
int pid
Definition: nmmgr.h:54
unsigned long uint32
32-bit unsigned integer
Definition: types.h:28
uint32 version
Definition: nmmgr.h:55
nmmgr_list_t * nmmgr_get_list()
Get the head element of the name list.
char pathname[MAX_FN_LEN]
Definition: nmmgr.h:53
nmmgr_handler_t * nmmgr_lookup(const char *name)
Retrieve a name handler by name.