[sr-dev] git:master:9801ad5b: acc: add new types

mikomarrache mikomarrache at users.noreply.github.com
Wed Apr 22 10:25:00 CEST 2015


Module: kamailio
Branch: master
Commit: 9801ad5b4e7aaf1fd20c82d2923aa7aaedd1c2f4
URL: https://github.com/kamailio/kamailio/commit/9801ad5b4e7aaf1fd20c82d2923aa7aaedd1c2f4

Author: mikomarrache <mikomarrache at users.noreply.github.com>
Committer: mikomarrache <mikomarrache at users.noreply.github.com>
Date: 2015-04-14T15:22:29+03:00

acc: add new types


Add new types to support core fields of type date (for start and end date) and double (for duration).

---

Modified: modules/acc/acc_api.h

---

Diff:  https://github.com/kamailio/kamailio/commit/9801ad5b4e7aaf1fd20c82d2923aa7aaedd1c2f4.diff
Patch: https://github.com/kamailio/kamailio/commit/9801ad5b4e7aaf1fd20c82d2923aa7aaedd1c2f4.patch

---

diff --git a/modules/acc/acc_api.h b/modules/acc/acc_api.h
index f2efbe4..f252b58 100644
--- a/modules/acc/acc_api.h
+++ b/modules/acc/acc_api.h
@@ -110,7 +110,7 @@ typedef struct acc_engine {
 #define ACC_CORE_LEN  6
 
 
-enum {TYPE_NULL = 0, TYPE_INT, TYPE_STR};
+enum {TYPE_NULL = 0, TYPE_INT, TYPE_STR, TYPE_DOUBLE, TYPE_DATE};
 
 
 typedef int (*register_engine_f)(acc_engine_t *eng);




More information about the sr-dev mailing list