From: Emil Velikov Date: Sat, 14 Sep 2024 13:38:57 +0000 (+0100) Subject: docs: annotate the v33 API X-Git-Tag: v34~355 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=987ef4422bdcb5f3cce3a08ff8d212d88a95e6aa;p=thirdparty%2Fkmod.git docs: annotate the v33 API Namely: - kmod_config_get_weakdeps - kmod_module_get_weakdeps Closes: https://github.com/kmod-project/kmod/issues/98 Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/128 Signed-off-by: Lucas De Marchi --- diff --git a/libkmod/libkmod.h b/libkmod/libkmod.h index 751c9182..30813a18 100644 --- a/libkmod/libkmod.h +++ b/libkmod/libkmod.h @@ -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);