libnvmf_exclusion_list_for_each-libnvme32
Iterate over exclusion list names.
Usage
int libnvmf_exclusion_list_for_each (struct libnvme_global_ctx *ctx , void (*callback)(const char *name, void *user_data) , void *user_data );
Arguments
ctx
|
libnvme global context; must not be NULL |
|---|---|
callback
|
called for each .conf file; name is basename without .conf suffix |
user_data
|
caller context passed to callback |
Return
0 on success, negative errno on error. Returns 0 when the directory does not exist (nothing excluded).