From 1367fe1bafa1b877f4f92361294eab3a1dd3c11c Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Sun, 28 Aug 2016 01:20:44 -0400 Subject: fix te-parser.c --- include/fhp/fhp.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include/fhp') 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 -- cgit v1.2.3