diff options
author | default <nobody@localhost> | 2024-07-23 09:59:48 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2024-07-23 09:59:48 +0200 |
commit | c06132579cdfa1ffa41d73f438b7e2999c4c8e62 (patch) | |
tree | 3c6633a956b3600122c878b1effdf840f198a7a3 /snac.h | |
parent | 5921ec57f6804747c1a678d8ab78262b8235b0ab (diff) |
New constant MD5_HEX_SIZE.
Diffstat (limited to 'snac.h')
-rw-r--r-- | snac.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -20,6 +20,8 @@ #define MAX_CONVERSATION_LEVELS 48 #endif +#define MD5_HEX_SIZE 33 + extern double disk_layout; extern xs_str *srv_basedir; extern xs_dict *srv_config; @@ -101,8 +103,8 @@ int index_gc(const char *fn); int index_first(const char *fn, char *buf, int size); int index_len(const char *fn); xs_list *index_list(const char *fn, int max); -int index_desc_next(FILE *f, char md5[33]); -int index_desc_first(FILE *f, char md5[33], int skip); +int index_desc_next(FILE *f, char md5[MD5_HEX_SIZE]); +int index_desc_first(FILE *f, char md5[MD5_HEX_SIZE], int skip); xs_list *index_list_desc(const char *fn, int skip, int show); int object_add(const char *id, const xs_dict *obj); |