From 44649c70b44256e3e9bc5cd8c40172e511c466ba Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 27 Nov 2006 22:30:48 +0000 Subject: [PATCH] Add magic comments for emacs and vi in source and header files to properly format and display tabs vs. spaces in those editors: /* For Emacs: * Local Variables: * mode:c * indent-tabs-mode:nil * tab-width:4 * c-basic-offset:4 * End: * For VIM: * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: */ git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3462 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libdingaling/src/ldl_compat.h | 11 +++++++++++ libs/libdingaling/src/libdingaling.c | 11 ++++++++++- libs/libdingaling/src/libdingaling.h | 11 +++++++++++ libs/libdingaling/src/sha1.c | 11 ++++++++++- libs/libteletone/src/libteletone.h | 11 +++++++++++ libs/libteletone/src/libteletone_detect.c | 10 ++++++++++ libs/libteletone/src/libteletone_detect.h | 11 +++++++++++ libs/libteletone/src/libteletone_generate.c | 11 +++++++++++ libs/libteletone/src/libteletone_generate.h | 11 +++++++++++ src/include/switch.h | 11 +++++++++++ src/include/switch_apr.h | 11 +++++++++++ src/include/switch_bitpack.h | 11 +++++++++++ src/include/switch_buffer.h | 11 +++++++++++ src/include/switch_caller.h | 11 ++++++++++- src/include/switch_channel.h | 11 +++++++++++ src/include/switch_config.h | 11 +++++++++++ src/include/switch_console.h | 11 +++++++++++ src/include/switch_core.h | 11 +++++++++++ src/include/switch_event.h | 11 +++++++++++ src/include/switch_frame.h | 11 +++++++++++ src/include/switch_ivr.h | 11 ++++++++++- src/include/switch_loadable_module.h | 11 +++++++++++ src/include/switch_log.h | 11 +++++++++++ src/include/switch_module_interfaces.h | 11 +++++++++++ src/include/switch_platform.h | 11 +++++++++++ src/include/switch_resample.h | 11 ++++++++++- src/include/switch_rtp.h | 11 +++++++++++ src/include/switch_sqlite.h | 11 +++++++++++ src/include/switch_stun.h | 11 +++++++++++ src/include/switch_types.h | 11 +++++++++++ src/include/switch_utils.h | 11 +++++++++++ src/include/switch_xml.h | 11 +++++++++++ .../applications/mod_bridgecall/mod_bridgecall.c | 11 +++++++++++ src/mod/applications/mod_commands/mod_commands.c | 11 +++++++++++ .../applications/mod_conference/mod_conference.c | 11 +++++++++++ src/mod/applications/mod_dptools/mod_dptools.c | 11 +++++++++++ src/mod/applications/mod_echo/mod_echo.c | 11 +++++++++++ src/mod/applications/mod_ivrtest/mod_ivrtest.c | 11 +++++++++++ src/mod/applications/mod_park/mod_park.c | 11 +++++++++++ src/mod/applications/mod_playback/mod_playback.c | 11 +++++++++++ src/mod/applications/mod_rss/mod_rss.c | 10 ++++++++++ src/mod/applications/mod_skel/mod_skel.c | 11 +++++++++++ src/mod/asr_tts/mod_cepstral/mod_cepstral.c | 11 +++++++++++ src/mod/codecs/mod_g711/mod_g711.c | 11 +++++++++++ src/mod/codecs/mod_g722/mod_g722.c | 11 +++++++++++ src/mod/codecs/mod_g723_1/mod_g723_1.c | 11 +++++++++++ src/mod/codecs/mod_g726/mod_g726.c | 11 +++++++++++ src/mod/codecs/mod_g729/mod_g729.c | 11 +++++++++++ src/mod/codecs/mod_gsm/mod_gsm.c | 11 ++++++++++- src/mod/codecs/mod_ilbc/mod_ilbc.c | 16 ++++++++++------ src/mod/codecs/mod_l16/mod_l16.c | 11 +++++++++++ src/mod/codecs/mod_lpc10/mod_lpc10.c | 11 +++++++++++ src/mod/codecs/mod_speex/mod_speex.c | 11 +++++++++++ .../mod_dialplan_directory.c | 11 +++++++++++ .../mod_dialplan_xml/mod_dialplan_xml.c | 11 +++++++++++ src/mod/directories/mod_ldap/mod_ldap.c | 11 +++++++++++ src/mod/endpoints/mod_dingaling/mod_dingaling.c | 10 ++++++++++ src/mod/endpoints/mod_iax/mod_iax.c | 11 +++++++++++ src/mod/endpoints/mod_portaudio/mod_portaudio.c | 11 +++++++++++ src/mod/endpoints/mod_sofia/mod_sofia.c | 11 +++++++++++ src/mod/endpoints/mod_wanpipe/mod_wanpipe.c | 12 ++++++++++-- src/mod/endpoints/mod_woomera/mod_woomera.c | 11 +++++++++++ src/mod/event_handlers/mod_cdr/basecdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/basecdr.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/baseregistry.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/baseregistry.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/cdrcontainer.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/cdrcontainer.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/csvcdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/csvcdr.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/mod_cdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/mysqlcdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/mysqlcdr.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/pddcdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/pddcdr.h | 11 +++++++++++ src/mod/event_handlers/mod_cdr/xmlcdr.cpp | 11 +++++++++++ src/mod/event_handlers/mod_cdr/xmlcdr.h | 11 +++++++++++ .../mod_event_multicast/mod_event_multicast.c | 12 ++++++++++-- .../mod_event_socket/mod_event_socket.c | 12 ++++++++++-- .../mod_event_test/mod_event_test.c | 11 +++++++++++ .../mod_xmpp_event/mod_xmpp_event.c | 11 +++++++++++ .../event_handlers/mod_zeroconf/mod_zeroconf.c | 11 +++++++++++ .../formats/mod_native_file/mod_native_file.c | 11 +++++++++++ src/mod/formats/mod_sndfile/mod_sndfile.c | 11 +++++++++++ src/mod/languages/mod_mono/mod_mono.c | 11 +++++++++++ src/mod/languages/mod_perl/mod_perl.c | 11 +++++++++++ src/mod/languages/mod_php/mod_php.c | 11 +++++++++++ src/mod/languages/mod_php/php_freeswitch.h | 11 +++++++++++ src/mod/languages/mod_python/mod_python.c | 11 +++++++++++ src/mod/languages/mod_ruby/mod_ruby.c | 11 +++++++++++ .../mod_spidermonkey/mod_spidermonkey.c | 11 +++++++++++ .../mod_spidermonkey_core_db.c | 11 +++++++++++ .../mod_spidermonkey_skel.c | 11 +++++++++++ .../mod_spidermonkey_teletone.c | 11 +++++++++++ src/mod/loggers/mod_console/mod_console.c | 10 ++++++++++ src/mod/loggers/mod_syslog/mod_syslog.c | 10 ++++++++++ src/mod/timers/mod_softtimer/mod_softtimer.c | 11 +++++++++++ src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 10 ++++++++++ src/switch.c | 11 +++++++++++ src/switch_buffer.c | 11 +++++++++++ src/switch_caller.c | 11 +++++++++++ src/switch_channel.c | 11 +++++++++++ src/switch_config.c | 11 +++++++++++ src/switch_console.c | 11 +++++++++++ src/switch_core.c | 11 +++++++++++ src/switch_event.c | 11 +++++++++++ src/switch_ivr.c | 11 +++++++++++ src/switch_loadable_module.c | 11 +++++++++++ src/switch_log.c | 10 ++++++++++ src/switch_resample.c | 10 ++++++++++ src/switch_rtp.c | 11 +++++++++++ src/switch_stun.c | 11 +++++++++++ src/switch_swig.c | 10 ++++++++++ src/switch_utils.c | 11 +++++++++++ src/switch_xml.c | 11 ++++++++++- 115 files changed, 1245 insertions(+), 19 deletions(-) diff --git a/libs/libdingaling/src/ldl_compat.h b/libs/libdingaling/src/ldl_compat.h index 0f74b8eb94..3dc14206d9 100644 --- a/libs/libdingaling/src/ldl_compat.h +++ b/libs/libdingaling/src/ldl_compat.h @@ -61,3 +61,14 @@ typedef unsigned long in_addr_t; #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libdingaling/src/libdingaling.c b/libs/libdingaling/src/libdingaling.c index 0802c43eec..6a2c3aee19 100644 --- a/libs/libdingaling/src/libdingaling.c +++ b/libs/libdingaling/src/libdingaling.c @@ -2134,4 +2134,13 @@ void ldl_handle_set_log_stream(ldl_handle_t *handle, FILE *log_stream) handle->log_stream = log_stream; } - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libdingaling/src/libdingaling.h b/libs/libdingaling/src/libdingaling.h index 1b902b751c..2793b7fb08 100644 --- a/libs/libdingaling/src/libdingaling.h +++ b/libs/libdingaling/src/libdingaling.h @@ -557,3 +557,14 @@ void ldl_handle_set_log_stream(ldl_handle_t *handle, FILE *log_stream); * */ #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libdingaling/src/sha1.c b/libs/libdingaling/src/sha1.c index f7aa534538..0d407e8e41 100644 --- a/libs/libdingaling/src/sha1.c +++ b/libs/libdingaling/src/sha1.c @@ -212,4 +212,13 @@ unsigned char finalcount[8]; #endif } - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libteletone/src/libteletone.h b/libs/libteletone/src/libteletone.h index bb020b989d..729c67d205 100644 --- a/libs/libteletone/src/libteletone.h +++ b/libs/libteletone/src/libteletone.h @@ -74,3 +74,14 @@ typedef struct { #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libteletone/src/libteletone_detect.c b/libs/libteletone/src/libteletone_detect.c index a815d255fb..c2ee66a474 100644 --- a/libs/libteletone/src/libteletone_detect.c +++ b/libs/libteletone/src/libteletone_detect.c @@ -401,3 +401,13 @@ int teletone_dtmf_get (teletone_dtmf_detect_state_t *dtmf_detect_state, return max; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libteletone/src/libteletone_detect.h b/libs/libteletone/src/libteletone_detect.h index 327f406d17..5ec09133d0 100644 --- a/libs/libteletone/src/libteletone_detect.h +++ b/libs/libteletone/src/libteletone_detect.h @@ -225,3 +225,14 @@ teletone_process_t teletone_goertzel_result (teletone_goertzel_state_t *goertzel #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libteletone/src/libteletone_generate.c b/libs/libteletone/src/libteletone_generate.c index b3421da358..0a429d3afb 100644 --- a/libs/libteletone/src/libteletone_generate.c +++ b/libs/libteletone/src/libteletone_generate.c @@ -414,3 +414,14 @@ int teletone_run(teletone_generation_session_t *ts, char *cmd) return 0; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/libs/libteletone/src/libteletone_generate.h b/libs/libteletone/src/libteletone_generate.h index 817cda0c63..f4736754da 100644 --- a/libs/libteletone/src/libteletone_generate.h +++ b/libs/libteletone/src/libteletone_generate.h @@ -163,3 +163,14 @@ int teletone_run(teletone_generation_session_t *ts, char *cmd); #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch.h b/src/include/switch.h index 6499d20815..3ba4224044 100644 --- a/src/include/switch.h +++ b/src/include/switch.h @@ -166,3 +166,14 @@ * */ #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index 71b40476c0..d5aba5aba2 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -1441,3 +1441,14 @@ SWITCH_DECLARE(switch_status_t) switch_mutex_init(switch_mutex_t **lock, SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_bitpack.h b/src/include/switch_bitpack.h index fe731f189f..9042c6e94a 100644 --- a/src/include/switch_bitpack.h +++ b/src/include/switch_bitpack.h @@ -280,3 +280,14 @@ static inline int8_t switch_bitpack_in(switch_bitpack_t *pack, switch_byte_t in) SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_buffer.h b/src/include/switch_buffer.h index e67f9defb0..ac4c05e0fa 100644 --- a/src/include/switch_buffer.h +++ b/src/include/switch_buffer.h @@ -131,3 +131,14 @@ SWITCH_DECLARE(void) switch_buffer_destroy(switch_buffer_t **buffer); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_caller.h b/src/include/switch_caller.h index 756f450a99..ce7e141170 100644 --- a/src/include/switch_caller.h +++ b/src/include/switch_caller.h @@ -203,4 +203,13 @@ SWITCH_END_EXTERN_C #endif - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_channel.h b/src/include/switch_channel.h index dd22ca9f2e..3bcebfc47c 100644 --- a/src/include/switch_channel.h +++ b/src/include/switch_channel.h @@ -436,3 +436,14 @@ SWITCH_DECLARE(switch_status_t) switch_channel_get_raw_mode (switch_channel_t *c SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_config.h b/src/include/switch_config.h index e40a34de6d..32f83d5578 100644 --- a/src/include/switch_config.h +++ b/src/include/switch_config.h @@ -109,3 +109,14 @@ SWITCH_END_EXTERN_C /** @} */ #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_console.h b/src/include/switch_console.h index ffb0be8660..36e8ce7261 100644 --- a/src/include/switch_console.h +++ b/src/include/switch_console.h @@ -71,3 +71,14 @@ SWITCH_DECLARE(switch_status_t) switch_console_stream_write(switch_stream_handle SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 56de1c2787..232c54a5ce 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -1362,3 +1362,14 @@ SWITCH_DECLARE(void) switch_core_set_globals(void); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_event.h b/src/include/switch_event.h index b7c5cfcdcd..7ea33d2249 100644 --- a/src/include/switch_event.h +++ b/src/include/switch_event.h @@ -313,3 +313,14 @@ SWITCH_DECLARE(void) switch_event_deliver(switch_event_t **event); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_frame.h b/src/include/switch_frame.h index 5fbaebcacc..9bd67ceecb 100644 --- a/src/include/switch_frame.h +++ b/src/include/switch_frame.h @@ -71,3 +71,14 @@ struct switch_frame { SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_ivr.h b/src/include/switch_ivr.h index c1a1454c08..996cddb12b 100644 --- a/src/include/switch_ivr.h +++ b/src/include/switch_ivr.h @@ -578,4 +578,13 @@ SWITCH_END_EXTERN_C #endif - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_loadable_module.h b/src/include/switch_loadable_module.h index e3d3a7c4e4..82689c836e 100644 --- a/src/include/switch_loadable_module.h +++ b/src/include/switch_loadable_module.h @@ -251,3 +251,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_log.h b/src/include/switch_log.h index 27e3143de6..db717a8467 100644 --- a/src/include/switch_log.h +++ b/src/include/switch_log.h @@ -120,3 +120,14 @@ SWITCH_DECLARE(switch_log_level_t) switch_log_str2level(const char *str); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_module_interfaces.h b/src/include/switch_module_interfaces.h index a1541e8895..9d137e63a6 100644 --- a/src/include/switch_module_interfaces.h +++ b/src/include/switch_module_interfaces.h @@ -604,3 +604,14 @@ struct switch_api_interface { SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_platform.h b/src/include/switch_platform.h index a6e98066f0..87bc6b9e1f 100644 --- a/src/include/switch_platform.h +++ b/src/include/switch_platform.h @@ -155,3 +155,14 @@ typedef unsigned long in_addr_t; SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_resample.h b/src/include/switch_resample.h index b02edf60d9..ad96d45645 100644 --- a/src/include/switch_resample.h +++ b/src/include/switch_resample.h @@ -168,4 +168,13 @@ SWITCH_END_EXTERN_C #endif - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_rtp.h b/src/include/switch_rtp.h index 2f2629596d..947444cdca 100644 --- a/src/include/switch_rtp.h +++ b/src/include/switch_rtp.h @@ -380,3 +380,14 @@ SWITCH_DECLARE(void *)switch_rtp_get_private(switch_rtp_t *rtp_session); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_sqlite.h b/src/include/switch_sqlite.h index 715fcec8a3..4d53ca3e18 100644 --- a/src/include/switch_sqlite.h +++ b/src/include/switch_sqlite.h @@ -1808,3 +1808,14 @@ DoxyDefine(void switch_core_db_free(char *z);) SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_stun.h b/src/include/switch_stun.h index a97adf3eb6..9c83642a14 100644 --- a/src/include/switch_stun.h +++ b/src/include/switch_stun.h @@ -243,3 +243,14 @@ SWITCH_DECLARE(switch_status_t) switch_stun_lookup (char **ip, SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_types.h b/src/include/switch_types.h index e489eb985e..06e803b1f4 100644 --- a/src/include/switch_types.h +++ b/src/include/switch_types.h @@ -912,3 +912,14 @@ struct switch_ivr_digit_stream_parser; SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_utils.h b/src/include/switch_utils.h index ebf0aa366b..2ff270eb8f 100644 --- a/src/include/switch_utils.h +++ b/src/include/switch_utils.h @@ -240,3 +240,14 @@ SWITCH_DECLARE(char *) switch_url_decode(char *s); SWITCH_END_EXTERN_C #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/include/switch_xml.h b/src/include/switch_xml.h index 29229e98de..4288904e67 100644 --- a/src/include/switch_xml.h +++ b/src/include/switch_xml.h @@ -336,3 +336,14 @@ SWITCH_END_EXTERN_C ///\} #endif // _SWITCH_XML_H + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_bridgecall/mod_bridgecall.c b/src/mod/applications/mod_bridgecall/mod_bridgecall.c index c25003149c..52281bd489 100644 --- a/src/mod/applications/mod_bridgecall/mod_bridgecall.c +++ b/src/mod/applications/mod_bridgecall/mod_bridgecall.c @@ -108,3 +108,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index d0478b0d42..f0854220a1 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -769,3 +769,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 5161957515..e3481504ef 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -3436,3 +3436,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_dptools/mod_dptools.c b/src/mod/applications/mod_dptools/mod_dptools.c index c3ef0600bc..f2880efd45 100644 --- a/src/mod/applications/mod_dptools/mod_dptools.c +++ b/src/mod/applications/mod_dptools/mod_dptools.c @@ -420,3 +420,14 @@ if it returns anything but SWITCH_STATUS_TERM it will be called again automaticl //switch_status_t switch_module_runtime(void) + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_echo/mod_echo.c b/src/mod/applications/mod_echo/mod_echo.c index 00f3d34670..b10319684a 100644 --- a/src/mod/applications/mod_echo/mod_echo.c +++ b/src/mod/applications/mod_echo/mod_echo.c @@ -72,3 +72,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_ivrtest/mod_ivrtest.c b/src/mod/applications/mod_ivrtest/mod_ivrtest.c index 06166e9e24..68f95668a2 100644 --- a/src/mod/applications/mod_ivrtest/mod_ivrtest.c +++ b/src/mod/applications/mod_ivrtest/mod_ivrtest.c @@ -491,3 +491,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod //switch_status_t switch_module_runtime(void) + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_park/mod_park.c b/src/mod/applications/mod_park/mod_park.c index bb6c8d1177..d0defe84f1 100644 --- a/src/mod/applications/mod_park/mod_park.c +++ b/src/mod/applications/mod_park/mod_park.c @@ -65,3 +65,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_playback/mod_playback.c b/src/mod/applications/mod_playback/mod_playback.c index 43f0891673..81f717286c 100644 --- a/src/mod/applications/mod_playback/mod_playback.c +++ b/src/mod/applications/mod_playback/mod_playback.c @@ -224,3 +224,14 @@ if it returns anything but SWITCH_STATUS_TERM it will be called again automaticl //switch_status_t switch_module_runtime(void) + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_rss/mod_rss.c b/src/mod/applications/mod_rss/mod_rss.c index ccfb3323bc..3c521e59bd 100644 --- a/src/mod/applications/mod_rss/mod_rss.c +++ b/src/mod/applications/mod_rss/mod_rss.c @@ -679,3 +679,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod return SWITCH_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/applications/mod_skel/mod_skel.c b/src/mod/applications/mod_skel/mod_skel.c index b3cd6df053..306535eb0d 100644 --- a/src/mod/applications/mod_skel/mod_skel.c +++ b/src/mod/applications/mod_skel/mod_skel.c @@ -78,3 +78,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) return SWITCH_STATUS_TERM; } */ + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/asr_tts/mod_cepstral/mod_cepstral.c b/src/mod/asr_tts/mod_cepstral/mod_cepstral.c index 573a235988..c06d63a9b0 100644 --- a/src/mod/asr_tts/mod_cepstral/mod_cepstral.c +++ b/src/mod/asr_tts/mod_cepstral/mod_cepstral.c @@ -435,3 +435,14 @@ switch_status_t switch_module_load(const switch_loadable_module_interface_t **mo /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_g711/mod_g711.c b/src/mod/codecs/mod_g711/mod_g711.c index b40096e91e..2dec8063b7 100644 --- a/src/mod/codecs/mod_g711/mod_g711.c +++ b/src/mod/codecs/mod_g711/mod_g711.c @@ -326,3 +326,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_g722/mod_g722.c b/src/mod/codecs/mod_g722/mod_g722.c index ade74ede02..c7e923c5b0 100644 --- a/src/mod/codecs/mod_g722/mod_g722.c +++ b/src/mod/codecs/mod_g722/mod_g722.c @@ -183,3 +183,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_g723_1/mod_g723_1.c b/src/mod/codecs/mod_g723_1/mod_g723_1.c index 910175944a..e0e6aa5ab9 100644 --- a/src/mod/codecs/mod_g723_1/mod_g723_1.c +++ b/src/mod/codecs/mod_g723_1/mod_g723_1.c @@ -222,3 +222,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_g726/mod_g726.c b/src/mod/codecs/mod_g726/mod_g726.c index 832280d9ff..4bd2daf051 100644 --- a/src/mod/codecs/mod_g726/mod_g726.c +++ b/src/mod/codecs/mod_g726/mod_g726.c @@ -448,3 +448,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_g729/mod_g729.c b/src/mod/codecs/mod_g729/mod_g729.c index b1c0ede2db..332f2b18a2 100644 --- a/src/mod/codecs/mod_g729/mod_g729.c +++ b/src/mod/codecs/mod_g729/mod_g729.c @@ -282,3 +282,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_gsm/mod_gsm.c b/src/mod/codecs/mod_gsm/mod_gsm.c index b969d24f2c..e64d4e387c 100644 --- a/src/mod/codecs/mod_gsm/mod_gsm.c +++ b/src/mod/codecs/mod_gsm/mod_gsm.c @@ -174,4 +174,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod return SWITCH_STATUS_SUCCESS; } - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_ilbc/mod_ilbc.c b/src/mod/codecs/mod_ilbc/mod_ilbc.c index b9d13ece55..e3ee68794e 100644 --- a/src/mod/codecs/mod_ilbc/mod_ilbc.c +++ b/src/mod/codecs/mod_ilbc/mod_ilbc.c @@ -333,9 +333,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod } - - - - - - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_l16/mod_l16.c b/src/mod/codecs/mod_l16/mod_l16.c index e67e4973f8..ba4788eca0 100644 --- a/src/mod/codecs/mod_l16/mod_l16.c +++ b/src/mod/codecs/mod_l16/mod_l16.c @@ -263,3 +263,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_lpc10/mod_lpc10.c b/src/mod/codecs/mod_lpc10/mod_lpc10.c index 42b8368b02..2b364e0a25 100644 --- a/src/mod/codecs/mod_lpc10/mod_lpc10.c +++ b/src/mod/codecs/mod_lpc10/mod_lpc10.c @@ -210,3 +210,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/codecs/mod_speex/mod_speex.c b/src/mod/codecs/mod_speex/mod_speex.c index 5207b3f82d..f506a83d5a 100644 --- a/src/mod/codecs/mod_speex/mod_speex.c +++ b/src/mod/codecs/mod_speex/mod_speex.c @@ -351,3 +351,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/dialplans/mod_dialplan_directory/mod_dialplan_directory.c b/src/mod/dialplans/mod_dialplan_directory/mod_dialplan_directory.c index ba2cc98b5e..01f665c1b5 100644 --- a/src/mod/dialplans/mod_dialplan_directory/mod_dialplan_directory.c +++ b/src/mod/dialplans/mod_dialplan_directory/mod_dialplan_directory.c @@ -183,3 +183,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c index c247aa62f4..9d6488f4bb 100644 --- a/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c +++ b/src/mod/dialplans/mod_dialplan_xml/mod_dialplan_xml.c @@ -356,3 +356,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/directories/mod_ldap/mod_ldap.c b/src/mod/directories/mod_ldap/mod_ldap.c index 3b6171dcd1..c28bd946e5 100644 --- a/src/mod/directories/mod_ldap/mod_ldap.c +++ b/src/mod/directories/mod_ldap/mod_ldap.c @@ -228,3 +228,14 @@ switch_status_t switch_module_load(const switch_loadable_module_interface_t **mo /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 546c4f964e..546aba7393 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -2633,3 +2633,13 @@ static ldl_status handle_response(ldl_handle_t *handle, char *id) return LDL_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_iax/mod_iax.c b/src/mod/endpoints/mod_iax/mod_iax.c index 660e31dc69..6baccc4da4 100644 --- a/src/mod/endpoints/mod_iax/mod_iax.c +++ b/src/mod/endpoints/mod_iax/mod_iax.c @@ -1200,3 +1200,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) } return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_portaudio/mod_portaudio.c b/src/mod/endpoints/mod_portaudio/mod_portaudio.c index 1c463952d7..9c5a41ab1a 100644 --- a/src/mod/endpoints/mod_portaudio/mod_portaudio.c +++ b/src/mod/endpoints/mod_portaudio/mod_portaudio.c @@ -1029,3 +1029,14 @@ static switch_status_t call_info(char *callid, switch_core_session_t *session, s return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_sofia/mod_sofia.c b/src/mod/endpoints/mod_sofia/mod_sofia.c index 7126ec6144..ca937fbdd0 100644 --- a/src/mod/endpoints/mod_sofia/mod_sofia.c +++ b/src/mod/endpoints/mod_sofia/mod_sofia.c @@ -5355,3 +5355,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index 0ea42f5865..275db2e11d 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -1532,5 +1532,13 @@ static switch_status_t config_wanpipe(int reload) } - - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/endpoints/mod_woomera/mod_woomera.c b/src/mod/endpoints/mod_woomera/mod_woomera.c index 60bb3fd09e..a31633919b 100644 --- a/src/mod/endpoints/mod_woomera/mod_woomera.c +++ b/src/mod/endpoints/mod_woomera/mod_woomera.c @@ -1391,3 +1391,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/basecdr.cpp b/src/mod/event_handlers/mod_cdr/basecdr.cpp index 1aaee02773..ae7fb56de1 100644 --- a/src/mod/event_handlers/mod_cdr/basecdr.cpp +++ b/src/mod/event_handlers/mod_cdr/basecdr.cpp @@ -358,3 +358,14 @@ void BaseCDR::process_channel_variables(const std::list& stringlist } } } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/basecdr.h b/src/mod/event_handlers/mod_cdr/basecdr.h index a8ff3212c9..434432c7bb 100644 --- a/src/mod/event_handlers/mod_cdr/basecdr.h +++ b/src/mod/event_handlers/mod_cdr/basecdr.h @@ -105,3 +105,14 @@ class BaseCDR { #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/baseregistry.cpp b/src/mod/event_handlers/mod_cdr/baseregistry.cpp index 385968ce88..f59ed1811d 100644 --- a/src/mod/event_handlers/mod_cdr/baseregistry.cpp +++ b/src/mod/event_handlers/mod_cdr/baseregistry.cpp @@ -79,3 +79,14 @@ BaseRegistration::BaseRegistration(basecdr_creator creator) { BaseRegistry::get().add(creator); } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/baseregistry.h b/src/mod/event_handlers/mod_cdr/baseregistry.h index 6c191fa569..cd3ea4fc8d 100644 --- a/src/mod/event_handlers/mod_cdr/baseregistry.h +++ b/src/mod/event_handlers/mod_cdr/baseregistry.h @@ -76,3 +76,14 @@ class BaseRegistration #endif // ifdef __cplusplus #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/cdrcontainer.cpp b/src/mod/event_handlers/mod_cdr/cdrcontainer.cpp index 4a0609586e..f04492d823 100644 --- a/src/mod/event_handlers/mod_cdr/cdrcontainer.cpp +++ b/src/mod/event_handlers/mod_cdr/cdrcontainer.cpp @@ -163,3 +163,14 @@ void CDRContainer::process_records() delete newloggerobject; } } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/cdrcontainer.h b/src/mod/event_handlers/mod_cdr/cdrcontainer.h index 8d7e40dceb..29052157df 100644 --- a/src/mod/event_handlers/mod_cdr/cdrcontainer.h +++ b/src/mod/event_handlers/mod_cdr/cdrcontainer.h @@ -69,3 +69,14 @@ class CDRContainer { #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/csvcdr.cpp b/src/mod/event_handlers/mod_cdr/csvcdr.cpp index 2600373e77..cee587b341 100644 --- a/src/mod/event_handlers/mod_cdr/csvcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/csvcdr.cpp @@ -284,3 +284,14 @@ void CsvCDR::disconnect() } AUTO_REGISTER_BASECDR(CsvCDR); + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/csvcdr.h b/src/mod/event_handlers/mod_cdr/csvcdr.h index c7acc1f04e..e7762ccc52 100644 --- a/src/mod/event_handlers/mod_cdr/csvcdr.h +++ b/src/mod/event_handlers/mod_cdr/csvcdr.h @@ -75,3 +75,14 @@ class CsvCDR : public BaseCDR { }; #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/mod_cdr.cpp b/src/mod/event_handlers/mod_cdr/mod_cdr.cpp index 8a71fc7078..948f87f351 100644 --- a/src/mod/event_handlers/mod_cdr/mod_cdr.cpp +++ b/src/mod/event_handlers/mod_cdr/mod_cdr.cpp @@ -105,3 +105,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) delete newcdrcontainer; return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp b/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp index 86ead8e0c2..161ab37341 100644 --- a/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/mysqlcdr.cpp @@ -625,3 +625,14 @@ void MysqlCDR::set_mysql_time(switch_time_exp_t& param, MYSQL_TIME& destination) } AUTO_REGISTER_BASECDR(MysqlCDR); + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/mysqlcdr.h b/src/mod/event_handlers/mod_cdr/mysqlcdr.h index ceb7c82e2f..2ea742cc95 100644 --- a/src/mod/event_handlers/mod_cdr/mysqlcdr.h +++ b/src/mod/event_handlers/mod_cdr/mysqlcdr.h @@ -99,3 +99,14 @@ class MysqlCDR : public BaseCDR { }; #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/pddcdr.cpp b/src/mod/event_handlers/mod_cdr/pddcdr.cpp index dc9f48711f..2e24b8d1e1 100644 --- a/src/mod/event_handlers/mod_cdr/pddcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/pddcdr.cpp @@ -214,3 +214,14 @@ void PddCDR::disconnect() } AUTO_REGISTER_BASECDR(PddCDR); + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/pddcdr.h b/src/mod/event_handlers/mod_cdr/pddcdr.h index 2cac355c23..7e2b36e09f 100644 --- a/src/mod/event_handlers/mod_cdr/pddcdr.h +++ b/src/mod/event_handlers/mod_cdr/pddcdr.h @@ -69,3 +69,14 @@ class PddCDR : public BaseCDR { }; #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/xmlcdr.cpp b/src/mod/event_handlers/mod_cdr/xmlcdr.cpp index 684deebebf..07bed7e69a 100644 --- a/src/mod/event_handlers/mod_cdr/xmlcdr.cpp +++ b/src/mod/event_handlers/mod_cdr/xmlcdr.cpp @@ -219,3 +219,14 @@ void XmlCDR::disconnect() } AUTO_REGISTER_BASECDR(XmlCDR); + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_cdr/xmlcdr.h b/src/mod/event_handlers/mod_cdr/xmlcdr.h index 6daf87dd06..87535667b3 100644 --- a/src/mod/event_handlers/mod_cdr/xmlcdr.h +++ b/src/mod/event_handlers/mod_cdr/xmlcdr.h @@ -70,3 +70,14 @@ class XmlCDR : public BaseCDR { }; #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c index d2e9119fad..ddfc311810 100644 --- a/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c +++ b/src/mod/event_handlers/mod_event_multicast/mod_event_multicast.c @@ -331,5 +331,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) return SWITCH_STATUS_TERM; } - - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c index 5c7c71e29d..550b45cf28 100644 --- a/src/mod/event_handlers/mod_event_socket/mod_event_socket.c +++ b/src/mod/event_handlers/mod_event_socket/mod_event_socket.c @@ -1041,5 +1041,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) return SWITCH_STATUS_TERM; } - - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_event_test/mod_event_test.c b/src/mod/event_handlers/mod_event_test/mod_event_test.c index 56c8563faa..dc43e67fb4 100644 --- a/src/mod/event_handlers/mod_event_test/mod_event_test.c +++ b/src/mod/event_handlers/mod_event_test/mod_event_test.c @@ -153,3 +153,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c b/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c index 32f5e3b1bd..68ba6ba4c6 100644 --- a/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c +++ b/src/mod/event_handlers/mod_xmpp_event/mod_xmpp_event.c @@ -439,3 +439,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "disconnecting client %d\n", RUNNING); return RUNNING ? SWITCH_STATUS_SUCCESS : SWITCH_STATUS_TERM; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c index 0bb3fe12a4..8043513a4f 100644 --- a/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c +++ b/src/mod/event_handlers/mod_zeroconf/mod_zeroconf.c @@ -318,3 +318,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_runtime(void) RUNNING = 0; return SWITCH_STATUS_TERM; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/formats/mod_native_file/mod_native_file.c b/src/mod/formats/mod_native_file/mod_native_file.c index 06b38b80f2..73b8a0c1df 100644 --- a/src/mod/formats/mod_native_file/mod_native_file.c +++ b/src/mod/formats/mod_native_file/mod_native_file.c @@ -180,3 +180,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/formats/mod_sndfile/mod_sndfile.c b/src/mod/formats/mod_sndfile/mod_sndfile.c index a0e2ce25ae..89e0c1ca90 100644 --- a/src/mod/formats/mod_sndfile/mod_sndfile.c +++ b/src/mod/formats/mod_sndfile/mod_sndfile.c @@ -350,3 +350,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_mono/mod_mono.c b/src/mod/languages/mod_mono/mod_mono.c index 57357382b1..f57e87ef74 100755 --- a/src/mod/languages/mod_mono/mod_mono.c +++ b/src/mod/languages/mod_mono/mod_mono.c @@ -283,3 +283,14 @@ void mono_switch_console_printf(switch_text_channel_t channel, char *file, const { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, msg); } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_perl/mod_perl.c b/src/mod/languages/mod_perl/mod_perl.c index 95eb19a0e9..b1376efdea 100644 --- a/src/mod/languages/mod_perl/mod_perl.c +++ b/src/mod/languages/mod_perl/mod_perl.c @@ -137,3 +137,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_php/mod_php.c b/src/mod/languages/mod_php/mod_php.c index 2aa99ec58d..6fa98f080f 100644 --- a/src/mod/languages/mod_php/mod_php.c +++ b/src/mod/languages/mod_php/mod_php.c @@ -307,3 +307,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod } */ + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_php/php_freeswitch.h b/src/mod/languages/mod_php/php_freeswitch.h index be44bcc885..ab5bc2bba2 100644 --- a/src/mod/languages/mod_php/php_freeswitch.h +++ b/src/mod/languages/mod_php/php_freeswitch.h @@ -93,3 +93,14 @@ ZEND_END_MODULE_GLOBALS(freeswitch) #endif #endif /* PHP_FREESWITCH_H */ + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_python/mod_python.c b/src/mod/languages/mod_python/mod_python.c index 1448c30a9b..a0b2462044 100644 --- a/src/mod/languages/mod_python/mod_python.c +++ b/src/mod/languages/mod_python/mod_python.c @@ -110,3 +110,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* Return the number of arguments of the application command line */ + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_ruby/mod_ruby.c b/src/mod/languages/mod_ruby/mod_ruby.c index 8bd9c0332d..a1192339d2 100644 --- a/src/mod/languages/mod_ruby/mod_ruby.c +++ b/src/mod/languages/mod_ruby/mod_ruby.c @@ -102,3 +102,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod /* indicate that the module should continue to be loaded */ return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c index 18f1420655..36e2bfa1e3 100644 --- a/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c +++ b/src/mod/languages/mod_spidermonkey/mod_spidermonkey.c @@ -2475,3 +2475,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) curl_global_cleanup(); return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c b/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c index f4b50075fe..6e662b4463 100644 --- a/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c +++ b/src/mod/languages/mod_spidermonkey_core_db/mod_spidermonkey_core_db.c @@ -307,3 +307,14 @@ SWITCH_MOD_DECLARE(switch_status_t) spidermonkey_init(const sm_module_interface_ *module_interface = &DB_module_interface; return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_spidermonkey_skel/mod_spidermonkey_skel.c b/src/mod/languages/mod_spidermonkey_skel/mod_spidermonkey_skel.c index aef565cb75..55de5c13d3 100644 --- a/src/mod/languages/mod_spidermonkey_skel/mod_spidermonkey_skel.c +++ b/src/mod/languages/mod_spidermonkey_skel/mod_spidermonkey_skel.c @@ -108,3 +108,14 @@ SWITCH_MOD_DECLARE(switch_status_t) spidermonkey_init(const sm_module_interface_ *module_interface = &skel_module_interface; return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/languages/mod_spidermonkey_teletone/mod_spidermonkey_teletone.c b/src/mod/languages/mod_spidermonkey_teletone/mod_spidermonkey_teletone.c index a14a3629ea..e33f2d97f7 100644 --- a/src/mod/languages/mod_spidermonkey_teletone/mod_spidermonkey_teletone.c +++ b/src/mod/languages/mod_spidermonkey_teletone/mod_spidermonkey_teletone.c @@ -385,3 +385,14 @@ SWITCH_MOD_DECLARE(switch_status_t) spidermonkey_init(const sm_module_interface_ *module_interface = &teletone_module_interface; return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/loggers/mod_console/mod_console.c b/src/mod/loggers/mod_console/mod_console.c index e3ab2a0d77..0be83915b7 100644 --- a/src/mod/loggers/mod_console/mod_console.c +++ b/src/mod/loggers/mod_console/mod_console.c @@ -158,3 +158,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_load(const switch_loadable_mod return SWITCH_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/loggers/mod_syslog/mod_syslog.c b/src/mod/loggers/mod_syslog/mod_syslog.c index f8a9522a1d..3e889617e9 100644 --- a/src/mod/loggers/mod_syslog/mod_syslog.c +++ b/src/mod/loggers/mod_syslog/mod_syslog.c @@ -171,3 +171,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_unload(const switch_loadable_m return SWITCH_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/timers/mod_softtimer/mod_softtimer.c b/src/mod/timers/mod_softtimer/mod_softtimer.c index 11d5609c36..0572d54949 100644 --- a/src/mod/timers/mod_softtimer/mod_softtimer.c +++ b/src/mod/timers/mod_softtimer/mod_softtimer.c @@ -222,3 +222,14 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 46063ec53c..95873e3cc2 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -349,3 +349,13 @@ SWITCH_MOD_DECLARE(switch_status_t) switch_module_shutdown(void) return SWITCH_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch.c b/src/switch.c index 33f5881b0a..4a584c05ad 100644 --- a/src/switch.c +++ b/src/switch.c @@ -309,3 +309,14 @@ int main(int argc, char *argv[]) return switch_core_destroy(vg); } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_buffer.c b/src/switch_buffer.c index 0bcc7775c6..33b055daca 100644 --- a/src/switch_buffer.c +++ b/src/switch_buffer.c @@ -255,3 +255,14 @@ SWITCH_DECLARE(void) switch_buffer_destroy(switch_buffer_t **buffer) *buffer = NULL; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_caller.c b/src/switch_caller.c index 2fce18fbc2..460fb51768 100644 --- a/src/switch_caller.c +++ b/src/switch_caller.c @@ -248,3 +248,14 @@ SWITCH_DECLARE(void) switch_caller_extension_add_application(switch_core_session } } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_channel.c b/src/switch_channel.c index 22f28a7bec..f513a9234e 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -1230,3 +1230,14 @@ SWITCH_DECLARE(char *) switch_channel_expand_variables(switch_channel_t *channel free(indup); return data; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_config.c b/src/switch_config.c index 31776dcaf9..e6b031c086 100644 --- a/src/switch_config.c +++ b/src/switch_config.c @@ -205,3 +205,14 @@ SWITCH_DECLARE(int) switch_config_next_pair(switch_config_t *cfg, char **var, ch return ret; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_console.c b/src/switch_console.c index 196004ffaf..61f606a3b2 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -250,3 +250,14 @@ SWITCH_DECLARE(void) switch_console_loop(void) } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_core.c b/src/switch_core.c index 5509a9b4e8..bf9983027e 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -4187,3 +4187,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_destroy(int vg) return SWITCH_STATUS_SUCCESS; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_event.c b/src/switch_event.c index fdc1a9eb3d..64a2845ed8 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -848,3 +848,14 @@ SWITCH_DECLARE(switch_status_t) switch_event_bind(char *id, switch_event_types_t return SWITCH_STATUS_MEMERR; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 908fc3b0d3..531ed2727a 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -4052,3 +4052,14 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_build_xml_menu_stack(switch_ivr_menu_ return status; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_loadable_module.c b/src/switch_loadable_module.c index c530f11677..7d3326bb53 100644 --- a/src/switch_loadable_module.c +++ b/src/switch_loadable_module.c @@ -800,3 +800,14 @@ SWITCH_DECLARE(switch_status_t) switch_api_execute(char *cmd, char *arg, switch_ return status; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_log.c b/src/switch_log.c index 6495212481..54eb1b9518 100644 --- a/src/switch_log.c +++ b/src/switch_log.c @@ -287,3 +287,13 @@ SWITCH_DECLARE(switch_status_t) switch_log_shutdown(void) return SWITCH_STATUS_SUCCESS; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_resample.c b/src/switch_resample.c index 60df4ff639..afabe03e89 100644 --- a/src/switch_resample.c +++ b/src/switch_resample.c @@ -216,3 +216,13 @@ SWITCH_DECLARE(void) switch_change_sln_volume(int16_t *data, uint32_t samples, i } } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 26331ca99e..6edf270978 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -1429,3 +1429,14 @@ SWITCH_DECLARE(void *)switch_rtp_get_private(switch_rtp_t *rtp_session) { return rtp_session->private_data; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_stun.c b/src/switch_stun.c index 0f4b37c484..1aedfbf839 100644 --- a/src/switch_stun.c +++ b/src/switch_stun.c @@ -370,3 +370,14 @@ SWITCH_DECLARE(switch_status_t) switch_stun_lookup (char **ip, return SWITCH_STATUS_FALSE; } + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_swig.c b/src/switch_swig.c index a52299d7f5..5a768eb83c 100644 --- a/src/switch_swig.c +++ b/src/switch_swig.c @@ -326,3 +326,13 @@ int fs_switch_channel_set_variable(switch_channel_t *channel, char *varname, cha return status == SWITCH_STATUS_SUCCESS ? 1 : 0; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_utils.c b/src/switch_utils.c index 6fee6cc832..c60954ee88 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -347,3 +347,14 @@ void include_me(void) apr_socket_opt_set(NULL, 0, 0); } #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */ diff --git a/src/switch_xml.c b/src/switch_xml.c index 501cc86b9b..abcca867ff 100644 --- a/src/switch_xml.c +++ b/src/switch_xml.c @@ -1336,4 +1336,13 @@ SWITCH_DECLARE(void) switch_xml_remove(switch_xml_t xml) switch_xml_free(xml); } - +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:nil + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4 expandtab: + */