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>
*
* 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);
* 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);