summaryrefslogtreecommitdiff
path: root/src/libbiosdevname.h
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2010-02-05 09:54:11 -0800
committerBob Gilligan <gilligan@vyatta.com>2010-02-05 09:54:11 -0800
commite1971e4774a6ebb5ed33a09bdd60afa2c0534b6f (patch)
treef4fc5aaccb4d9dac43ae7a825df9006532c1a059 /src/libbiosdevname.h
downloadvyatta-biosdevname-e1971e4774a6ebb5ed33a09bdd60afa2c0534b6f.tar.gz
vyatta-biosdevname-e1971e4774a6ebb5ed33a09bdd60afa2c0534b6f.zip
Initial commit.debian/0.1
Diffstat (limited to 'src/libbiosdevname.h')
-rw-r--r--src/libbiosdevname.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/libbiosdevname.h b/src/libbiosdevname.h
new file mode 100644
index 0000000..c106a04
--- /dev/null
+++ b/src/libbiosdevname.h
@@ -0,0 +1,29 @@
+/*
+ * Copyright (c) 2006 Dell, Inc.
+ * by Matt Domsch <Matt_Domsch@dell.com>
+ * Licensed under the GNU General Public license, version 2.
+ */
+#ifndef LIBBIOSDEVNAME_H_INCLUDED
+#define LIBBIOSDEVNAME_H_INCLUDED
+
+enum sortroutine {
+ defaultsort,
+ nosort,
+};
+
+enum namingpolicy {
+ all_ethN,
+ all_names,
+ embedded_ethN_slots_names,
+ kernelnames,
+};
+
+extern void * setup_bios_devices(int sortroutine, int namingpolicy);
+extern void cleanup_bios_devices(void *cookie);
+extern char * kern_to_bios(void *cookie, const char *devname);
+extern void unparse_bios_devices(void *cookie);
+extern void unparse_bios_device_by_name(void *cookie, const char *name);
+
+
+
+#endif /* LIBBIOSDEVNAME_H_INCLUDED */