From: Emil Velikov Date: Mon, 2 Sep 2024 22:20:19 +0000 (+0100) Subject: libkmod/docs: document logging priority definitions X-Git-Tag: v34~428 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1a8c69934ad7b05164ac77f3b4eb71d7abc0f75;p=thirdparty%2Fkmod.git libkmod/docs: document logging priority definitions Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/94 Signed-off-by: Lucas De Marchi --- diff --git a/libkmod/libkmod.h b/libkmod/libkmod.h index 8d6be1d4..0553f9f4 100644 --- a/libkmod/libkmod.h +++ b/libkmod/libkmod.h @@ -190,8 +190,8 @@ int kmod_dump_index(struct kmod_ctx *ctx, enum kmod_index type, int fd); * @ctx: kmod library context * @priority: the new logging priority * - * Set the current logging priority. The value controls which messages - * are logged. + * Set the current logging priority, as defined in syslog.h(0P). The value + * controls which messages are logged. */ void kmod_set_log_priority(struct kmod_ctx *ctx, int priority); @@ -199,6 +199,8 @@ void kmod_set_log_priority(struct kmod_ctx *ctx, int priority); * kmod_get_log_priority: * @ctx: kmod library context * + * Get the current logging priority, as defined in syslog.h(0P). + * * Returns: the current logging priority */ int kmod_get_log_priority(const struct kmod_ctx *ctx);