mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-01-19 18:36:55 +07:00
Add doc to kmod_dump_index
This commit is contained in:
parent
49a163759d
commit
0224482e62
@ -8,6 +8,7 @@ kmod_unref
|
||||
kmod_load_resources
|
||||
kmod_unload_resources
|
||||
kmod_validate_resources
|
||||
kmod_dump_index
|
||||
|
||||
kmod_set_log_priority
|
||||
kmod_get_log_priority
|
||||
|
@ -746,6 +746,16 @@ KMOD_EXPORT void kmod_unload_resources(struct kmod_ctx *ctx)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* kmod_dump_index:
|
||||
* @ctx: kmod library context
|
||||
* @type: index to dump
|
||||
* @fd: file descriptor to dump index to
|
||||
*
|
||||
* Dump index to file descriptor
|
||||
*
|
||||
* Returns: 0 on success or < 0 otherwise.
|
||||
*/
|
||||
KMOD_EXPORT int kmod_dump_index(struct kmod_ctx *ctx, enum kmod_index type,
|
||||
int fd)
|
||||
{
|
||||
|
@ -69,7 +69,7 @@ enum kmod_index {
|
||||
_KMOD_INDEX_PAD = (1 << 31),
|
||||
};
|
||||
|
||||
int kmod_dump_index(struct kmod_ctx *ctx, enum kmod_index idx, int fd);
|
||||
int kmod_dump_index(struct kmod_ctx *ctx, enum kmod_index type, int fd);
|
||||
|
||||
/*
|
||||
* kmod_list
|
||||
|
Loading…
Reference in New Issue
Block a user