about summary refs log tree commit diff
path: root/src/supplicant-manager/nm-supplicant-settings-verify.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/supplicant-manager/nm-supplicant-settings-verify.h')
-rw-r--r--src/supplicant-manager/nm-supplicant-settings-verify.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/supplicant-manager/nm-supplicant-settings-verify.h b/src/supplicant-manager/nm-supplicant-settings-verify.h
new file mode 100644
index 00000000..0939ebdb
--- /dev/null
+++ b/src/supplicant-manager/nm-supplicant-settings-verify.h
@@ -0,0 +1,37 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/* NetworkManager -- Network link manager
+ *
+ * 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
+ * (at your option) 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.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Copyright (C) 2006 - 2008 Red Hat, Inc.
+ */
+
+#ifndef NM_SUPPLICANT_SETTINGS_VERIFY_H
+#define NM_SUPPLICANT_SETTINGS_VERIFY_H
+
+typedef enum OptType {
+	TYPE_INVALID = 0,
+	TYPE_INT,
+	TYPE_BYTES,
+	TYPE_KEYWORD,
+	TYPE_STRING
+} OptType;
+
+OptType nm_supplicant_settings_verify_setting (const char * key,
+                                               const char * value,
+                                               const guint32 len);
+
+
+#endif /* NM_SUPPLICANT_SETTINGS_VERIFY_H */