mirror of
https://github.com/AuxXxilium/kmod.git
synced 2025-02-20 08:26:55 +07:00
libkmod-private: allow to get aliases from config
This commit is contained in:
parent
3bf8d4b056
commit
8b5ee61872
@ -94,6 +94,7 @@ const struct kmod_list *kmod_get_options(const struct kmod_ctx *ctx) __must_chec
|
||||
const struct kmod_list *kmod_get_install_commands(const struct kmod_ctx *ctx) __must_check __attribute__((nonnull(1)));
|
||||
const struct kmod_list *kmod_get_remove_commands(const struct kmod_ctx *ctx) __must_check __attribute__((nonnull(1)));
|
||||
const struct kmod_list *kmod_get_softdeps(const struct kmod_ctx *ctx) __must_check __attribute__((nonnull(1)));
|
||||
const struct kmod_list *kmod_get_aliases(const struct kmod_ctx *ctx) __must_check __attribute__((nonnull(1)));
|
||||
|
||||
|
||||
/* libkmod-config.c */
|
||||
|
@ -768,3 +768,8 @@ const struct kmod_list *kmod_get_softdeps(const struct kmod_ctx *ctx)
|
||||
{
|
||||
return ctx->config->softdeps;
|
||||
}
|
||||
|
||||
const struct kmod_list *kmod_get_aliases(const struct kmod_ctx *ctx)
|
||||
{
|
||||
return ctx->config->aliases;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user