Fast Transfer stream parser. More...
Macros | |
#define | OC_ASSERT(x) |
Functions | |
_PUBLIC_ struct fx_parser_context * | fxparser_init (TALLOC_CTX *mem_ctx, void *priv) |
_PUBLIC_ enum MAPISTATUS | fxparser_parse (struct fx_parser_context *parser, DATA_BLOB *fxbuf) |
_PUBLIC_ void | fxparser_set_delprop_callback (struct fx_parser_context *parser, fxparser_delprop_callback_t delprop_callback) |
_PUBLIC_ void | fxparser_set_marker_callback (struct fx_parser_context *parser, fxparser_marker_callback_t marker_callback) |
_PUBLIC_ void | fxparser_set_namedprop_callback (struct fx_parser_context *parser, fxparser_namedprop_callback_t namedprop_callback) |
_PUBLIC_ void | fxparser_set_property_callback (struct fx_parser_context *parser, fxparser_property_callback_t property_callback) |
Fast Transfer stream parser.
#define OC_ASSERT | ( | x) |
_PUBLIC_ struct fx_parser_context* fxparser_init | ( | TALLOC_CTX * | mem_ctx, |
void * | priv | ||
) |
initialise a fast transfer parser
References fx_parser_context::data, fx_parser_context::idx, fx_parser_context::lpProp, fx_parser_context::mem_ctx, ParserState_Entry, fx_parser_context::priv, and fx_parser_context::state.
_PUBLIC_ enum MAPISTATUS fxparser_parse | ( | struct fx_parser_context * | parser, |
DATA_BLOB * | fxbuf | ||
) |
parse a fast transfer buffer
References fx_parser_context::data, fx_parser_context::enough_data, fx_parser_context::idx, fx_parser_context::lpProp, fx_parser_context::mem_ctx, fx_parser_context::op_delprop, fx_parser_context::op_marker, fx_parser_context::op_property, ParserState_Entry, ParserState_HavePropTag, ParserState_HaveTag, PidTagEndAttach, PidTagEndEmbed, PidTagEndFolder, PidTagEndMessage, PidTagEndToRecip, PidTagFXDelProp, PidTagNewAttach, PidTagStartEmbed, PidTagStartFAIMsg, PidTagStartMessage, PidTagStartRecip, PidTagStartSubFld, PidTagStartTopFld, fx_parser_context::priv, fx_parser_context::state, and fx_parser_context::tag.
_PUBLIC_ void fxparser_set_delprop_callback | ( | struct fx_parser_context * | parser, |
fxparser_delprop_callback_t | delprop_callback | ||
) |
set a callback function for delete properties output
References fx_parser_context::op_delprop.
_PUBLIC_ void fxparser_set_marker_callback | ( | struct fx_parser_context * | parser, |
fxparser_marker_callback_t | marker_callback | ||
) |
set a callback function for marker output
References fx_parser_context::op_marker.
_PUBLIC_ void fxparser_set_namedprop_callback | ( | struct fx_parser_context * | parser, |
fxparser_namedprop_callback_t | namedprop_callback | ||
) |
set a callback function for named properties output
References fx_parser_context::op_namedprop.
_PUBLIC_ void fxparser_set_property_callback | ( | struct fx_parser_context * | parser, |
fxparser_property_callback_t | property_callback | ||
) |
set a callback function for property output
References fx_parser_context::op_property.
![]() ![]() ![]() |
This content is licensed under the Creative Commons Attribution ShareAlike License v. 3.0: http://creativecommons.org/licenses/by-sa/3.0/ |