summaryrefslogtreecommitdiffstats
path: root/src/include/hci
diff options
context:
space:
mode:
authorMichael Brown2009-06-28 21:28:38 +0200
committerMichael Brown2009-06-28 21:28:38 +0200
commit76c915d5bdfc9873ca4d05cad80b3c6e260c500e (patch)
tree3035a80cac0ae91d4bef19a0cfee8ea0a86845d1 /src/include/hci
parent[ifmgmt] Optimise prototype for ifcommon_exec() (diff)
downloadipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.tar.gz
ipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.tar.xz
ipxe-76c915d5bdfc9873ca4d05cad80b3c6e260c500e.zip
[ifmgmt] Move ifmgmt_cmd.h to include/hci
Diffstat (limited to 'src/include/hci')
-rw-r--r--src/include/hci/ifmgmt_cmd.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/include/hci/ifmgmt_cmd.h b/src/include/hci/ifmgmt_cmd.h
new file mode 100644
index 00000000..e9c810ab
--- /dev/null
+++ b/src/include/hci/ifmgmt_cmd.h
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2007 Michael Brown <mbrown@fensystems.co.uk>.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+#ifndef _IFMGMT_CMD_H
+#define _IFMGMT_CMD_H
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+struct net_device;
+
+extern int ifcommon_exec ( int argc, char **argv,
+ int ( * payload ) ( struct net_device * ),
+ const char *verb );
+
+#endif /* _IFMGMT_CMD_H */