summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorGDR! <gdr@gdr.name>2015-06-19 20:25:14 +0200
committerGDR! <gdr@gdr.name>2015-06-19 20:25:14 +0200
commit97b9fd40dbba9b94144862f719a2a4ca8f12af22 (patch)
tree2f421b3aa4bac5ca6cfaef03d4511b3f0e5f8f2b /util.h
parent114911b46f221912e25589d746dc1f9f905413bd (diff)
The program now compiles with new toxcore (67df1ab7ce)
Diffstat (limited to 'util.h')
-rw-r--r--util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/util.h b/util.h
index 30d24a5..1a210d5 100644
--- a/util.h
+++ b/util.h
@@ -3,6 +3,7 @@
3 3
4#include <unistd.h> 4#include <unistd.h>
5#include <stdint.h> 5#include <stdint.h>
6#include <tox/tox.h>
6#define countof(x) (sizeof(x)/sizeof(*(x))) 7#define countof(x) (sizeof(x)/sizeof(*(x)))
7#define char_t unsigned char 8#define char_t unsigned char
8 9
@@ -11,5 +12,6 @@ void to_hex(char_t *a, const char_t *p, int size);
11void id_to_string(char_t *dest, const char_t *src); 12void id_to_string(char_t *dest, const char_t *src);
12int string_to_id(char_t *w, char_t *a); 13int string_to_id(char_t *w, char_t *a);
13void* file_raw(char *path, uint32_t *size); 14void* file_raw(char *path, uint32_t *size);
15const char *readable_connection_status(TOX_CONNECTION status);
14 16
15#endif 17#endif