Repalcing libnet-client API with connection CAPI
[platform/core/location/geofence-server.git] / geofence-server / src / geofence_server.h
index 19a3044..7a6d811 100644 (file)
@@ -28,7 +28,7 @@
 #include <locations.h>
 #include <device/display.h>
 #include <device/callback.h>
-#include <network-wifi-intf.h>
+#include <net_connection.h>
 #include "geofence_server_data_types.h"
 
 #define PACKAGE_NAME   "geofence-server"
@@ -89,7 +89,7 @@ typedef void (*geofence_wifi_device_state_changed_cb)(wifi_manager_device_state_
  * @Param[in]   user_data       The user data to be returned
  * @see None.
  */
-typedef void (*geofence_network_event_cb)(net_event_info_t *event_cb, void *user_data);
+typedef void (*geofence_network_event_cb)(connection_type_e type, void* user_data);
 
 /**
  * @brief       BT Discovery status change callback