]>
git.ipfire.org Git - thirdparty/kmod.git/blob - libkmod/libkmod-util.h
46db70d85a1acf78dbe155e9c9099e8ec12a39f1
7 #include <shared/macro.h>
9 #define KMOD_EXTENSION_UNCOMPRESSED ".ko"
11 char *modname_normalize(const char *modname
, char buf
[PATH_MAX
], size_t *len
) __attribute__((nonnull(1, 2)));
12 char *path_to_modname(const char *path
, char buf
[PATH_MAX
], size_t *len
) __attribute__((nonnull(2)));
13 bool path_ends_with_kmod_ext(const char *path
, size_t len
) __attribute__((nonnull(1)));