*/
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Application Service Platform (ASP) error code.
* @since_tizen 4.0
*/
} asp_error_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Advertise Status event reason.
* @since_tizen 4.0
*/
} asp_advert_status_reason_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for the Wi-Fi P2P role assignment scheme.
* @since_tizen 4.0
* @see asp_advert_set_p2p_role_scheme()
} asp_advert_p2p_role_scheme_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for service discovery mechanism.
* @since_tizen 4.0
* @see asp_advert_set_discovery_tech()
} asp_discovery_tech_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Wi-Fi WPS type.
* @see asp_advert_set_p2p_config_method()
* @see asp_advert_get_p2p_config_method()
} asp_wps_type_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Application Service Platform (ASP) Session connect status.
* @since_tizen 4.0
*/
} asp_connect_status_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Application Service Platform (ASP) general session state.
* @since_tizen 4.0
*/
} asp_session_state_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Application Service Platform (ASP) session close status.
* @since_tizen 4.0
*/
} asp_session_close_status_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for Application Service Platform (ASP) port status.
* @since_tizen 4.0
*/
} asp_port_status_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief Enumeration for service status.
* @since_tizen 4.0
*/
} asp_service_status_e;
/**
+ * @deprecated Deprecated since 9.0
* @brief The advertised service description.
* @since_tizen 4.0
*/
typedef void *asp_advert_service_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief The searching service description.
* @since_tizen 4.0
*/
typedef void *asp_seek_service_h;
/**
+ * @deprecated Deprecated since 9.0
* @brief The Application Service Platform (ASP) session description.
* @since_tizen 4.0
*/
typedef void *asp_session_h;
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the Application Service Platform (ASP) Service is found.
* @since_tizen 4.0
* @remarks @a service_mac, @a instance_name and @a service_info are valid only in the callback.
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the status of an advertisement to a service is changed.
* @since_tizen 4.0
* @param[in] adv_service The service whose status has changed;
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when a remote device is attempting to initiate an ASP session.
* @since_tizen 4.0
* @remarks @a network_config_pin, @a device_name and @a info are valid only in the callback.
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the Application Service Platform (ASP) has to provide
* a PIN value or collect a PIN value.
* @since_tizen 4.0
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the Application Service Platform (ASP) reports progress on group formation.
* @since_tizen 4.0
* @remarks @a deferred_resp is valid only in the callback.
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the Application Service Platform (ASP) reports the state and status of an ASP session.
* @since_tizen 4.0
* @remarks @a additional_info is valid only in the callback.
void *user_data);
/**
+* @deprecated Deprecated since 9.0
* @brief Called when the Application Service Platform (ASP) reports the status of the network port on the local and remote end of the ASP session.
* @since_tizen 4.0
* @remarks @a ip_address is valid only in the callback.
void *user_data);
/**
+ * @deprecated Deprecated since 9.0
* @brief Initializes Application Service Platform (ASP).
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value.
* @retval #ASP_ERROR_OPERATION_FAILED Operation failed
* @see asp_deinitialize()
*/
-int asp_initialize(void);
+int asp_initialize(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Deinitializes Application Service Platform (ASP).
* @since_tizen 4.0
* @privlevel public
* @pre Application Service Platform (ASP) must be initialized by asp_initialize().
* @see asp_initialize()
*/
-int asp_deinitialize(void);
+int asp_deinitialize(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback function that will be invoked when a service found.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_seek_unset_search_result_cb()
* @see asp_seek_start()
*/
-int asp_seek_set_search_result_cb(asp_seek_search_result_cb cb, void *user_data);
+int asp_seek_set_search_result_cb(asp_seek_search_result_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback function that will invoked when a service found.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_seek_set_search_result_cb()
*/
-int asp_seek_unset_search_result_cb(void);
+int asp_seek_unset_search_result_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback function that will invoked when the status of an advertisement to a service is changed.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_advert_start_advertising()
*/
int asp_advert_set_status_changed_cb(asp_advert_status_changed_cb cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback function that will invoked when the status of an advertisement to a service is changed.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_advert_set_status_changed_cb()
*/
-int asp_advert_unset_status_changed_cb(void);
+int asp_advert_unset_status_changed_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback called when ASP session connection is requested.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_initialize()
* @see asp_session_unset_request_cb()
*/
-int asp_session_set_request_cb(asp_session_request_cb cb, void *user_data);
+int asp_session_set_request_cb(asp_session_request_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback called ASP when session connection is requested.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_session_set_request_cb()
*/
-int asp_session_unset_request_cb(void);
+int asp_session_unset_request_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback called when the session configuration is requested.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_session_config_request_cb()
*/
int asp_session_set_config_request_cb(asp_session_config_request_cb cb,
- void *user_data);
+ void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback called when the session configuration is requested.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_session_config_request_cb()
*/
-int asp_session_unset_config_request_cb(void);
+int asp_session_unset_config_request_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback called when the state of the session connection is changed.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_session_unset_connect_status_cb()
* @see asp_session_connect_status_cb()
*/
-int asp_session_set_connect_status_cb(asp_session_connect_status_cb cb, void *user_data);
+int asp_session_set_connect_status_cb(asp_session_connect_status_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback called when the state of the session connection is changed.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_session_set_connect_status_cb()
*/
-int asp_session_unset_connect_status_cb(void);
+int asp_session_unset_connect_status_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback called when the state of the session is changed.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_session_unset_status_cb()
* @see asp_session_status_cb()
*/
-int asp_session_set_status_cb(asp_session_status_cb cb, void *user_data);
+int asp_session_set_status_cb(asp_session_status_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback called when the state of the session is changed.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_session_set_status_cb()
*/
-int asp_session_unset_status_cb(void);
+int asp_session_unset_status_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Registers the callback called when the state of the port is changed.
* @since_tizen 4.0
* @param[in] cb The callback function to invoke
* @see asp_initialize()
* @see asp_session_unset_status_cb()
*/
-int asp_session_set_port_status_cb(asp_session_port_status_cb cb, void *user_data);
+int asp_session_set_port_status_cb(asp_session_port_status_cb cb, void *user_data) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Unregisters the callback called when the state of the port is changed.
* @since_tizen 4.0
* @return 0 on success, otherwise a negative error value
* @see asp_initialize()
* @see asp_session_set_port_status_cb()
*/
-int asp_session_unset_port_status_cb(void);
+int asp_session_unset_port_status_cb(void) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates the description of a service to be advertised.
* @since_tizen 4.0
* @remarks The @a adv_service should be released using asp_advert_destroy().
* @pre Application Service Platform (ASP) must be initialized by asp_initialize().
* @see asp_advert_destroy()
*/
-int asp_advert_create(char *instance_name, asp_advert_service_h *adv_service);
+int asp_advert_create(char *instance_name, asp_advert_service_h *adv_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys the description of a service to be advertised.
* @details If asp_advert_start_advertising() was called for a service,
* asp_advert_stop_advertising() should be called for it before destroying it.
* @pre This API needs asp_advert_create() before use
* @see asp_advert_create()
*/
-int asp_advert_destroy(asp_advert_service_h adv_service);
+int asp_advert_destroy(asp_advert_service_h adv_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the service type for a service to be advertised.
* @details Application should set service type after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_service_type(asp_advert_service_h adv_service,
- char *service_type);
+ char *service_type) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets auto accept for a service to be advertised.
* @details Application should set service auto accept after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_auto_accept(asp_advert_service_h adv_service,
- bool auto_accept);
+ bool auto_accept) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the information for a service to be advertised.
* @details Application should set service information after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_add_info(asp_advert_service_h adv_service,
- const char *key, const char *value);
+ const char *key, const char *value) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the information for a service to be advertised.
* @details Application should set service information after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_get_info(asp_advert_service_h adv_service, const char *key,
- int *length, char **value);
+ int *length, char **value) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the information for a service to be advertised.
* @details Application should set service information after creating service using
* asp_advert_create() and before advertising service using
* @pre This API needs asp_advert_create() before use
* @see asp_advert_create()
*/
-int asp_advert_remove_info(asp_advert_service_h adv_service, const char *key);
+int asp_advert_remove_info(asp_advert_service_h adv_service, const char *key) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the status for a service to be advertised.
* @details Application should set service status after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_status(asp_advert_service_h adv_service,
- unsigned char status);
+ unsigned char status) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the discovery mechanism for a service to be advertised.
* @details Application should set discovery mechanism after creating service using
* asp_advert_create() and before advertising service using
* @pre This API needs asp_advert_create() before use
* @see asp_advert_create()
*/
-int asp_advert_set_discovery_tech(asp_advert_service_h adv_service, int discovery_tech);
+int asp_advert_set_discovery_tech(asp_advert_service_h adv_service, int discovery_tech) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the preferred connection for a service to be advertised.
* @details Application should set preferred connection after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_preferred_connection(asp_advert_service_h adv_service,
- unsigned char preferred_connection);
+ unsigned char preferred_connection) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the Wi-Fi P2P role for a service to be advertised.
* @details Application should set role after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_p2p_role_scheme(asp_advert_service_h adv_service,
- asp_advert_p2p_role_scheme_e role);
+ asp_advert_p2p_role_scheme_e role) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the Wi-Fi P2P role for a service to be advertised.
* @details Application should Get role after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_get_p2p_role_scheme(asp_advert_service_h adv_service,
- asp_advert_p2p_role_scheme_e *role);
+ asp_advert_p2p_role_scheme_e *role) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the P2P configuration method for a service to be advertised.
* @details Application should set configuration method after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_p2p_config_method(asp_advert_service_h adv_service,
- asp_wps_type_e config_method);
+ asp_wps_type_e config_method) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the P2P configuration method for a service to be advertised.
* @details Application should Get configuration method after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_get_p2p_config_method(asp_advert_service_h adv_service,
- asp_wps_type_e *config_method);
+ asp_wps_type_e *config_method) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the service response for an advertised service.
* @details Application should set service response after creating service using
* asp_advert_create() and before advertising service using
* @see asp_advert_create()
*/
int asp_advert_set_p2p_response(asp_advert_service_h adv_service,
- char *rsp_info, int length);
+ char *rsp_info, int length) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Starts to advertise a service.
* @details Application should start to advertise after creating service using
* asp_advert_create(). If the service is being advertised, no changes can be made to it.
* @see asp_advert_create()
* @see asp_advert_stop_advertising()
*/
-int asp_advert_start_advertising(asp_advert_service_h adv_service);
+int asp_advert_start_advertising(asp_advert_service_h adv_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Stops a service advertisement.
* @details Application should cancel to advertise after advertising service using
* asp_advert_start_advertising().
* @pre This API needs asp_advert_start_advertising() before use
* @see asp_advert_start_advertising()
*/
-int asp_advert_stop_advertising(asp_advert_service_h adv_service);
+int asp_advert_stop_advertising(asp_advert_service_h adv_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Changes the advertising service status.
* @details Application should change the advertising service
* status after advertising service using asp_advert_start_advertising().
* @see asp_advert_start_advertising()
*/
int asp_advert_change_service_status(asp_advert_service_h adv_service,
- unsigned char status);
+ unsigned char status) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates the description of a seek operation.
* @remarks The @a seek_service should be released using asp_seek_destroy().
* @since_tizen 4.0
* @pre Application Service Platform (ASP) must be initialized by asp_initialize().
* @see asp_seek_destroy()
*/
-int asp_seek_create(char *service_type, asp_seek_service_h *seek_service);
+int asp_seek_create(char *service_type, asp_seek_service_h *seek_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys the description of a seek operation.
* @details If asp_seek_start() was called for a service,
* asp_seek_stop() should be called for it before destroying it.
* @pre A seek service handle must be created with asp_seek_create().
* @see asp_seek_create
*/
-int asp_seek_destroy(asp_seek_service_h seek_service);
+int asp_seek_destroy(asp_seek_service_h seek_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Adds the information for a service to be sought.
* @details Application should set service information after creating service using
* asp_seek_create() and before seeking service using asp_seek_start().
* @pre This API needs asp_seek_create() before use
* @see asp_seek_create()
*/
-int asp_seek_add_info(asp_seek_service_h seek_service, const char *key);
+int asp_seek_add_info(asp_seek_service_h seek_service, const char *key) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Removes the information for a service to be sought.
* @details Application should set service information after creating service using
* asp_seek_create() and before seeking service using asp_seek_start().
* @pre This API needs asp_seek_create() before use
* @see asp_seek_create()
*/
-int asp_seek_remove_info(asp_seek_service_h seek_service, const char *key);
+int asp_seek_remove_info(asp_seek_service_h seek_service, const char *key) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the discovery mechanism for a service to be sought.
* @details Application should set service information after creating service using
* asp_seek_create() and before seeking service using asp_seek_start().
* @pre This API needs asp_seek_create() before use
* @see asp_seek_create()
*/
-int asp_seek_set_discovery_tech(asp_seek_service_h seek_service, int discovery_tech);
+int asp_seek_set_discovery_tech(asp_seek_service_h seek_service, int discovery_tech) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the preferred connection for a service to be sought.
* @details Application should set service information after creating service using
* asp_seek_create() and before seeking service using asp_seek_start().
* @see asp_seek_create()
*/
int asp_seek_set_preferred_connection(asp_seek_service_h seek_service,
- unsigned char preferred_connection);
+ unsigned char preferred_connection) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Starts to seek services on peer devices.
* @details If the service is currently seeking, no changes can be made to it.
* @since_tizen 4.0
* @see asp_seek_create()
* @see asp_seek_stop()
*/
-int asp_seek_start(asp_seek_service_h seek_service);
+int asp_seek_start(asp_seek_service_h seek_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Stops seeking services.
* @details Application should cancel to seek service after searching service using
* asp_seek_start().
* @pre A seek service handle must be created with asp_seek_create().
* @see asp_seek_start()
*/
-int asp_seek_stop(asp_seek_service_h seek_service);
+int asp_seek_stop(asp_seek_service_h seek_service) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Creates a local Application Service Platform (ASP) session.
* @since_tizen 4.0
* @remarks The @a session should be released using asp_session_destroy().
* @see asp_session_destroy()
*/
int asp_session_create(char *service_mac, unsigned int adv_id,
- asp_session_h *session);
+ asp_session_h *session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Destroys a local Application Service Platform (ASP) session.
* @details Application should create session by asp_session_create().
* @since_tizen 4.0
* @pre This API needs asp_session_create() before use.
* @see asp_session_create()
*/
-int asp_session_destroy(asp_session_h session);
+int asp_session_destroy(asp_session_h session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the session MAC for an Application Service Platform session.
* @details Application should request to connect session by
* asp_session_connect() or receive request by asp_session_request_cb().
* @see asp_session_connect()
* @see asp_session_request_cb()
*/
-int asp_session_get_mac(asp_session_h session, char **session_mac);
+int asp_session_get_mac(asp_session_h session, char **session_mac) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the ID of an Application Service Platform session.
* @details Application should create local session by
* asp_session_create() or receive request by asp_session_request_cb().
* @see asp_session_create()
* @see asp_session_request_cb()
*/
-int asp_session_get_id(asp_session_h session, unsigned int *session_id);
+int asp_session_get_id(asp_session_h session, unsigned int *session_id) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the information for an Application Service Platform session.
* @details Application should set session_info after creating session by
* asp_session_create() and before requesting to connect
* @pre This API needs asp_session_create() before use.
* @see asp_session_create()
*/
-int asp_session_set_info(asp_session_h session, char *session_info);
+int asp_session_set_info(asp_session_h session, char *session_info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the information for an Application Service Platform session.
* @details Application should get session_info after creating session by
* asp_session_create() and before requesting to connect
* @pre This API needs asp_session_create() before use.
* @see asp_session_create()
*/
-int asp_session_get_info(asp_session_h session, char **session_info);
+int asp_session_get_info(asp_session_h session, char **session_info) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the Wi-Fi Direct group role in session.
* @details Application should set role after creating session by
* asp_session_create() and before requesting to connect
* @see asp_session_create()
*/
int asp_session_set_p2p_role_scheme(asp_session_h session,
- asp_advert_p2p_role_scheme_e role);
+ asp_advert_p2p_role_scheme_e role) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the Wi-Fi Direct group role in session.
* @since_tizen 4.0
* @param[in] session Application Service Platform session descriptor handle
* @see asp_session_create()
*/
int asp_session_get_p2p_role_scheme(asp_session_h session,
- asp_advert_p2p_role_scheme_e *role);
+ asp_advert_p2p_role_scheme_e *role) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Sets the Preferred WSC Configuration method.
* @details Application should set the config method after creating session by
* asp_session_create() and before requesting to connect
* @see asp_session_create()
*/
int asp_session_set_p2p_config_method(asp_session_h session,
- asp_wps_type_e config_method);
+ asp_wps_type_e config_method) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the Preferred WSC Configuration method.
* @since_tizen 4.0
* @param[in] session Application Service Platform session descriptor handle
* @see asp_session_create()
*/
int asp_session_get_p2p_config_method(asp_session_h session,
- asp_wps_type_e *config_method);
+ asp_wps_type_e *config_method) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the session close status.
* @details This call is valid only for closed sessions (sessions in the #ASP_SESSION_STATE_CLOSED
* state). If the @a session does not identify a closed session,
* @retval #ASP_ERROR_NOT_INITIALIZED Not initialized
* @retval #ASP_ERROR_SESSION_NOT_FOUND Session not found
*/
-int asp_session_get_close_status(asp_session_h session, int *status);
+int asp_session_get_close_status(asp_session_h session, int *status) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Starts to connect the Application Service Platform session.
* @since_tizen 4.0
* @privlevel public
* @pre This API needs asp_session_create() before use.
* @see asp_session_create()
*/
-int asp_session_connect(asp_session_h session);
+int asp_session_connect(asp_session_h session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Confirms the Application Service Platform(ASP) session request.
* @since_tizen 4.0
* @privlevel public
* @see asp_advert_start_advertising()
* @see asp_session_create()
*/
-int asp_session_confirm(asp_session_h session, bool confirmed, char *pin);
+int asp_session_confirm(asp_session_h session, bool confirmed, char *pin) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Gets the Description of Application Service Platform (ASP) session to be connected.
* @since_tizen 4.0
* @param[in] session_mac The MAC address of the P2P device that assigned
* @see asp_session_create()
*/
int asp_session_get_handle(char *session_mac, unsigned int session_id,
- asp_session_h *session);
+ asp_session_h *session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Moves an Application Service Platform (ASP) session from Requested state to the Open state.
* @since_tizen 4.0
* @param[in] session ASP session descriptor handle provided by
* asp_advert_start_advertising()
* @see asp_advert_start_advertising()
*/
-int asp_session_set_state_ready(asp_session_h session);
+int asp_session_set_state_ready(asp_session_h session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Ends an Application Service Platform (ASP) session and releases associated resources.
* @details The ASP may tear down the underlying ASP P2P group
* if not other ASP sessions are using it.
* @see asp_session_create()
* @see asp_session_request_cb()
*/
-int asp_session_close(asp_session_h session);
+int asp_session_close(asp_session_h session) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Requests that incoming connections be allowed on a given port.
* @since_tizen 4.0
* @param[in] session ASP session descriptor handle provided by
* @see asp_session_request_cb()
*/
int asp_session_bind_port(asp_session_h session, char *ip_address,
- int port, int proto);
+ int port, int proto) TIZEN_DEPRECATED_API;
/**
+ * @deprecated Deprecated since 9.0
* @brief Indicates that the service is no longer utilizing the port in the ASP session.
* @since_tizen 4.0
* @param[in] session ASP session descriptor handle provided by
* @see asp_session_request_cb()
*/
int asp_session_release_port(asp_session_h session, char *ip_address,
- int port, int proto);
+ int port, int proto) TIZEN_DEPRECATED_API;
/**
* @}
//LCOV_EXCL_STOP
int asp_initialize(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_initialize() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_deinitialize(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_deinitialize() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
}
int asp_seek_set_search_result_cb(asp_seek_search_result_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_set_search_result_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_seek_unset_search_result_cb(void)
{
+
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_unset_search_result_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_status_changed_cb(asp_advert_status_changed_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_status_changed_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_unset_status_changed_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_unset_status_changed_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_set_request_cb(asp_session_request_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_request_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_unset_request_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_unset_request_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_set_config_request_cb(asp_session_config_request_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_config_request_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_unset_config_request_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_unset_config_request_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_set_connect_status_cb(asp_session_connect_status_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_connect_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_unset_connect_status_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_unset_connect_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_set_status_cb(asp_session_status_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_unset_status_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_unset_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_set_port_status_cb(asp_session_port_status_cb cb, void *user_data)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_port_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_session_unset_port_status_cb(void)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_unset_port_status_cb() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_create(char *instance_name, asp_advert_service_h *adv_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_create() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
int res = ASP_ERROR_NONE;
int asp_advert_destroy(asp_advert_service_h adv_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_destroy() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_service_type(asp_advert_service_h adv_service,
char *service_type)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_service_type() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_auto_accept(asp_advert_service_h adv_service,
bool auto_accept)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_auto_accept() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_add_info(asp_advert_service_h adv_service,
const char *key, const char *value)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_add_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_get_info(asp_advert_service_h adv_service, const char *key,
int *length, char **value)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_get_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
char *ret_val = NULL;
int asp_advert_remove_info(asp_advert_service_h adv_service, const char *key)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_remove_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_status(asp_advert_service_h adv_service,
unsigned char status)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_status() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_discovery_tech(asp_advert_service_h adv_service, int discovery_tech)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_discovery_tech() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_preferred_connection(asp_advert_service_h adv_service,
unsigned char preferred_connection)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_preferred_connection() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_p2p_role_scheme(asp_advert_service_h adv_service,
asp_advert_p2p_role_scheme_e role)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_p2p_role_scheme() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_get_p2p_role_scheme(asp_advert_service_h adv_service,
asp_advert_p2p_role_scheme_e *role)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_get_p2p_role_scheme() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_p2p_config_method(asp_advert_service_h adv_service,
asp_wps_type_e config_method)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_p2p_config_method() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_get_p2p_config_method(asp_advert_service_h adv_service,
asp_wps_type_e *config_method)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_get_p2p_config_method() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_advert_set_p2p_response(asp_advert_service_h adv_service,
char *rsp_info, int length)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_set_p2p_response() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
char *info = NULL;
int asp_advert_start_advertising(asp_advert_service_h adv_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_start_advertising() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
GVariantBuilder *builder = NULL;
int asp_advert_stop_advertising(asp_advert_service_h adv_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_stop_advertising() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
GVariant *params = NULL;
int asp_advert_change_service_status(asp_advert_service_h adv_service,
unsigned char status)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_advert_change_service_status() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
GVariantBuilder *builder = NULL;
int asp_seek_create(char *service_type, asp_seek_service_h *seek_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_create() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
int res = ASP_ERROR_NONE;
int asp_seek_destroy(asp_seek_service_h seek_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_destroy() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_seek_add_info(asp_seek_service_h seek_service, const char *key)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_add_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
int res = ASP_ERROR_NONE;
int asp_seek_remove_info(asp_seek_service_h seek_service, const char *key)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_remove_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
int res = ASP_ERROR_NONE;
int asp_seek_set_discovery_tech(asp_seek_service_h seek_service, int discovery_tech)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_set_discovery_tech() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_seek_set_preferred_connection(asp_seek_service_h seek_service,
unsigned char preferred_connection)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_set_preferred_connection() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
int asp_seek_start(asp_seek_service_h seek_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_start() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
GVariantBuilder *builder = NULL;
int asp_seek_stop(asp_seek_service_h seek_service)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_seek_stop() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
GVariant *params = NULL;
int asp_session_create(char *service_mac, unsigned int adv_id, asp_session_h* session)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_create() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_destroy(asp_session_h session)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_destroy() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_mac(asp_session_h session, char **session_mac)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_mac() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_id(asp_session_h session, unsigned int *session_id)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_id() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_set_info(asp_session_h session, char *service_info)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_info(asp_session_h session, char **service_info)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_info() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_set_p2p_role_scheme(asp_session_h session,
asp_advert_p2p_role_scheme_e role)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_p2p_role_scheme() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_p2p_role_scheme(asp_session_h session,
asp_advert_p2p_role_scheme_e *role)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_p2p_role_scheme() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_set_p2p_config_method(asp_session_h session,
asp_wps_type_e config_method)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_p2p_config_method() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_p2p_config_method(asp_session_h session,
asp_wps_type_e *config_method)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_p2p_config_method() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_get_close_status(asp_session_h session, int *status)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_close_status() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_connect(asp_session_h session)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_connect() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_confirm(asp_session_h session, bool confirmed, char *pin)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_confirm() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
asp_session_h *session)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_get_handle() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
}
int asp_session_set_state_ready(asp_session_h session)
-
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_set_state_ready() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_close(asp_session_h session)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_close() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_bind_port(asp_session_h session, char *ip_address,
int port, int proto)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_bind_port() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);
int asp_session_release_port(asp_session_h session, char *ip_address,
int port, int proto)
{
+ ASP_LOGW("DEPRECATION WARNING: asp_session_release_port() is deprecated and will be removed from next release.");
__ASP_LOG_FUNC_START__;
CHECK_FEATURE_SUPPORTED(TIZEN_FEATURE_ASP);
RET_ERR_IF_NOT_INITIALIZED(__ASP_LOG_FUNC_END__);