[sr-dev] git:master:50ac46bf: core - mem: renamed api fields for module stats to repleft the purpose

Daniel-Constantin Mierla miconda at gmail.com
Mon Mar 28 10:58:05 CEST 2016


Module: kamailio
Branch: master
Commit: 50ac46bfc233531f9f4be22be4aee07a8faa0325
URL: https://github.com/kamailio/kamailio/commit/50ac46bfc233531f9f4be22be4aee07a8faa0325

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-03-27T14:21:12+02:00

core - mem: renamed api fields for module stats to repleft the purpose

---

Modified: mem/memapi.h

---

Diff:  https://github.com/kamailio/kamailio/commit/50ac46bfc233531f9f4be22be4aee07a8faa0325.diff
Patch: https://github.com/kamailio/kamailio/commit/50ac46bfc233531f9f4be22be4aee07a8faa0325.patch

---

diff --git a/mem/memapi.h b/mem/memapi.h
index 9f918f3..28e9f86 100644
--- a/mem/memapi.h
+++ b/mem/memapi.h
@@ -79,9 +79,9 @@ typedef struct sr_pkg_api {
 	/*memory destroy manager*/
 	sr_mem_destroy_f   xdestroy;
 	/*memory stats per module*/
-	sr_mem_mod_get_stats_f  xstats;
+	sr_mem_mod_get_stats_f  xmodstats;
 	/*memory stats free per module*/
-	sr_mem_mod_free_stats_f xfstats;
+	sr_mem_mod_free_stats_f xfmodstats;
 } sr_pkg_api_t;
 
 /*shared memory api*/
@@ -115,9 +115,9 @@ typedef struct sr_shm_api {
 	/*memory destroy manager*/
 	sr_mem_destroy_f   xdestroy;
 	/*memory stats per module*/
-	sr_mem_mod_get_stats_f  xstats;
+	sr_mem_mod_get_stats_f  xmodstats;
 	/*memory stats free per module*/
-	sr_mem_mod_free_stats_f xfstats;
+	sr_mem_mod_free_stats_f xfmodstats;
 } sr_shm_api_t;
 
 #endif




More information about the sr-dev mailing list