Selaa lähdekoodia

acc: add new types

Add new types to support core fields of type date (for start and end date) and double (for duration).
mikomarrache 10 vuotta sitten
vanhempi
commit
9801ad5b4e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      modules/acc/acc_api.h

+ 1 - 1
modules/acc/acc_api.h

@@ -110,7 +110,7 @@ typedef struct acc_engine {
 #define ACC_CORE_LEN  6
 #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);
 typedef int (*register_engine_f)(acc_engine_t *eng);