Sync with Tizen 2.4(v1.1.38)
[platform/core/connectivity/net-config.git] / include / wifi-eap-config.h
old mode 100644 (file)
new mode 100755 (executable)
index 95ae43e..d6489da
@@ -1,7 +1,7 @@
 /*
  * Network Configuration Module
  *
- * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd. All rights reserved.
+ * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. All rights reserved.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
  */
 
 #ifndef __NETCONFIG_WIFI_EAP_CONFIG_H__
-#define  __NETCONFIG_WIFI_EAP_CONFIG_H__
+#define __NETCONFIG_WIFI_EAP_CONFIG_H__
 
 #ifdef __cplusplus
 extern "C" {
@@ -26,24 +26,10 @@ extern "C" {
 
 #include "wifi.h"
 
-#define CONNMAN_STORAGEDIR "/var/lib/connman"
-
-#define CONNMAN_CONFIG_FIELD_TYPE "Type"
-#define CONNMAN_CONFIG_FIELD_NAME "Name"
-#define CONNMAN_CONFIG_FIELD_SSID "SSID"
-#define CONNMAN_CONFIG_FIELD_EAP_METHOD "EAP"
-#define CONNMAN_CONFIG_FIELD_IDENTITY "Identity"
-#define CONNMAN_CONFIG_FIELD_PASSPHRASE "Passphrase"
-#define CONNMAN_CONFIG_FIELD_PHASE2 "Phase2"
-#define CONNMAN_CONFIG_FIELD_CA_CERT_FILE "CACertFile"
-#define CONNMAN_CONFIG_FIELD_CLIENT_CERT_FILE "ClientCertFile"
-#define CONNMAN_CONFIG_FIELD_PVT_KEY_FILE "PrivateKeyFile"
-#define CONNMAN_CONFIG_FIELD_PVT_KEY_PASSPHRASE "PrivateKeyPassphrase"
-
-gboolean netconfig_iface_wifi_create_config(NetconfigWifi *wifi,
-               GHashTable *fields, GError **error);
-gboolean netconfig_iface_wifi_delete_config(NetconfigWifi *wifi,
-               gchar *profile, GError **error);
+gboolean handle_create_eap_config(Wifi *wifi, GDBusMethodInvocation *context,
+               const gchar *service, GVariant *fields);
+gboolean handle_delete_eap_config(Wifi *wifi, GDBusMethodInvocation *context,
+               const gchar *profile);
 
 #ifdef __cplusplus
 }