-
Notifications
You must be signed in to change notification settings - Fork 0
mdz_xml_setParseCallback
maxdz-gmbh edited this page Apr 29, 2021
·
1 revision
Set callback for reporting percent of XML-document processed during parsing.
mdz_bool mdz_xml_setParseCallback(const struct mdz_Xml* pXml, mdz_ProgressCallbackFunc pCallbackFunc, unsigned char nPercentProCall);
Parameter | Description |
---|---|
pXml |
pointer to XML-parser instance returned by mdz_xml_create()
|
pCallbackFunc |
callback function, reports percent of processing [0..100] in parameter nPercent |
nPercentProCall |
after how many percents of parsing callback should be called. Parameter value should be in [1..50] |
Return | Description |
---|---|
mdz_false | if pXml == NULL
|
mdz_false | if pCallbackFunc == NULL , or nPercentProCall == 0, or nPercentProCall > 50 (MDZ_XML_ERROR_PARAM) |
mdz_true | callback is set |
mdz_xml API Reference is generated using mdzApiRefGenerator.
-
Library init/uninit functions
-
Parser create/destroy functions
-
Parse functions
-
Service functions
-
Navigation functions