]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
docs: annotate the v33 API
authorEmil Velikov <emil.l.velikov@gmail.com>
Sat, 14 Sep 2024 13:38:57 +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_config_get_weakdeps
 - kmod_module_get_weakdeps

Closes: https://github.com/kmod-project/kmod/issues/98
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 751c918251174526a710d84a2511e7442ae428ab..30813a18b812c92519f2da2c5b1194e0d0d2cad9 100644 (file)
@@ -483,6 +483,8 @@ struct kmod_config_iter *kmod_config_get_softdeps(const struct kmod_ctx *ctx);
  *
  * Returns: a new iterator over the weakdeps or NULL on failure. Free it with
  * kmod_config_iter_free_iter().
+ *
+ * Since: 33
  */
 struct kmod_config_iter *kmod_config_get_weakdeps(const struct kmod_ctx *ctx);
 
@@ -912,6 +914,8 @@ int kmod_module_get_softdeps(const struct kmod_module *mod,
  * should be unreferenced with kmod_module_unref_list().
  *
  * Returns: 0 on success or < 0 otherwise.
+ *
+ * Since: 33
  */
 int kmod_module_get_weakdeps(const struct kmod_module *mod,
                                struct kmod_list **weak);