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

Function xmlNanoHTTPReturnCode

ThirdParty/libxml2/vtklibxml2/nanohttp.c:1678–1685  ·  view source on GitHub ↗

* xmlNanoHTTPReturnCode: * @ctx: the HTTP context * * Get the latest HTTP return code received * * Returns the HTTP return code for the request. */

Source from the content-addressed store, hash-verified

1676 * Returns the HTTP return code for the request.
1677 */
1678int
1679xmlNanoHTTPReturnCode(void *ctx) {
1680 xmlNanoHTTPCtxtPtr ctxt = (xmlNanoHTTPCtxtPtr) ctx;
1681
1682 if (ctxt == NULL) return(-1);
1683
1684 return(ctxt->returnValue);
1685}
1686
1687/**
1688 * xmlNanoHTTPAuthHeader:

Callers 1

xmlCheckHTTPInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected