From e658892793c42b2d058eed0937025ef2ddaaa372 Mon Sep 17 00:00:00 2001 From: jin-eld Date: Sun, 4 Aug 2013 15:10:37 +0300 Subject: 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. --- core/packets.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 core/packets.h (limited to 'core/packets.h') 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 @@ -/* - * packet.h -- Packet structure - * - * This file is donated to the Tox Project. - * Copyright 2013 plutooo - */ - -typedef struct { - uint8_t id[CLIENT_ID_SIZE]; - -} __attribute__((packed)) clientid_t; - -// Ping packet -typedef struct { - uint8_t packet_id; - clientid_t client_id; - uint8_t nonce[crypto_box_NONCEBYTES]; - uint64_t ping_id; - uint8_t padding[ENCRYPTION_PADDING]; - -} __attribute__((packed)) pingreq_t; - -// Pong packet -typedef struct { - uint8_t packet_id; - clientid_t client_id; - uint8_t nonce[crypto_box_NONCEBYTES]; - uint64_t ping_id; - uint8_t padding[ENCRYPTION_PADDING]; - -} __attribute__((packed)) pingres_t; -- cgit v1.2.3