summaryrefslogtreecommitdiff
path: root/src/supplicant-manager/nm-supplicant-config.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2006-12-03 20:04:11 +0000
committerDan Williams <dcbw@redhat.com>2006-12-03 20:04:11 +0000
commit141af10189b80345a0549cd956992c184e292ad9 (patch)
tree39faf1b2ff328f7add1332d52e6f7bc8053c1ced /src/supplicant-manager/nm-supplicant-config.h
parent23527a52f7dc6d957fe9569a441577c0b6c82c83 (diff)
2006-12-03 Dan Williams <dcbw@redhat.com>
* src/supplicant-manager/Makefile.am src/supplicant-manager/nm-supplicant-connection.h src/supplicant-manager/nm-supplicant-connection.c src/supplicant-manager/nm-supplicant-config.h src/supplicant-manager/nm-supplicant-config.c src/supplicant-manager/nm-supplicant-types.h src/supplicant-manager/nm-supplicant-interface.h src/supplicant-manager/nm-supplicant-interface.c - Rename NMSupplicantConnection -> NMSupplicantConfig git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2154 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'src/supplicant-manager/nm-supplicant-config.h')
-rw-r--r--src/supplicant-manager/nm-supplicant-config.h70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/supplicant-manager/nm-supplicant-config.h b/src/supplicant-manager/nm-supplicant-config.h
new file mode 100644
index 0000000000..2b63425bb8
--- /dev/null
+++ b/src/supplicant-manager/nm-supplicant-config.h
@@ -0,0 +1,70 @@
+/* NetworkManager -- Network link manager
+ *
+ * Dan Williams <dcbw@redhat.com>
+ *
+ * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * (C) Copyright 2006 Red Hat, Inc.
+ */
+
+#ifndef NM_SUPPLICANT_CONFIG_H
+#define NM_SUPPLICANT_CONFIG_H
+
+#include <glib-object.h>
+#include "nm-supplicant-types.h"
+#include "nm-device.h"
+
+G_BEGIN_DECLS
+
+#define NM_TYPE_SUPPLICANT_CONFIG (nm_supplicant_config_get_type ())
+#define NM_SUPPLICANT_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_SUPPLICANT_CONFIG, NMSupplicantConfig))
+#define NM_SUPPLICANT_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_SUPPLICANT_CONFIG, NMSupplicantConfigClass))
+#define NM_IS_SUPPLICANT_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), NM_TYPE_SUPPLICANT_CONFIG))
+#define NM_IS_SUPPLICANT_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), NM_TYPE_SUPPLICANT_CONFIG))
+#define NM_SUPPLICANT_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), NM_TYPE_SUPPLICANT_CONFIG, NMSupplicantConfigClass))
+
+typedef struct _NMSupplicantConfigClass NMSupplicantConfigClass;
+typedef struct _NMSupplicantConfigPrivate NMSupplicantConfigPrivate;
+
+struct _NMSupplicantConfig
+{
+ GObject parent;
+
+ /*< private >*/
+ NMSupplicantConfigPrivate *priv;
+};
+
+struct _NMSupplicantConfigClass
+{
+ GObjectClass parent;
+
+ /* class members */
+};
+
+
+GType nm_supplicant_config_get_type (void);
+
+NMSupplicantConfig * nm_supplicant_config_new (NMDevice *dev);
+
+gboolean nm_supplicant_config_add_option (NMSupplicantConfig *scfg,
+ const char * key,
+ const char * value);
+
+gboolean nm_supplicant_config_remove_option (NMSupplicantConfig *self,
+ const char * key);
+
+G_END_DECLS
+
+#endif /* NM_SUPPLICANT_CONFIG_H */