Browse code

core, lib, modules: updated include paths for header files

Daniel-Constantin Mierla authored on 07/12/2016 11:07:22
Showing 1 changed files
... ...
@@ -8,7 +8,7 @@
8 8
 #ifndef IMS_CHARGING_STATS_H
9 9
 #define	IMS_CHARGING_STATS_H
10 10
 
11
-#include "../../counters.h"
11
+#include "../../core/counters.h"
12 12
 
13 13
 struct ims_charging_counters_h {
14 14
     counter_handle_t billed_secs;
Browse code

core, lib, modules: restructured source code tree

- new folder src/ to hold the source code for main project applications
- main.c is in src/
- all core files are subfolder are in src/core/
- modules are in src/modules/
- libs are in src/lib/
- application Makefiles are in src/
- application binary is built in src/ (src/kamailio)

Daniel-Constantin Mierla authored on 07/12/2016 11:03:51
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,38 @@
1
+/* 
2
+ * File:   ims_charging_stats.h
3
+ * Author: jaybeepee
4
+ *
5
+ * Created on 24 February 2015, 11:15 AM
6
+ */
7
+
8
+#ifndef IMS_CHARGING_STATS_H
9
+#define	IMS_CHARGING_STATS_H
10
+
11
+#include "../../counters.h"
12
+
13
+struct ims_charging_counters_h {
14
+    counter_handle_t billed_secs;
15
+    counter_handle_t ccr_avg_response_time;
16
+    counter_handle_t ccr_response_time;
17
+    counter_handle_t ccr_timeouts;
18
+    counter_handle_t failed_final_ccrs;
19
+    counter_handle_t failed_initial_ccrs;
20
+    counter_handle_t failed_interim_ccr;
21
+    counter_handle_t final_ccrs;
22
+    counter_handle_t initial_ccrs;
23
+    counter_handle_t interim_ccrs;
24
+    counter_handle_t killed_calls;
25
+    counter_handle_t successful_final_ccrs;
26
+    counter_handle_t successful_initial_ccrs;
27
+    counter_handle_t successful_interim_ccrs;
28
+    counter_handle_t active_ro_sessions;
29
+    counter_handle_t ccr_replies_received;
30
+};
31
+
32
+int ims_charging_init_counters();
33
+void ims_charging_destroy_counters();
34
+
35
+#endif	/* IMS_CHARGING_STATS_H */
36
+
37
+
38
+