summaryrefslogtreecommitdiff
path: root/testing/hstox/errors.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-10-01 00:26:52 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-10-01 02:13:34 +0100
commitc037100747a1a224160cb12defb600ddfe1ba927 (patch)
tree8332a7d288116b802866e1ed98d1b950425206f7 /testing/hstox/errors.h
parent1977d56caaff40ea9bbf6754b69bec9539a5a969 (diff)
Import the hstox SUT interface from hstox.
We'll maintain it in the c-toxcore repo, where it belongs.
Diffstat (limited to 'testing/hstox/errors.h')
-rw-r--r--testing/hstox/errors.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/hstox/errors.h b/testing/hstox/errors.h
new file mode 100644
index 00000000..42bf864a
--- /dev/null
+++ b/testing/hstox/errors.h
@@ -0,0 +1,11 @@
1#define E_OK 0
2#define E_NOMEM 1
3#define E_SOCKET 2
4#define E_BIND 3
5#define E_LISTEN 4
6#define E_ACCEPT 5
7#define E_PARSE 6
8#define E_OPEN 7
9#define E_READ 8
10#define E_WRITE 9
11#define E_SODIUM 10