From 5a75ec3a6e236874a66c6bb92c72f4621a62ae7f Mon Sep 17 00:00:00 2001 From: Gabor Adam Toth Date: Sun, 1 May 2011 11:59:15 +0200 Subject: [PATCH] parser: added return code aliases for routing-only mode --- include/psyc/parser.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/psyc/parser.h b/include/psyc/parser.h index bc17948..3fdfbd3 100644 --- a/include/psyc/parser.h +++ b/include/psyc/parser.h @@ -60,6 +60,10 @@ typedef enum PSYC_PARSE_BODY = 5, /// Body parsing is incomplete, name contains method, value contains part of the body. PSYC_PARSE_BODY_INCOMPLETE = 6, +/// Content parsing done, value contains the whole content. Used when PSYC_PARSE_ROUTING_ONLY is set. + PSYC_PARSE_CONTENT = 5, +/// Content parsing is incomplete, value contains part of content. Used when PSYC_PARSE_ROUTING_ONLY is set. + PSYC_PARSE_CONTENT_INCOMPLETE = 6, /// Reached end of packet, parsing done. PSYC_PARSE_COMPLETE = 7, /// Binary value parsing incomplete, used internally.