From 0ed6ce80a01f8da277400949cb6b062e89b48b2a Mon Sep 17 00:00:00 2001 From: irungentoo <irungentoo@gmail.com> Date: Thu, 29 Aug 2013 19:09:30 -0400 Subject: [PATCH] Removed now useless file. --- toxcore/packets.h | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 toxcore/packets.h diff --git a/toxcore/packets.h b/toxcore/packets.h deleted file mode 100644 index e619f864..00000000 --- a/toxcore/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;