[Freeswitch-trunk] [commit] r6348 - freeswitch/trunk/src/mod/endpoints/mod_sofia

Freeswitch SVN mikej at freeswitch.org
Mon Nov 19 20:53:32 EST 2007


Author: mikej
Date: Mon Nov 19 20:53:32 2007
New Revision: 6348

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.h

Log:
whitespace cleanup.

Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.h
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.h	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.h	Mon Nov 19 20:53:32 2007
@@ -87,8 +87,6 @@
 	sofia_gateway_t *gateway;
 };
 
-
-
 #define set_param(ptr,val) if (ptr) {free(ptr) ; ptr = NULL;} if (val) {ptr = strdup(val);}
 #define set_anchor(t,m) if (t->Anchor) {delete t->Anchor;} t->Anchor = new SipMessage(m);
 
@@ -118,7 +116,6 @@
 	PFLAG_SUPRESS_CNG = (1 << 12)
 } PFLAGS;
 
-
 typedef enum {
 	PFLAG_NDLB_TO_IN_200_CONTACT = (1 << 0),
 	PFLAG_NDLB_BROKEN_AUTH_HASH = (1 << 1)
@@ -166,7 +163,6 @@
 };
 extern struct mod_sofia_globals mod_sofia_globals;
 
-
 typedef enum {
 	REG_FLAG_AUTHED = (1 << 0),
 	REG_FLAG_CALLERID = (1 << 1)
@@ -210,7 +206,6 @@
 	struct sofia_gateway *next;
 };
 
-
 struct sofia_profile {
 	int debug;
 	char *name;
@@ -272,7 +267,6 @@
 #endif
 };
 
-
 struct private_object {
 	sofia_private_t *sofia_private;
 	uint32_t flags;
@@ -289,10 +283,8 @@
 	uint32_t codec_ms;
 	switch_caller_profile_t *caller_profile;
 	uint32_t timestamp_send;
-	//int32_t timestamp_recv;
 	switch_rtp_t *rtp_session;
 	int ssrc;
-	//switch_time_t last_read;
 	sofia_profile_t *profile;
 	char *local_sdp_audio_ip;
 	switch_port_t local_sdp_audio_port;
@@ -378,7 +370,6 @@
 	AUTH_STALE,
 } auth_res_t;
 
-
 #define sofia_test_pflag(obj, flag) ((obj)->pflags & flag)
 #define sofia_set_pflag(obj, flag) (obj)->pflags |= (flag)
 #define sofia_set_pflag_locked(obj, flag) assert(obj->flag_mutex != NULL);\
@@ -392,7 +383,6 @@
 /* Function Prototypes */
 /*************************************************************************************************************************************************************/
 
-
 switch_status_t sofia_glue_activate_rtp(private_object_t *tech_pvt, switch_rtp_flag_t myflags);
 
 void sofia_glue_deactivate_rtp(private_object_t *tech_pvt);
@@ -424,7 +414,6 @@
 					char const *phrase,
 					nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_private_t *sofia_private, sip_t const *sip, tagi_t tags[]);
 
-
 void *SWITCH_THREAD_FUNC sofia_profile_thread_run(switch_thread_t *thread, void *obj);
 
 void launch_sofia_profile_thread(sofia_profile_t *profile);
@@ -461,7 +450,6 @@
 					 char const *phrase,
 					 nua_t *nua, sofia_profile_t *profile, nua_handle_t *nh, sofia_private_t *sofia_private, sip_t const *sip, tagi_t tags[]);
 
-
 void sofia_glue_execute_sql(sofia_profile_t *profile, switch_bool_t master, char *sql, switch_mutex_t *mutex);
 void sofia_reg_check_expire(sofia_profile_t *profile, time_t now);
 void sofia_reg_check_gateway(sofia_profile_t *profile, time_t now);
@@ -499,12 +487,10 @@
 sofia_profile_t *sofia_glue_find_profile__(const char *file, const char *func, int line, char *key);
 #define sofia_glue_find_profile(x) sofia_glue_find_profile__(__FILE__, __SWITCH_FUNC__, __LINE__,  x)
 
-
 switch_status_t sofia_reg_add_gateway(char *key, sofia_gateway_t *gateway);
 sofia_gateway_t *sofia_reg_find_gateway__(const char *file, const char *func, int line, char *key);
 #define sofia_reg_find_gateway(x) sofia_reg_find_gateway__(__FILE__, __SWITCH_FUNC__, __LINE__,  x)
 
-
 void sofia_reg_release_gateway__(const char *file, const char *func, int line, sofia_gateway_t *gateway);
 #define sofia_reg_release_gateway(x) sofia_reg_release_gateway__(__FILE__, __SWITCH_FUNC__, __LINE__, x);
 



More information about the Freeswitch-trunk mailing list