From 941d57811be28b53cf9bd03402d3db89aad51f3d Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 17 Jul 2014 18:24:53 +0200 Subject: [PATCH] Blacklist some functions in the Python wrapper. --- tools/python/apixml2python.py | 70 +++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/tools/python/apixml2python.py b/tools/python/apixml2python.py index 53ce49119..7242ff43d 100755 --- a/tools/python/apixml2python.py +++ b/tools/python/apixml2python.py @@ -27,6 +27,76 @@ from apixml2python.linphone import LinphoneModule blacklisted_functions = [ + 'linphone_call_get_user_pointer', + 'linphone_call_set_user_pointer', + 'linphone_call_log_get_local_stats', + 'linphone_call_log_get_remote_stats', + 'linphone_call_log_get_start_date', + 'linphone_call_log_get_user_pointer', + 'linphone_call_log_set_user_pointer', + 'linphone_call_params_get_received_video_size', + 'linphone_call_params_get_privacy', + 'linphone_call_params_get_sent_video_size', + 'linphone_call_params_get_used_audio_codec', + 'linphone_call_params_get_used_video_codec', + 'linphone_call_params_set_privacy', + 'linphone_call_stats_get_late_packets_cumulative_number', + 'linphone_call_stats_get_receiver_interarrival_jitter', + 'linphone_call_stats_get_sender_interarrival_jitter', + 'linphone_chat_message_get_chat_room', + 'linphone_chat_message_get_file_transfer_information', + 'linphone_chat_message_get_time', + 'linphone_chat_message_state_to_string', + 'linphone_chat_room_create_file_transfer_message', + 'linphone_chat_room_create_message_2', + 'linphone_chat_room_send_message2', + 'linphone_core_can_we_add_call', + 'linphone_core_enable_payload_type', + 'linphone_core_find_payload_type', + 'linphone_core_get_audio_codecs', + 'linphone_core_get_auth_info_list', + 'linphone_core_get_call_logs', + 'linphone_core_get_calls', + 'linphone_core_get_chat_rooms', + 'linphone_core_get_default_proxy', + 'linphone_core_get_payload_type_bitrate', + 'linphone_core_get_preferred_video_size', + 'linphone_core_get_friend_list', + 'linphone_core_get_proxy_config_list', + 'linphone_core_get_sip_transports', + 'linphone_core_get_sip_transports_used', + 'linphone_core_get_supported_video_sizes', + 'linphone_core_get_video_codecs', + 'linphone_core_get_video_policy', + 'linphone_core_new', + 'linphone_core_new_with_config', + 'linphone_core_payload_type_enabled', + 'linphone_core_payload_type_is_vbr', + 'linphone_core_publish', + 'linphone_core_set_log_file', + 'linphone_core_set_log_handler', + 'linphone_core_set_log_level', + 'linphone_core_set_payload_type_bitrate', + 'linphone_core_set_preferred_video_size', + 'linphone_core_set_video_policy', + 'linphone_core_play_dtmf', + 'linphone_core_send_dtmf', + 'linphone_core_set_audio_codecs', + 'linphone_core_set_preview_video_size', + 'linphone_core_set_sip_transports', + 'linphone_core_subscribe', + 'linphone_event_notify', + 'linphone_event_send_publish', + 'linphone_event_send_subscribe', + 'linphone_event_update_publish', + 'linphone_event_update_subscribe', + 'linphone_presence_model_get_timestamp', + 'linphone_presence_model_set_timestamp', + 'linphone_proxy_config_get_privacy', + 'linphone_proxy_config_normalize_number', + 'linphone_proxy_config_set_file_transfer_server', + 'linphone_proxy_config_set_privacy', + 'linphone_tunnel_get_http_proxy', 'lp_config_for_each_entry', 'lp_config_for_each_section', 'lp_config_get_range',