Fix osp_server unregister issue
[platform/core/connectivity/bluetooth-frwk.git] / bt-service-adaptation / services / include / bt-service-common.h
index bb32986..db3596f 100644 (file)
@@ -406,10 +406,14 @@ int _bt_copy_utf8_string(char *dest, const char *src, unsigned int length);
 
 gboolean _bt_utf8_validate(char *name);
 
-int _bt_register_osp_server_in_agent(int type, char *uuid, char *path, int fd);
+int _bt_register_osp_server_in_agent(const char *sender, int type, char *uuid, char *path, int fd);
 
 int _bt_unregister_osp_server_in_agent(int type, char *uuid);
 
+int _bt_unregister_osp_server_in_agent_by_sender(const char *sender);
+
+void _bt_deinit_osp_server();
+
 int _bt_set_socket_non_blocking(int socket_fd);
 
 int _bt_set_non_blocking_tty(int sk);
@@ -430,8 +434,14 @@ void _bt_service_print_dev_info(bluetooth_device_info_t *dev_info);
 
 void _bt_free_remote_dev(bt_remote_dev_info_t * dev_info);
 
+void _bt_free_paired_dev(void * paired_info);
+
 void _bt_set_device_values(gboolean connected, int state);
 
+#ifdef TIZEN_FEATURE_READOUT_NOTIFICATION
+void _bt_set_readout_notification_of_tts(void);
+#endif
+
 void _bt_string_to_uuid(char *str, service_uuid_t *p_uuid);
 
 int _bt_get_ad_data_by_type(char *in_data, int in_len,