X-Git-Url: http://git.bytex64.net/?a=blobdiff_plain;f=config.h;h=c907f35a843eb392588c3a32f9d8c193cf32f7b5;hb=948ce5be6ef6bba36edfb544565ca22e316afb0a;hp=9a1624619b418124308dc394352aecc33fdb93ad;hpb=e476507780c8d223365fadf59197ea7841848d3d;p=blerg.git diff --git a/config.h b/config.h index 9a16246..c907f35 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,7 @@ #ifndef _CONFIG_H #define _CONFIG_H +#define BLERG_PATH "/var/lib/blerg" #define DATA_PATH "data" #define HASH_TAGS_PATH "hash_tags" #define REF_TAGS_PATH "ref_tags" @@ -10,4 +11,9 @@ #define RECORDS_PER_SEGMENT 65536 #define MAX_RECORD_SIZE 65535 /* No greater than 65535 */ +#define MAX_TAG_LENGTH 64 +#define MAX_TAGS_PER_RECORD 1024 + +#define AUTHENTICATION_TIMEOUT 3600 /* Time out the user's session after one hour */ + #endif //_CONFIG_H