summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-08-28 01:20:44 -0400
committerPaul Duncan <pabs@pablotron.org>2016-08-28 01:20:44 -0400
commit1367fe1bafa1b877f4f92361294eab3a1dd3c11c (patch)
tree46ed75be5dcd420f6151888275a42176bd29b45e /include
parent56b49c7258f6c597da56ac615c7387b655485c47 (diff)
downloadlibfhp-1367fe1bafa1b877f4f92361294eab3a1dd3c11c.tar.bz2
libfhp-1367fe1bafa1b877f4f92361294eab3a1dd3c11c.zip
fix te-parser.c
Diffstat (limited to 'include')
-rw-r--r--include/fhp/fhp.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/fhp/fhp.h b/include/fhp/fhp.h
index d537a6e..5ca48b7 100644
--- a/include/fhp/fhp.h
+++ b/include/fhp/fhp.h
@@ -39,6 +39,8 @@ typedef enum {
FHP_ERR_INVALID_CHAR_IN_TE,
FHP_ERR_BAD_TE_STATE,
FHP_ERR_TE_PARSER_DONE,
+ FHP_ERR_NULL_TE_BUF,
+ FHP_ERR_SMALL_TE_BUF,
FHP_ERR_LAST
} fhp_err_t;
@@ -146,7 +148,10 @@ fhp_err_t
fhp_te_parser_push(fhp_te_parser_t *, uint8_t * const, size_t);
fhp_err_t
-fhp_te_parser_done(fhp_te_parser_t * const);
+fhp_te_parser_done(fhp_te_parser_t * const, size_t * const);
+
+fhp_err_t
+fhp_te_parser_get_tes(fhp_te_parser_t * const, uint32_t * const, size_t);
//
// context functions