summaryrefslogtreecommitdiff
path: root/libkmod/libkmod.h
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-11-30 19:01:01 -0200
committerLucas De Marchi <lucas.demarchi@profusion.mobi>2011-11-30 19:01:01 -0200
commit6e869df73d0ce9df84098acd58d6e9ebc1309fe6 (patch)
treebc7bd2551f708b3f4b191ef658dd1ebd5f877c54 /libkmod/libkmod.h
parent60aa4d8b486a0d4b810a8272522b22ca2ab82657 (diff)
downloadkmod-6e869df73d0ce9df84098acd58d6e9ebc1309fe6.tar.gz
kmod-6e869df73d0ce9df84098acd58d6e9ebc1309fe6.tar.bz2
kmod-6e869df73d0ce9df84098acd58d6e9ebc1309fe6.zip
Add name() and path() getters for kmod_module
Diffstat (limited to 'libkmod/libkmod.h')
-rw-r--r--libkmod/libkmod.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libkmod/libkmod.h b/libkmod/libkmod.h
index 98d9894..5a66d2a 100644
--- a/libkmod/libkmod.h
+++ b/libkmod/libkmod.h
@@ -107,6 +107,9 @@ struct kmod_module *kmod_module_unref(struct kmod_module *mod);
int kmod_module_remove_module(struct kmod_module *mod, unsigned int flags);
int kmod_module_insert_module(struct kmod_module *mod, unsigned int flags);
+const char *kmod_module_get_name(struct kmod_module *mod);
+const char *kmod_module_get_path(struct kmod_module *mod);
+
#ifdef __cplusplus
} /* extern "C" */
#endif