summaryrefslogtreecommitdiff
path: root/trackerlogic.h
diff options
context:
space:
mode:
Diffstat (limited to 'trackerlogic.h')
-rw-r--r--trackerlogic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/trackerlogic.h b/trackerlogic.h
index a5dce7c..7fcc73d 100644
--- a/trackerlogic.h
+++ b/trackerlogic.h
@@ -32,6 +32,10 @@ typedef time_t ot_time;
32#define OT_POOLS_TIMEOUT 300 32#define OT_POOLS_TIMEOUT 300
33#define NOW (time(NULL)/OT_POOLS_TIMEOUT) 33#define NOW (time(NULL)/OT_POOLS_TIMEOUT)
34 34
35#define OT_VECTOR_MIN_MEMBERS 128
36#define OT_VECTOR_GROW_RATIO 2
37#define OT_VECTOR_SHRINK_THRESH 3
38#define OT_VECTOR_SHRINK_RATIO 2
35typedef struct { 39typedef struct {
36 void *data; 40 void *data;
37 size_t size; 41 size_t size;