Mercurial > hg > nnchat
comparison util.h @ 669:32c13602c091
Some functions used were factored into new th_datastruct module in th-libs,
so include the necessary header file as needed, and build the module object.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 17 Feb 2016 14:28:17 +0200 |
parents | f212cbfbd93c |
children | ceb73b712121 |
comparison
equal
deleted
inserted
replaced
668:f212cbfbd93c | 669:32c13602c091 |
---|---|
8 | 8 |
9 #include <stdio.h> | 9 #include <stdio.h> |
10 #include <unistd.h> | 10 #include <unistd.h> |
11 #include "th_types.h" | 11 #include "th_types.h" |
12 #include "th_string.h" | 12 #include "th_string.h" |
13 #include "th_datastruct.h" | |
13 | 14 |
14 | 15 |
15 #define NN_TMPBUF_SIZE (4096) | 16 #define NN_TMPBUF_SIZE (4096) |
16 #define NN_ALLOC_SIZE (128) | 17 #define NN_ALLOC_SIZE (128) |
17 #define NN_NUM_BUCKETS (256) | 18 #define NN_NUM_BUCKETS (256) |