2 * kmod - one tool to rule them all
4 * Copyright (C) 2011-2013 ProFUSION embedded systems
6 * This program is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include <shared/macro.h>
26 int (*cmd
)(int argc
, char *argv
[]);
30 extern const struct kmod_cmd kmod_cmd_compat_lsmod
;
31 extern const struct kmod_cmd kmod_cmd_compat_rmmod
;
32 extern const struct kmod_cmd kmod_cmd_compat_insmod
;
33 extern const struct kmod_cmd kmod_cmd_compat_modinfo
;
34 extern const struct kmod_cmd kmod_cmd_compat_modprobe
;
35 extern const struct kmod_cmd kmod_cmd_compat_depmod
;
37 extern const struct kmod_cmd kmod_cmd_insert
;
38 extern const struct kmod_cmd kmod_cmd_list
;
39 extern const struct kmod_cmd kmod_cmd_static_nodes
;
40 extern const struct kmod_cmd kmod_cmd_remove
;