]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
docs: annotate the v30 API
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 14 Sep 2024 13:38:23 +0000 (14:38 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 14 Sep 2024 22:51:01 +0000 (17:51 -0500)
Namely:
 - kmod_module_new_from_name_lookup

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/128
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod.h

index 24e2241a9b25512e9c68e7e9d030485c23af8eb9..751c918251174526a710d84a2511e7442ae428ab 100644 (file)
@@ -611,6 +611,8 @@ int kmod_module_new_from_lookup(struct kmod_ctx *ctx, const char *given_alias,
  * Returns: 0 on success or < 0 otherwise. It fails if any of the lookup
  * methods failed, which is basically due to memory allocation failure. If
  * module is not found, it still returns 0, but @mod is left untouched.
+ *
+ * Since: 30
  */
 int kmod_module_new_from_name_lookup(struct kmod_ctx *ctx,
                                     const char *modname,