[SR-Dev] git:master: Kamailo compatiblity macros was_canceled and no_new_branches

Jan Janak jan at iptel.org
Fri Mar 6 15:22:42 CET 2009


Module: sip-router
Branch: master
Commit: 50837fd71dcddfb87cdeeb1fb31f156d1eee6f67
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=50837fd71dcddfb87cdeeb1fb31f156d1eee6f67

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Thu Mar  5 19:19:18 2009 +0100

Kamailo compatiblity macros was_canceled and no_new_branches

---

 modules/tm/h_table.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/tm/h_table.h b/modules/tm/h_table.h
index 5e0ae70..d69daa8 100644
--- a/modules/tm/h_table.h
+++ b/modules/tm/h_table.h
@@ -435,6 +435,8 @@ struct s_table*  _tm_table; /* private internal stuff, don't touch directly */
 #define is_invite(_t_)           ((_t_)->flags&T_IS_INVITE_FLAG)
 #define is_local(_t_)            ((_t_)->flags&T_IS_LOCAL_FLAG)
 #define has_noisy_ctimer(_t_)    ((_t_)->flags&T_NOISY_CTIMER_FLAG)
+#define was_cancelled(_t_)       ((_t_)->flags&T_CANCELED)
+#define no_new_branches(_t_)     ((_t_)->flags&T_6xx)
 
 
 void reset_kr();




More information about the sr-dev mailing list