From 9c5124fdcca496efd5bf7bf079e2bbc3546a145b Mon Sep 17 00:00:00 2001 From: Stefan Sayer Date: Fri, 4 Apr 2008 21:29:36 +0000 Subject: [PATCH] make emacs indent git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@850 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/plug-in/sipctrl/hash_table.cpp | 8 ++++++++ core/plug-in/sipctrl/hash_table.h | 8 ++++++++ core/plug-in/sipctrl/msg_fline.cpp | 8 ++++++++ core/plug-in/sipctrl/msg_fline.h | 8 ++++++++ core/plug-in/sipctrl/parse_common.cpp | 7 +++++++ core/plug-in/sipctrl/parse_common.h | 7 +++++++ core/plug-in/sipctrl/parse_cseq.cpp | 7 +++++++ core/plug-in/sipctrl/parse_cseq.h | 7 +++++++ core/plug-in/sipctrl/parse_from_to.cpp | 7 +++++++ core/plug-in/sipctrl/parse_from_to.h | 7 +++++++ core/plug-in/sipctrl/parse_header.cpp | 7 +++++++ core/plug-in/sipctrl/parse_header.h | 7 +++++++ core/plug-in/sipctrl/parse_uri.cpp | 7 +++++++ core/plug-in/sipctrl/parse_uri.h | 7 +++++++ core/plug-in/sipctrl/parse_via.cpp | 7 +++++++ core/plug-in/sipctrl/parse_via.h | 7 +++++++ core/plug-in/sipctrl/resolver.cpp | 7 +++++++ core/plug-in/sipctrl/resolver.h | 7 +++++++ core/plug-in/sipctrl/sip_parser.cpp | 7 +++++++ core/plug-in/sipctrl/sip_parser.h | 7 +++++++ core/plug-in/sipctrl/sip_timers.h | 8 ++++++++ core/plug-in/sipctrl/sip_trans.cpp | 7 +++++++ core/plug-in/sipctrl/sip_trans.h | 7 +++++++ core/plug-in/sipctrl/trans_layer.h | 8 ++++++++ core/plug-in/sipctrl/transport.cpp | 7 +++++++ core/plug-in/sipctrl/transport.h | 7 +++++++ core/plug-in/sipctrl/udp_trsp.cpp | 7 +++++++ core/plug-in/sipctrl/udp_trsp.h | 7 +++++++ core/plug-in/sipctrl/wheeltimer.cpp | 7 +++++++ core/plug-in/sipctrl/wheeltimer.h | 7 +++++++ 30 files changed, 216 insertions(+) diff --git a/core/plug-in/sipctrl/hash_table.cpp b/core/plug-in/sipctrl/hash_table.cpp index dc6f03ee..7389f678 100644 --- a/core/plug-in/sipctrl/hash_table.cpp +++ b/core/plug-in/sipctrl/hash_table.cpp @@ -484,3 +484,11 @@ void trans_bucket::dump() (*it)->type,(*it)->msg,(*it)->to_tag.len,(*it)->to_tag.s,(*it)->reply_status,(*it)->state,(*it)->retr_buf); } } + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/hash_table.h b/core/plug-in/sipctrl/hash_table.h index 7023f88c..180be1b0 100644 --- a/core/plug-in/sipctrl/hash_table.h +++ b/core/plug-in/sipctrl/hash_table.h @@ -135,3 +135,11 @@ void compute_branch(char* branch, const cstring& callid, const cstring& cseq); void dumps_transactions(); #endif + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/msg_fline.cpp b/core/plug-in/sipctrl/msg_fline.cpp index af084a87..334b6395 100644 --- a/core/plug-in/sipctrl/msg_fline.cpp +++ b/core/plug-in/sipctrl/msg_fline.cpp @@ -79,3 +79,11 @@ void request_line_wr(char** c, *((*c)++) = CR; *((*c)++) = LF; } + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/msg_fline.h b/core/plug-in/sipctrl/msg_fline.h index c692796f..6f0769e7 100644 --- a/core/plug-in/sipctrl/msg_fline.h +++ b/core/plug-in/sipctrl/msg_fline.h @@ -63,3 +63,11 @@ void status_line_wr(char** c, int status_code, #endif + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_common.cpp b/core/plug-in/sipctrl/parse_common.cpp index d0274ccd..7936fecf 100644 --- a/core/plug-in/sipctrl/parse_common.cpp +++ b/core/plug-in/sipctrl/parse_common.cpp @@ -311,3 +311,10 @@ int parse_gen_params(list* params, const char** c, int len, char stop_ return 0; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_common.h b/core/plug-in/sipctrl/parse_common.h index 89ef955a..7818bb7c 100644 --- a/core/plug-in/sipctrl/parse_common.h +++ b/core/plug-in/sipctrl/parse_common.h @@ -163,3 +163,10 @@ int parse_sip_version(const char* beg, int len); int parse_gen_params(list* params, const char** c, int len, char stop_char); #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_cseq.cpp b/core/plug-in/sipctrl/parse_cseq.cpp index d8efa58b..ed3fae26 100644 --- a/core/plug-in/sipctrl/parse_cseq.cpp +++ b/core/plug-in/sipctrl/parse_cseq.cpp @@ -126,3 +126,10 @@ int parse_cseq(sip_cseq* cseq, const char* beg, int len) return 0; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_cseq.h b/core/plug-in/sipctrl/parse_cseq.h index 6e342475..f6d67d2a 100644 --- a/core/plug-in/sipctrl/parse_cseq.h +++ b/core/plug-in/sipctrl/parse_cseq.h @@ -53,3 +53,10 @@ inline sip_cseq* get_cseq(sip_msg* msg) } #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_from_to.cpp b/core/plug-in/sipctrl/parse_from_to.cpp index d3146a70..1c6cecab 100644 --- a/core/plug-in/sipctrl/parse_from_to.cpp +++ b/core/plug-in/sipctrl/parse_from_to.cpp @@ -298,3 +298,10 @@ int parse_from_to(sip_from_to* ft, const char* beg, int len) return ret; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_from_to.h b/core/plug-in/sipctrl/parse_from_to.h index a6a27dc4..6bcb2cab 100644 --- a/core/plug-in/sipctrl/parse_from_to.h +++ b/core/plug-in/sipctrl/parse_from_to.h @@ -70,3 +70,10 @@ inline sip_from_to* get_to(sip_msg* msg) } #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_header.cpp b/core/plug-in/sipctrl/parse_header.cpp index 931bc37a..32849ac5 100644 --- a/core/plug-in/sipctrl/parse_header.cpp +++ b/core/plug-in/sipctrl/parse_header.cpp @@ -455,3 +455,10 @@ int parse_headers(sip_msg* msg, char** c) DBG("Incomplete header (st=%i;saved_st=%i)\n",st,saved_st); return UNEXPECTED_EOT; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_header.h b/core/plug-in/sipctrl/parse_header.h index 7e633e2e..09062179 100644 --- a/core/plug-in/sipctrl/parse_header.h +++ b/core/plug-in/sipctrl/parse_header.h @@ -79,3 +79,10 @@ struct sip_msg; int parse_headers(sip_msg* msg, char** c); #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_uri.cpp b/core/plug-in/sipctrl/parse_uri.cpp index a75fe8ae..ca2d6b19 100644 --- a/core/plug-in/sipctrl/parse_uri.cpp +++ b/core/plug-in/sipctrl/parse_uri.cpp @@ -398,3 +398,10 @@ int parse_uri(sip_uri* uri, const char* beg, int len) return 0; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_uri.h b/core/plug-in/sipctrl/parse_uri.h index 459dfbc5..3cf4a96c 100644 --- a/core/plug-in/sipctrl/parse_uri.h +++ b/core/plug-in/sipctrl/parse_uri.h @@ -60,3 +60,10 @@ struct sip_uri int parse_uri(sip_uri* uri, const char* beg, int len); #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_via.cpp b/core/plug-in/sipctrl/parse_via.cpp index 27b3c45f..dca5dcf1 100644 --- a/core/plug-in/sipctrl/parse_via.cpp +++ b/core/plug-in/sipctrl/parse_via.cpp @@ -514,3 +514,10 @@ int parse_via(sip_via* via, const char* beg, int len) return 0; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/parse_via.h b/core/plug-in/sipctrl/parse_via.h index 84ebedb1..766b2767 100644 --- a/core/plug-in/sipctrl/parse_via.h +++ b/core/plug-in/sipctrl/parse_via.h @@ -73,3 +73,10 @@ int parse_via(sip_via* via, const char* beg, int len); #define MAGIC_BRANCH_LEN 7 #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/resolver.cpp b/core/plug-in/sipctrl/resolver.cpp index ecabe43a..2b19a9ee 100644 --- a/core/plug-in/sipctrl/resolver.cpp +++ b/core/plug-in/sipctrl/resolver.cpp @@ -62,3 +62,10 @@ int resolver::resolve_name(const char* name, sockaddr_storage* sa, } return err; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/resolver.h b/core/plug-in/sipctrl/resolver.h index bffd1d72..9471af79 100644 --- a/core/plug-in/sipctrl/resolver.h +++ b/core/plug-in/sipctrl/resolver.h @@ -38,3 +38,10 @@ class resolver #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/sip_parser.cpp b/core/plug-in/sipctrl/sip_parser.cpp index 201c106f..f73a1e08 100644 --- a/core/plug-in/sipctrl/sip_parser.cpp +++ b/core/plug-in/sipctrl/sip_parser.cpp @@ -502,3 +502,10 @@ int parse_sip_msg(sip_msg* msg) return err_fl || err_hdrs; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/sip_parser.h b/core/plug-in/sipctrl/sip_parser.h index b9a7b12e..5ee71a01 100644 --- a/core/plug-in/sipctrl/sip_parser.h +++ b/core/plug-in/sipctrl/sip_parser.h @@ -131,3 +131,10 @@ int parse_method(int* method, const char* beg, int len); int parse_sip_msg(sip_msg* msg); #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/sip_timers.h b/core/plug-in/sipctrl/sip_timers.h index 4eba56e5..a4d1f385 100644 --- a/core/plug-in/sipctrl/sip_timers.h +++ b/core/plug-in/sipctrl/sip_timers.h @@ -34,3 +34,11 @@ #define J_TIMER 64*T1_TIMER #endif + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/sip_trans.cpp b/core/plug-in/sipctrl/sip_trans.cpp index 5086d889..d78dab43 100644 --- a/core/plug-in/sipctrl/sip_trans.cpp +++ b/core/plug-in/sipctrl/sip_trans.cpp @@ -141,3 +141,10 @@ void sip_trans::reset_all_timers() } } } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/sip_trans.h b/core/plug-in/sipctrl/sip_trans.h index 6b45b458..a7b96f1f 100644 --- a/core/plug-in/sipctrl/sip_trans.h +++ b/core/plug-in/sipctrl/sip_trans.h @@ -181,3 +181,10 @@ class sip_trans }; #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/trans_layer.h b/core/plug-in/sipctrl/trans_layer.h index bc49c4e5..ed1b6841 100644 --- a/core/plug-in/sipctrl/trans_layer.h +++ b/core/plug-in/sipctrl/trans_layer.h @@ -151,3 +151,11 @@ class trans_layer #endif // _trans_layer_h_ + + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/transport.cpp b/core/plug-in/sipctrl/transport.cpp index 21557910..45d4f416 100644 --- a/core/plug-in/sipctrl/transport.cpp +++ b/core/plug-in/sipctrl/transport.cpp @@ -11,3 +11,10 @@ transport::~transport() { } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/transport.h b/core/plug-in/sipctrl/transport.h index 6cfdc2d0..a5fc5183 100644 --- a/core/plug-in/sipctrl/transport.h +++ b/core/plug-in/sipctrl/transport.h @@ -45,3 +45,10 @@ class transport: public AmThread }; #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/udp_trsp.cpp b/core/plug-in/sipctrl/udp_trsp.cpp index 363af72a..c613dfee 100644 --- a/core/plug-in/sipctrl/udp_trsp.cpp +++ b/core/plug-in/sipctrl/udp_trsp.cpp @@ -225,3 +225,10 @@ int udp_trsp::send(const sockaddr_storage* sa, const char* msg, const int msg_le return 0; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/udp_trsp.h b/core/plug-in/sipctrl/udp_trsp.h index b694accd..d8f4e26d 100644 --- a/core/plug-in/sipctrl/udp_trsp.h +++ b/core/plug-in/sipctrl/udp_trsp.h @@ -51,3 +51,10 @@ class udp_trsp: public transport }; #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/wheeltimer.cpp b/core/plug-in/sipctrl/wheeltimer.cpp index c02aa269..5201214b 100644 --- a/core/plug-in/sipctrl/wheeltimer.cpp +++ b/core/plug-in/sipctrl/wheeltimer.cpp @@ -254,3 +254,10 @@ void wheeltimer::delete_timer(timer* t) delete t; } + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */ diff --git a/core/plug-in/sipctrl/wheeltimer.h b/core/plug-in/sipctrl/wheeltimer.h index 159b6537..32d38a0d 100644 --- a/core/plug-in/sipctrl/wheeltimer.h +++ b/core/plug-in/sipctrl/wheeltimer.h @@ -113,3 +113,10 @@ public: #endif + +/** EMACS ** + * Local variables: + * mode: c++ + * c-basic-offset: 4 + * End: + */