[sr-dev] git:master:0ea62995: tm: typedefs renamed to match better module and common pattern

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 10 17:24:03 CEST 2018


Module: kamailio
Branch: master
Commit: 0ea62995ab026737411f3106a4584ba4ba640426
URL: https://github.com/kamailio/kamailio/commit/0ea62995ab026737411f3106a4584ba4ba640426

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-09-10T17:22:54+02:00

tm: typedefs renamed to match better module and common pattern

- were not used so far

---

Modified: src/modules/tm/h_table.h

---

Diff:  https://github.com/kamailio/kamailio/commit/0ea62995ab026737411f3106a4584ba4ba640426.diff
Patch: https://github.com/kamailio/kamailio/commit/0ea62995ab026737411f3106a4584ba4ba640426.patch

---

diff --git a/src/modules/tm/h_table.h b/src/modules/tm/h_table.h
index 7aca7ed92c..bfcd28f2ca 100644
--- a/src/modules/tm/h_table.h
+++ b/src/modules/tm/h_table.h
@@ -162,7 +162,7 @@ typedef struct retr_buf
 	struct dest_info dst;
 	ticks_t retr_expire;
 	ticks_t fr_expire; /* ticks value after which fr. will fire */
-} retr_buf_type;
+} tm_retr_buf_t;
 
 
 /* User Agent Server content */
@@ -181,7 +181,7 @@ typedef struct ua_server
 										* for e2e cancels */
 #endif /* CANCEL_REASON_SUPPORT */
 	unsigned int status;
-} ua_server_type;
+} tm_ua_server_t;
 
 
 /* User Agent Client content */
@@ -244,15 +244,15 @@ typedef struct ua_client
 	unsigned short on_reply;
 	/* unused - keep the structure aligned to 32b */
 	unsigned short on_unused;
-} ua_client_type;
+} tm_ua_client_t;
 
 
-struct totag_elem
+typedef struct totag_elem
 {
 	struct totag_elem *next;
 	str tag;
 	volatile int acked;
-};
+} tm_totag_elem_t;
 
 /* structure for storing transaction state prior to suspending
  * of async transactions */
@@ -262,7 +262,7 @@ typedef struct async_state
 	unsigned int backup_branch;
 	unsigned int blind_uac;
 	unsigned int ruri_new;
-} async_state_type;
+} tm_async_state_t;
 
 /* transaction's flags */
 /* is the transaction's request an INVITE? */
@@ -506,7 +506,7 @@ typedef struct entry
 	unsigned long cur_entries;
 #endif
 	char _pad[ENTRY_PAD_BYTES];
-} entry_type;
+} tm_entry_t;
 
 
 /* transaction table */




More information about the sr-dev mailing list