diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fhp/fhp.h | 7 |
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 |