aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/config_file.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2009-12-24 19:05:40 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-24 19:05:40 (GMT)
commit41d719d6e0c78286eb2b884e6ef8ff5df5d709e9 (patch)
treedf920b7cca6cf6fd50c4d0705c268e04ec36380e /hostapd/config_file.h
parent45cefa0bf3402ef53554a4d0bbe7837200f73dbf (diff)
downloadhostap-41d719d6e0c78286eb2b884e6ef8ff5df5d709e9.zip
hostap-41d719d6e0c78286eb2b884e6ef8ff5df5d709e9.tar.gz
hostap-41d719d6e0c78286eb2b884e6ef8ff5df5d709e9.tar.bz2
Move hostapd configuration parser into separate file
config.c includes now only the generic helper functions that are needed both for hostapd and the AP mode operations in wpa_supplicant. hostapd/config_file.c is only needed for hostapd.
Diffstat (limited to 'hostapd/config_file.h')
-rw-r--r--hostapd/config_file.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/hostapd/config_file.h b/hostapd/config_file.h
new file mode 100644
index 0000000..7111a9a
--- /dev/null
+++ b/hostapd/config_file.h
@@ -0,0 +1,20 @@
+/*
+ * hostapd / Configuration file parser
+ * Copyright (c) 2003-2009, Jouni Malinen <j@w1.fi>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Alternatively, this software may be distributed under the terms of BSD
+ * license.
+ *
+ * See README and COPYING for more details.
+ */
+
+#ifndef CONFIG_FILE_H
+#define CONFIG_FILE_H
+
+struct hostapd_config * hostapd_config_read(const char *fname);
+
+#endif /* CONFIG_FILE_H */