1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00

parser: added return code aliases for routing-only mode

This commit is contained in:
tg(x) 2011-05-01 12:08:09 +02:00
parent 5d58cde51a
commit 29b8e8c0d5
2 changed files with 10 additions and 2 deletions

View file

@ -58,6 +58,12 @@ enum ParseRC
PARSE_BODY = 5,
/// Body parsing is incomplete, name contains method, value contains part of the body.
PARSE_BODY_INCOMPLETE = 6,
/// Content parsing done, value contains the whole content.
/// Used when PSYC_PARSE_ROUTING_ONLY is set.
PARSE_CONTENT = 5,
/// Content parsing is incomplete, value contains part of content.
/// Used when PSYC_PARSE_ROUTING_ONLY is set.
PARSE_CONTENT_INCOMPLETE = 6,
/// Reached end of packet, parsing done.
PARSE_COMPLETE = 7,
/// Binary value parsing incomplete, used internally.

View file

@ -60,9 +60,11 @@ 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.
/// 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.
/// 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,