Go to the documentation of this file.
40 #include "contiki-conf.h"
48 #ifndef DB_FEATURE_JOIN
49 #define DB_FEATURE_JOIN 1
53 #ifndef DB_FEATURE_REMOVE
54 #define DB_FEATURE_REMOVE 1
58 #ifndef DB_FEATURE_FLOATS
59 #define DB_FEATURE_FLOATS 0
63 #ifndef DB_FEATURE_COFFEE
64 #define DB_FEATURE_COFFEE 1
68 #ifndef DB_FEATURE_INTEGRITY
69 #define DB_FEATURE_INTEGRITY 0
77 #ifndef DB_ERROR_BUF_SIZE
78 #define DB_ERROR_BUF_SIZE 50
82 #ifndef DB_INDEX_POOL_SIZE
83 #define DB_INDEX_POOL_SIZE 3
87 #ifndef DB_RELATION_POOL_SIZE
88 #define DB_RELATION_POOL_SIZE 5
92 #ifndef DB_ATTRIBUTE_POOL_SIZE
93 #define DB_ATTRIBUTE_POOL_SIZE 16
97 #ifndef DB_MAX_ATTRIBUTES_PER_RELATION
98 #define DB_MAX_ATTRIBUTES_PER_RELATION 6
102 #ifndef DB_MAX_ELEMENT_SIZE
103 #define DB_MAX_ELEMENT_SIZE 16
109 #ifndef DB_VM_BYTECODE_SIZE
110 #define DB_VM_BYTECODE_SIZE 128
118 #ifndef AQL_MAX_QUERY_LENGTH
119 #define AQL_MAX_QUERY_LENGTH 128
122 #ifndef AQL_MAX_VALUE_LENGTH
123 #define AQL_MAX_VALUE_LENGTH DB_MAX_ELEMENT_SIZE
127 #ifndef AQL_RELATION_LIMIT
128 #define AQL_RELATION_LIMIT 3
132 #ifndef AQL_ATTRIBUTE_LIMIT
133 #define AQL_ATTRIBUTE_LIMIT 5
145 #ifndef DB_COFFEE_RESERVE_SIZE
146 #define DB_COFFEE_RESERVE_SIZE (128 * 1024UL)
151 #ifndef DB_MAX_CHAR_SIZE_PER_ROW
152 #define DB_MAX_CHAR_SIZE_PER_ROW 64
156 #ifndef DB_MAX_FILENAME_LENGTH
157 #define DB_MAX_FILENAME_LENGTH 16
161 #ifndef ATTRIBUTE_NAME_LENGTH
162 #define ATTRIBUTE_NAME_LENGTH 12
166 #ifndef RELATION_NAME_LENGTH
167 #define RELATION_NAME_LENGTH 10
172 #ifndef RESULT_RELATION
173 #define RESULT_RELATION "db-result"
177 #ifndef REMOVE_RELATION
178 #define REMOVE_RELATION "db-remove"
185 #ifndef DB_INDEX_COST
186 #define DB_INDEX_COST 64
190 #ifndef DB_MEMHASH_INDEX_LIMIT
191 #define DB_MEMHASH_INDEX_LIMIT 1
195 #ifndef DB_MEMHASH_TABLE_SIZE
196 #define DB_MEMHASH_TABLE_SIZE 61
200 #ifndef DB_HEAP_INDEX_LIMIT
201 #define DB_HEAP_INDEX_LIMIT 1
205 #ifndef DB_HEAP_CACHE_LIMIT
206 #define DB_HEAP_CACHE_LIMIT 1
215 #ifndef LVM_MAX_NAME_LENGTH
216 #define LVM_MAX_NAME_LENGTH ATTRIBUTE_NAME_LENGTH
221 #ifndef LVM_MAX_VARIABLE_ID
222 #define LVM_MAX_VARIABLE_ID AQL_ATTRIBUTE_LIMIT - 1
226 #ifndef LVM_USE_FLOATS
227 #define LVM_USE_FLOATS DB_FEATURE_FLOATS