Fast Transfer stream parser. More...
Defines | |
#define | OC_ASSERT(x) |
Functions | |
_PUBLIC_ struct fx_parser_context * | fxparser_init (TALLOC_CTX *mem_ctx, void *priv) |
_PUBLIC_ void | 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 | ) |
Referenced by mapidump_SPropValue().
_PUBLIC_ struct fx_parser_context* fxparser_init | ( | TALLOC_CTX * | mem_ctx, |
void * | priv | ||
) | [read] |
initialise a fast transfer parser
References fx_parser_context::mem_ctx, fx_parser_context::data, fx_parser_context::state, ParserState_Entry, fx_parser_context::idx, fx_parser_context::lpProp, fx_parser_context::length, and fx_parser_context::priv.
_PUBLIC_ void fxparser_parse | ( | struct fx_parser_context * | parser, |
DATA_BLOB * | fxbuf | ||
) |
parse a fast transfer buffer
References fx_parser_context::mem_ctx, fx_parser_context::data, fx_parser_context::enough_data, fx_parser_context::idx, fx_parser_context::state, ParserState_Entry, ParserState_HaveTag, fx_parser_context::tag, PidTagStartTopFld, PidTagStartSubFld, PidTagEndFolder, PidTagStartMessage, PidTagStartFAIMsg, PidTagEndMessage, PidTagStartRecip, PidTagEndToRecip, PidTagNewAttach, PidTagEndAttach, PidTagStartEmbed, PidTagEndEmbed, fx_parser_context::op_marker, fx_parser_context::priv, PidTagFXDelProp, fx_parser_context::op_delprop, fx_parser_context::lpProp, ParserState_HavePropTag, fx_parser_context::length, and fx_parser_context::op_property.
_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/ |