MCPcopy Create free account
hub / github.com/Kitware/VTK / __xmlRaiseError

Function __xmlRaiseError

ThirdParty/libxml2/vtklibxml2/error.c:774–792  ·  view source on GitHub ↗

* __xmlRaiseError: * @schannel: the structured callback channel * @channel: the old callback channel * @data: the callback data * @ctx: the parser context or NULL * @nod: the node or NULL * @domain: the domain for the error * @code: the code for the error * @level: the xmlErrorLevel for the error * @file: the file source of the error (or NULL) * @line: the line of the error or 0 if N/A

Source from the content-addressed store, hash-verified

772 * Returns 0 on success, -1 if a memory allocation failed.
773 */
774int
775__xmlRaiseError(xmlStructuredErrorFunc schannel,
776 xmlGenericErrorFunc channel, void *data, void *ctx,
777 xmlNode *node, int domain, int code, xmlErrorLevel level,
778 const char *file, int line, const char *str1,
779 const char *str2, const char *str3, int int1, int col,
780 const char *msg, ...)
781{
782 va_list ap;
783 int res;
784
785 va_start(ap, msg);
786 res = xmlVRaiseError(schannel, channel, data, ctx, node, domain, code,
787 level, file, line, str1, str2, str3, int1, col, msg,
788 ap);
789 va_end(ap);
790
791 return(res);
792}
793
794static void
795xmlVFormatLegacyError(void *ctx, const char *level,

Callers 13

LIBXML_ATTR_FORMATFunction · 0.85
xmlXPathErrFunction · 0.85
schematron.cFile · 0.85
xpointer.cFile · 0.85
xmlRegexpErrCompileFunction · 0.85
htmlSaveErrFunction · 0.85
xmlSaveErrFunction · 0.85
xinclude.cFile · 0.85
xmlWriterErrMsgFunction · 0.85
LIBXML_ATTR_FORMATFunction · 0.85
relaxng.cFile · 0.85

Calls 1

xmlVRaiseErrorFunction · 0.85

Tested by

no test coverage detected