]> git.ipfire.org Git - thirdparty/plymouth.git/commitdiff
add new "multiple answer" reply type to protocol
authorRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 15:45:49 +0000 (11:45 -0400)
committerRay Strode <rstrode@redhat.com>
Wed, 20 Aug 2008 19:50:49 +0000 (15:50 -0400)
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

index a4f10e60a54de5df02b960420cbbac216341c988..f31b181a0ccd0aac7adbfeff883e31a4fb858afa 100644 (file)
@@ -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 */