parser: added return code aliases for routing-only mode

This commit is contained in:
Gabor Adam Toth 2011-05-01 11:59:15 +02:00
parent d60d694d7f
commit 5a75ec3a6e
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ typedef enum
PSYC_PARSE_BODY = 5, PSYC_PARSE_BODY = 5,
/// Body parsing is incomplete, name contains method, value contains part of the body. /// Body parsing is incomplete, name contains method, value contains part of the body.
PSYC_PARSE_BODY_INCOMPLETE = 6, 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. /// Reached end of packet, parsing done.
PSYC_PARSE_COMPLETE = 7, PSYC_PARSE_COMPLETE = 7,
/// Binary value parsing incomplete, used internally. /// Binary value parsing incomplete, used internally.