Module: kamailio
Branch: master
Commit: 9801ad5b4e7aaf1fd20c82d2923aa7aaedd1c2f4
URL:
https://github.com/kamailio/kamailio/commit/9801ad5b4e7aaf1fd20c82d2923aa7a…
Author: mikomarrache <mikomarrache(a)users.noreply.github.com>
Committer: mikomarrache <mikomarrache(a)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/9801ad5b4e7aaf1fd20c82d2923aa7a…
Patch:
https://github.com/kamailio/kamailio/commit/9801ad5b4e7aaf1fd20c82d2923aa7a…
---
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);