42typedef LIST_HEAD(nmmgr_list, nmmgr_handler) nmmgr_list_t;
50#define NMMGR_LIST_INIT { NULL }
61typedef struct nmmgr_handler {
78typedef struct alias_handler {
94#define NMMGR_FLAGS_NEEDSFREE 0x00000001
99#define NMMGR_FLAGS_INDEV 0x00000002
104#define NMMGR_FLAGS_ALIAS 0x00000004
116#define NMMGR_TYPE_UNKNOWN 0x0000
118#define NMMGR_TYPE_VFS 0x0010
120#define NMMGR_TYPE_BLOCKDEV 0x0020
122#define NMMGR_TYPE_SINGLETON 0x0030
124#define NMMGR_TYPE_SYMTAB 0x0040
126#define NMMGR_SYS_MAX 0x10000
176void nmmgr_init(
void);
177void nmmgr_shutdown(
void);
int nmmgr_handler_add(nmmgr_handler_t *hnd)
Add a name handler.
nmmgr_list_t * nmmgr_get_list(void)
Get the head element of the name list.
int nmmgr_handler_remove(nmmgr_handler_t *hnd)
Remove a name handler.
typedef LIST_HEAD(nmmgr_list, nmmgr_handler) nmmgr_list_t
Name handler list type.
nmmgr_handler_t * nmmgr_lookup(const char *name)
Retrieve a name handler by name.
#define NAME_MAX
Max filename length.
Definition limits.h:25
unsigned long uint32
32-bit unsigned integer
Definition types.h:33
Alias handler interface.
Definition nmmgr.h:78
nmmgr_handler_t * alias
Definition nmmgr.h:82
nmmgr_handler_t nmmgr
Name manager handler header.
Definition nmmgr.h:80
Name handler interface.
Definition nmmgr.h:61
int pid
Definition nmmgr.h:63
uint32 version
Definition nmmgr.h:64
LIST_ENTRY(nmmgr_handler) list_ent
uint32 type
Definition nmmgr.h:66
uint32 flags
Definition nmmgr.h:65