From ffa35e667f46d7e9ad8f89c542ad6f450c8597ed Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Wed, 20 Aug 2008 11:45:49 -0400 Subject: [PATCH] add new "multiple answer" reply type to protocol When returning cached answers we'll need to return an entire list. This provides a way for the client to know if it needs to read in more than one answer or not. --- src/ply-boot-protocol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ply-boot-protocol.h b/src/ply-boot-protocol.h index a4f10e60..f31b181a 100644 --- a/src/ply-boot-protocol.h +++ b/src/ply-boot-protocol.h @@ -36,6 +36,7 @@ #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ACK "\x6" #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NAK "\x15" #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_ANSWER "\x2" +#define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_MULTIPLE_ANSWERS "\t" #define PLY_BOOT_PROTOCOL_RESPONSE_TYPE_NO_ANSWER "\x5" #endif /* PLY_BOOT_PROTOCOL_H */ -- 2.47.3