void wfd_asp_session_peer_ip(unsigned char *session_mac,
unsigned int session_id, unsigned char *service_mac,
unsigned char *session_ip);
+
#ifdef __cplusplus
}
#endif
#ifndef __WIFI_DIRECT_EVENT_H__
#define __WIFI_DIRECT_EVENT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void wfd_event_deactivated(wfd_oem_event_s *event);
void wfd_event_peer_found(wfd_oem_event_s *event);
void wfd_event_peer_disappeared(wfd_oem_event_s *event);
void wfd_event_asp_prov_done(wfd_oem_event_s *event);
void wfd_event_init(wfd_oem_event_cbs_s *event_cb);
+#ifdef __cplusplus
+}
+#endif
#endif /* __WIFI_DIRECT_EVENT_H__ */
#ifndef __WIFI_DIRECT_GROUP_H__
#define __WIFI_DIRECT_GROUP_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define IFACE_NAME_LEN 16
typedef enum {
int wfd_group_is_autonomous(wfd_group_s *group);
wfd_device_s *wfd_group_find_member_by_addr(wfd_group_s *group, unsigned char *addr);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_GROUP_H__ */
#ifndef __WIFI_DIRECT_IPC_H__
#define __WIFI_DIRECT_IPC_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "wifi-direct-error.h"
#define true 1
unsigned char go_mac_address[6];
} wfd_persistent_group_info_s;
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_IPC_H__ */
#ifndef __WIFI_DIRECT_LOG_H__
#define __WIFI_DIRECT_LOG_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef USE_DLOG
#include <dlog.h>
#define WDS_SECLOGD(format, args...)
#endif /* USE_DLOG */
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_LOG_H__ */
#ifndef __WIFI_DIRECT_MANAGER_H__
#define __WIFI_DIRECT_MANAGER_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define DEFAULT_IFNAME "p2p0"
#define GROUP_IFNAME "p2p0"
#define DEFAULT_PRIMARY_DEVICE_TYPE WIFI_DIRECT_PRIMARY_DEVICE_TYPE_TELEPHONE
void wfd_manager_remove_active_client(const char *name,
const gchar *old_owner,
const char *new_owner);
+#ifdef __cplusplus
+}
+#endif
#endif /* __WIFI_DIRECT_MANAGER_H__ */
#ifndef __WIFI_DIRECT_PEER_H__
#define __WIFI_DIRECT_PEER_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
wfd_device_s *wfd_add_peer(void *data, unsigned char *dev_addr, char *dev_name);
int wfd_remove_peer(void *data, unsigned char *dev_addr);
int wfd_peer_set_data(unsigned char *dev_addr, int type, int data);
#endif
wfd_device_s *wfd_peer_find_by_addr(void *data, unsigned char *addr);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_PEER_H__ */
#ifndef __WIFI_DIRECT_SERVICE_H__
#define __WIFI_DIRECT_SERVICE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum {
WFD_SERVICE_TYPE_ALL,
WFD_SERVICE_TYPE_BONJOUR,
int wfd_service_disc_cancel(int handle);
#endif
+#ifdef __cplusplus
+}
+#endif
#endif /* __WIFI_DIRECT_SERVICE_H__ */
#ifndef __WIFI_DIRECT_SESSION_H__
#define __WIFI_DIRECT_SESSION_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum {
SESSION_TYPE_NORMAL,
SESSION_TYPE_INVITE,
int wfd_session_asp_connect(wfd_session_s *session, int role);
int wfd_session_asp_persistent_connect(wfd_session_s *session, int persist_group_id);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_SESSION_H__ */
#ifndef __WIFI_DIRECT_STATE_H__
#define __WIFI_DIRECT_STATE_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
int wfd_state_set(wfd_manager_s *manager, int state);
int wfd_state_get(wfd_manager_s *manager, int *state);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_STATE_H__ */
#ifndef __WIFI_DIRECT_UTIL_H__
#define __WIFI_DIRECT_UTIL_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
#define IP2STR(a) (a)[0], (a)[1], (a)[2], (a)[3]
int wfd_util_ip_unset(const char *ifname);
gboolean wfd_util_is_remove_group_allowed(void);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_UTIL_H__ */
#ifndef __WIFI_DIRECT_OEM_H__
#define __WIFI_DIRECT_OEM_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define SUPPL_PLUGIN_PATH "/usr/lib/wifi-direct-plugin-wpasupplicant.so"
#define SUPPL_PLUGIN_64BIT_PATH "/usr/lib64/wifi-direct-plugin-wpasupplicant.so"
int wfd_oem_prd_init(wfd_oem_ops_s *ops);
#endif /* TIZEN_ENABLE_PRD */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WIFI_DIRECT_OEM_H__ */
Name: wifi-direct-manager
Summary: Wi-Fi Direct manger
-Version: 1.2.256
+Version: 1.2.257
Release: 1
Group: Network & Connectivity/Wireless
License: Apache-2.0
#ifndef __WFD_PLUGIN_LOG_H_
#define __WFD_PLUGIN_LOG_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef USE_DLOG
#include <dlog.h>
#endif /* USE_DLOG */
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WFD_PLUGIN_LOG_H_ */
#ifndef __WFD_PLUGIN_WPASUPPLICANT_H__
#define __WFD_PLUGIN_WPASUPPLICANT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
#define MAC2STR(a) (a)[0], (a)[1], (a)[2], (a)[3], (a)[4], (a)[5]
#define MACSTR "%02x:%02x:%02x:%02x:%02x:%02x"
int ws_get_vsie(wfd_oem_vsie_frames_e frame_id, char **vsie);
int ws_remove_vsie(wfd_oem_vsie_frames_e frame_id, const char *vsie);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WFD_PLUGIN_WPASUPPLICANT_H__ */
#ifndef __WFD_PLUGIN_WPASUPPLICANT_H__
#define __WFD_PLUGIN_WPASUPPLICANT_H__
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef USE_DLOG
#include <dlog.h>
int ws_get_vsie(wfd_oem_vsie_frames_e frame_id, char **vsie);
int ws_remove_vsie(wfd_oem_vsie_frames_e frame_id, const char *vsie);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __WFD_PLUGIN_WPASUPPLICANT_H__ */