From fec1ffeb6efd27ce02ab4bc6982e6e3427219917 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Sun, 15 Oct 2006 02:03:49 +0000 Subject: [PATCH] update .indent.pro, and script to generate it git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3050 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- .indent.pro | 2 +- indent_options.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.indent.pro b/.indent.pro index a63c43b1ee..e688fe4492 100644 --- a/.indent.pro +++ b/.indent.pro @@ -1 +1 @@ --brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l120 -cs -T size_t -T pieces -T swtich_size_t -T switch_int16_t -T switch_size_t -T switch_file_t -T switch_thread_cond_t -T switch_thread_id_t -T switch_thread_t -T switch_threadattr_t -T switch_thread_start_t -T switch_socket_t -T switch_sockaddr_t -T switch_port_t -T switch_memory_pool_t -T switch_pollfd_t -T switch_pollset_t -T switch_time_t -T switch_interval_time_t -T switch_time_exp_t -T switch_hash_t -T switch_hash_index_t -T switch_strmatch_pattern -T switch_uuid_t -T switch_queue_t -T switch_thread_rwlock_t -T switch_mutex_t -T switch_channel_timetable -T __int8 -T __int16 -T __int32 -T __int64 -T int8_t -T int16_t -T int32_t -T int64_t -T long -T switch_core_db_t -T switch_core_db_stmt_t -T switch_byte_t -T switch_directories -T switch_payload_t -T switch_rtp -T switch_core_session_message -T switch_event_header -T switch_event -T switch_event_subclass -T switch_event_node -T switch_loadable_module -T switch_frame -T switch_channel -T switch_file_handle -T switch_core_session -T switch_caller_profile -T switch_caller_extension -T switch_caller_application -T switch_state_handler_table -T switch_timer -T switch_codec -T switch_core_thread_session -T switch_codec_implementation -T switch_buffer -T switch_codec_settings -T switch_config -T switch_io_event_hook_outgoing_channel -T switch_io_event_hook_answer_channel -T switch_io_event_hook_receive_message -T switch_io_event_hook_receive_event -T switch_io_event_hook_read_frame -T switch_io_event_hook_write_frame -T switch_io_event_hook_kill_channel -T switch_io_event_hook_waitfor_read -T switch_io_event_hook_waitfor_write -T switch_io_event_hook_send_dtmf -T switch_io_routines -T switch_io_event_hooks -T switch_speech_handle -T switch_directory_handle -T switch_loadable_module_interface -T switch_endpoint_interface -T switch_timer_interface -T switch_dialplan_interface -T switch_codec_interface -T switch_application_interface -T switch_api_interface -T switch_file_interface -T switch_speech_interface -T switch_directory_interface -T switch_core_port_allocator -T switch_media_bug -T switch_stream_handle -T switch_core_time_duration -T switch_log_node_t -T switch_audio_resampler_t -T switch_stun_message_t -T switch_stun_attribute_t -T switch_stun_error_t -T switch_stun_type_t -T switch_stun_packet_header_t -T switch_stun_packet_attribute_t -T switch_stun_packet_t -T switch_stun_ip_t -T switch_bitpack_mode_t -T switch_abc_type_t -T switch_bitpack_t -T switch_audio_col_t -T switch_xml_section_t -T switch_vad_flag_t -T switch_rtp_flag_t -T switch_priority_t -T switch_ivr_option_t -T switch_core_session_message_types_t -T switch_stack_t -T switch_status_t -T switch_log_level_t -T switch_text_channel_t -T switch_core_session_message_flag_t -T switch_channel_state_t -T switch_channel_flag_t -T switch_frame_flag_t -T switch_signal_t -T switch_codec_flag_t -T switch_speech_flag_t -T switch_directory_flag_t -T switch_codec_type_t -T switch_timer_flag_t -T switch_file_flag_t -T switch_io_flag_t -T switch_event_types_t -T switch_input_type_t -T switch_call_cause_t -T switch_session_ctl_t -T switch_xml_flag_t \ No newline at end of file +-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l120 -cs -T size_t -T pieces -T swtich_size_t -T switch_int16_t -T switch_size_t -T switch_file_t -T switch_thread_cond_t -T switch_thread_id_t -T switch_thread_t -T switch_threadattr_t -T switch_thread_start_t -T switch_socket_t -T switch_sockaddr_t -T switch_port_t -T switch_memory_pool_t -T switch_pollfd_t -T switch_pollset_t -T switch_time_t -T switch_interval_time_t -T switch_time_exp_t -T switch_hash_t -T switch_hash_index_t -T switch_strmatch_pattern -T switch_uuid_t -T switch_queue_t -T switch_thread_rwlock_t -T switch_mutex_t -T switch_channel_timetable_t -T __int8 -T __int16 -T __int32 -T __int64 -T int8_t -T int16_t -T int32_t -T int64_t -T long -T switch_core_db_t -T switch_core_db_stmt_t -T switch_byte_t -T switch_directories -T switch_payload_t -T switch_rtp_t -T switch_core_session_message_t -T switch_event_header_t -T switch_event_t -T switch_event_subclass_t -T switch_event_node_t -T switch_loadable_module_t -T switch_frame_t -T switch_channel_t -T switch_file_handle_t -T switch_core_session_t -T switch_caller_profile_t -T switch_caller_extension_t -T switch_caller_application_t -T switch_state_handler_table_t -T switch_timer_t -T switch_codec_t -T switch_core_thread_session_t -T switch_codec_implementation_t -T switch_buffer_t -T switch_codec_settings_t -T switch_config_t -T switch_io_event_hook_outgoing_channel_t -T switch_io_event_hook_answer_channel_t -T switch_io_event_hook_receive_message_t -T switch_io_event_hook_receive_event_t -T switch_io_event_hook_read_frame_t -T switch_io_event_hook_write_frame_t -T switch_io_event_hook_kill_channel_t -T switch_io_event_hook_waitfor_read_t -T switch_io_event_hook_waitfor_write_t -T switch_io_event_hook_send_dtmf_t -T switch_io_routines_t -T switch_io_event_hooks_t -T switch_speech_handle_t -T switch_directory_handle_t -T switch_loadable_module_interface_t -T switch_endpoint_interface_t -T switch_timer_interface_t -T switch_dialplan_interface_t -T switch_codec_interface_t -T switch_application_interface_t -T switch_api_interface_t -T switch_file_interface_t -T switch_speech_interface_t -T switch_directory_interface_t -T switch_core_port_allocator_t -T switch_media_bug_t -T switch_stream_handle_t -T switch_core_time_duration_t -T switch_log_node_t -T switch_audio_resampler_t -T switch_stun_message_t -T switch_stun_attribute_t -T switch_stun_error_t -T switch_stun_type_t -T switch_stun_packet_header_t -T switch_stun_packet_attribute_t -T switch_stun_packet_t -T switch_stun_ip_t -T switch_bitpack_mode_t -T switch_abc_type_t -T switch_bitpack_t -T switch_audio_col_t -T switch_xml_section_t -T switch_vad_flag_t -T switch_rtp_flag_t -T switch_priority_t -T switch_ivr_option_t -T switch_core_session_message_types_t -T switch_stack_t -T switch_status_t -T switch_log_level_t -T switch_text_channel_t -T switch_core_session_message_flag_t -T switch_channel_state_t -T switch_channel_flag_t -T switch_frame_flag_t -T switch_signal_t -T switch_codec_flag_t -T switch_speech_flag_t -T switch_directory_flag_t -T switch_codec_type_t -T switch_timer_flag_t -T switch_file_flag_t -T switch_io_flag_t -T switch_event_types_t -T switch_input_type_t -T switch_call_cause_t -T switch_session_ctl_t -T switch_xml_flag_t \ No newline at end of file diff --git a/indent_options.sh b/indent_options.sh index da67165ba4..35f27bfe88 100755 --- a/indent_options.sh +++ b/indent_options.sh @@ -1,4 +1,4 @@ #!/bin/bash echo -n "-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l120 -cs -T size_t " > .indent.pro -grep typedef src/include/*.h | grep switch_ | grep -v "\*\|{" | perl -ne '@l = split; $l[2] =~ s/;//g ; print "-T $l[2] "' >> .indent.pro +grep typedef src/include/*.h | grep switch_ | grep -v "\*\|{" | sed -e s/struct// | perl -ne '@l = split; $l[2] =~ s/;//g ; print "-T $l[2] "' >> .indent.pro grep "} switch_" src/include/*.h | perl -ne '@l = split; $l[1] =~ s/;//g ; print " -T $l[1] "' >> .indent.pro