summaryrefslogtreecommitdiff
path: root/snac.h
diff options
context:
space:
mode:
Diffstat (limited to 'snac.h')
-rw-r--r--snac.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/snac.h b/snac.h
index 0923df0..78c39ef 100644
--- a/snac.h
+++ b/snac.h
@@ -20,6 +20,8 @@
20#define MAX_CONVERSATION_LEVELS 48 20#define MAX_CONVERSATION_LEVELS 48
21#endif 21#endif
22 22
23#define MD5_HEX_SIZE 33
24
23extern double disk_layout; 25extern double disk_layout;
24extern xs_str *srv_basedir; 26extern xs_str *srv_basedir;
25extern xs_dict *srv_config; 27extern xs_dict *srv_config;
@@ -101,8 +103,8 @@ int index_gc(const char *fn);
101int index_first(const char *fn, char *buf, int size); 103int index_first(const char *fn, char *buf, int size);
102int index_len(const char *fn); 104int index_len(const char *fn);
103xs_list *index_list(const char *fn, int max); 105xs_list *index_list(const char *fn, int max);
104int index_desc_next(FILE *f, char md5[33]); 106int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]);
105int index_desc_first(FILE *f, char md5[33], int skip); 107int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip);
106xs_list *index_list_desc(const char *fn, int skip, int show); 108xs_list *index_list_desc(const char *fn, int skip, int show);
107 109
108int object_add(const char *id, const xs_dict *obj); 110int object_add(const char *id, const xs_dict *obj);