Modified NOTICE file and license version
[apps/native/ug-wifi-direct.git] / ug-wifidirect / include / wfd_client.h
index 067fb08..9106398 100644 (file)
@@ -3,7 +3,7 @@
 *
 * Copyright 2012  Samsung Electronics Co., Ltd
 
-* Licensed under the Flora License, Version 1.0 (the "License");
+* Licensed under the Flora License, Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 
@@ -51,17 +51,26 @@ typedef enum {
 
 /**
  *     This function let the ug get wi-fi direct status from vconf
+ *     @return   If success, return the wfd status, else return -1
+ *     @param[in] void
+ */
+int wfd_get_vconf_status();
+
+/**
+ *     This function let the ug get device name from vconf
  *     @return   If success, return 0, else return -1
  *     @param[in] data the pointer to the main data structure
  */
-int wfd_get_vconf_status(void *data);
+int wfd_get_vconf_device_name(void *data);
 
+#ifndef MODEL_BUILD_FEATURE_WLAN_CONCURRENT_MODE
 /**
  *     This function let the ug turn wifi off
  *     @return   If success, return 0, else return -1
  *     @param[in] data the pointer to the main data structure
  */
 int wfd_wifi_off(void *data);
+#endif /* MODEL_BUILD_FEATURE_WLAN_CONCURRENT_MODE */
 
 /**
  *     This function let the ug turn AP on
@@ -84,6 +93,14 @@ int wfd_mobile_ap_off(void *data);
  */
 int init_wfd_client(void *data);
 
+
+/**
+ *     This function let the ug load wfd manager
+ *     @return   If success, return 0, else return -1
+ *     @param[in] data the pointer to the main data structure
+ */
+int launch_wifi_direct_manager(void *data);
+
 /**
  *     This function let the ug do de-initialization
  *     @return   If success, return 0, else return -1
@@ -140,4 +157,13 @@ int wfd_client_disconnect(const char *mac_addr);
  */
 int wfd_client_set_p2p_group_owner_intent(int go_intent);
 
+/**
+ *     This function let the ug destroy tethering
+ *     @return   void
+ *     @param[in] ugd the pointer to the main data structure
+ */
+void wfd_client_destroy_tethering(struct ug_data *ugd);
+
+void wfd_client_free_raw_discovered_peers(struct ug_data *ugd);
+
 #endif /* __WFD_CLIENT_H__ */