Remove UI Dependency for headless devices
[platform/core/connectivity/net-config.git] / include / util.h
index 908c737..2cce5ee 100755 (executable)
@@ -27,11 +27,8 @@ extern "C" {
 #include <glib.h>
 
 #include "wifi.h"
+#include "plugin.h"
 
-#define NETCONFIG_ADD_FOUND_AP_NOTI            "add_found_ap_noti"
-#define NETCONFIG_DEL_FOUND_AP_NOTI            "del_found_ap_noti"
-#define NETCONFIG_ADD_PORTAL_NOTI              "add_portal_noti"
-#define NETCONFIG_DEL_PORTAL_NOTI              "del_portal_noti"
 #define NETCONFIG_TIZEN_SYSTEM_ENV             "/run/tizen-system-env"
 
 #define MAX_SIZE_ERROR_BUFFER 256
@@ -71,7 +68,7 @@ int netconfig_send_message_to_net_popup(const char *title,
                const char *content, const char *type, const char *ssid);
 int netconfig_send_restriction_to_net_popup(const char *title,
                const char *type, const char *restriction);
-void netconfig_set_system_event(const char * sys_evt, const char * evt_key, const char * evt_val);
+void netconfig_set_system_event(int sys_evt, int evt_key, int evt_val);
 void netconfig_set_vconf_int(const char * key, int value);
 void netconfig_set_vconf_str(const char * key, const char * value);
 int netconfig_vconf_get_int(const char * key, int *value);
@@ -79,6 +76,11 @@ int netconfig_vconf_get_bool(const char * key, int *value);
 char* netconfig_get_env(const char *key);
 void netconfig_set_mac_address_from_file(void);
 
+void __netconfig_pop_wifi_connected_poppup(const char *ssid);
+void netconfig_plugin_init();
+void netconfig_plugin_deinit();
+gboolean netconfig_get_headed_plugin_flag();
+
 #ifdef __cplusplus
 }
 #endif