diff options
author | jin-eld <jin at mediatomb dot cc> | 2013-08-04 15:10:37 +0300 |
---|---|---|
committer | jin-eld <jin at mediatomb dot cc> | 2013-08-24 03:25:07 +0300 |
commit | e658892793c42b2d058eed0937025ef2ddaaa372 (patch) | |
tree | 2a022cab057f2c16ca95860ed980092880052f6e /core/packets.h | |
parent | e2aa8161adc85795fe4d63d4642f47e90937ddc2 (diff) |
Rename core directory because of autoconf name clash
While doing the checks configure might generate "core" files and will
then try to remove them. Having a "core" directory generates an error
while runing the configure script.
There's no workaround but to rename the core directory.
Diffstat (limited to 'core/packets.h')
-rw-r--r-- | core/packets.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/core/packets.h b/core/packets.h deleted file mode 100644 index 4f410fb3..00000000 --- a/core/packets.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | * packet.h -- Packet structure | ||
3 | * | ||
4 | * This file is donated to the Tox Project. | ||
5 | * Copyright 2013 plutooo | ||
6 | */ | ||
7 | |||
8 | typedef struct { | ||
9 | uint8_t id[CLIENT_ID_SIZE]; | ||
10 | |||
11 | } __attribute__((packed)) clientid_t; | ||
12 | |||
13 | // Ping packet | ||
14 | typedef struct { | ||
15 | uint8_t packet_id; | ||
16 | clientid_t client_id; | ||
17 | uint8_t nonce[crypto_box_NONCEBYTES]; | ||
18 | uint64_t ping_id; | ||
19 | uint8_t padding[ENCRYPTION_PADDING]; | ||
20 | |||
21 | } __attribute__((packed)) pingreq_t; | ||
22 | |||
23 | // Pong packet | ||
24 | typedef struct { | ||
25 | uint8_t packet_id; | ||
26 | clientid_t client_id; | ||
27 | uint8_t nonce[crypto_box_NONCEBYTES]; | ||
28 | uint64_t ping_id; | ||
29 | uint8_t padding[ENCRYPTION_PADDING]; | ||
30 | |||
31 | } __attribute__((packed)) pingres_t; | ||