From d48aa1e53ba2fcb8ad8269d32b97b2b255bbc95b Mon Sep 17 00:00:00 2001 From: Marenz Date: Sat, 30 Apr 2011 15:35:34 +0200 Subject: [PATCH] added flag to parse only contents of a packet --- include/psyc/parser.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/psyc/parser.h b/include/psyc/parser.h index ffac7d9..f1e8412 100644 --- a/include/psyc/parser.h +++ b/include/psyc/parser.h @@ -22,6 +22,8 @@ typedef enum { PSYC_PARSE_HEADER_ONLY = 1, + /// Expects only the content part of a packet. The length of the content must fit exactly in this case + PSYC_BEGIN_PARSE_AT_CONTENT = 2, } psycParseFlag; /**