blob: 62be6971f107c0724f9e71136c9a8a56662c68d2 [file] [log] [blame]
Lucas De Marchi8900b912011-12-22 02:33:36 -02001/*
2 * kmod - one tool to rule them all
3 *
4 * Copyright (C) 2011 ProFUSION embedded systems
5 *
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.
10 *
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.
15 *
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/>.
18 */
19
20#ifndef _KMOD_H_
21
22#include "macro.h"
23
24struct kmod_cmd {
25 const char *name;
26 int (*cmd)(int argc, char *argv[]);
27 const char *help;
28};
29
Lucas De Marchi6fcf69e2011-12-22 03:01:45 -020030extern const struct kmod_cmd kmod_cmd_compat_lsmod;
Lucas De Marchif712ebc2011-12-22 03:39:11 -020031extern const struct kmod_cmd kmod_cmd_compat_rmmod;
Lucas De Marchiad602692011-12-22 03:45:07 -020032extern const struct kmod_cmd kmod_cmd_compat_insmod;
Lucas De Marchi769becb2011-12-22 03:50:54 -020033extern const struct kmod_cmd kmod_cmd_compat_modinfo;
Lucas De Marchi6fcf69e2011-12-22 03:01:45 -020034
Lucas De Marchi8900b912011-12-22 02:33:36 -020035#endif