Explorar el Código

acc: add new types

Add new types to support core fields of type date (for start and end date) and double (for duration).
mikomarrache hace 10 años
padre
commit
9801ad5b4e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 
 
-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);