summaryrefslogtreecommitdiff
path: root/toxencryptsave/toxencryptsave.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-09-14 13:08:01 -0400
committerirungentoo <irungentoo@gmail.com>2014-09-14 13:08:01 -0400
commit5a2a756671202a6d462913ce8ca2b3882679bbde (patch)
tree15e129b7260fde30a72c110aef83da15dd4defd7 /toxencryptsave/toxencryptsave.h
parent331efce602661e002c33199baa75ee767bbd802f (diff)
Fixed toxencryptsave include issue.
Diffstat (limited to 'toxencryptsave/toxencryptsave.h')
-rw-r--r--toxencryptsave/toxencryptsave.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/toxencryptsave/toxencryptsave.h b/toxencryptsave/toxencryptsave.h
index 64617b27..75094a2b 100644
--- a/toxencryptsave/toxencryptsave.h
+++ b/toxencryptsave/toxencryptsave.h
@@ -24,12 +24,18 @@
24#ifndef TOXENCRYPTSAVE_H 24#ifndef TOXENCRYPTSAVE_H
25#define TOXENCRYPTSAVE_H 25#define TOXENCRYPTSAVE_H
26 26
27#include "../toxcore/tox.h"
28
29#ifdef __cplusplus 27#ifdef __cplusplus
30extern "C" { 28extern "C" {
31#endif 29#endif
32 30
31#include <stdint.h>
32
33#ifndef __TOX_DEFINED__
34#define __TOX_DEFINED__
35typedef struct Tox Tox;
36#endif
37
38
33/* This "module" provides functions analogous to tox_load and tox_save in toxcore 39/* This "module" provides functions analogous to tox_load and tox_save in toxcore
34 * Clients should consider alerting their users that, unlike plain data, if even one bit 40 * Clients should consider alerting their users that, unlike plain data, if even one bit
35 * becomes corrupted, the data will be entirely unrecoverable. 41 * becomes corrupted, the data will be entirely unrecoverable.