IXP_RESPOND(3)

NAME

ixp_respond

SYNOPSIS
#include <ixp.h>
void ixp_respond(Ixp9Req *req, const char *error);

DESCRIPTION

Sends a response to the given request. The response is constructed from the ofcall member of the req parameter, or from the error parameter if it is non-null. In the latter case, the response is of type RError, while in any other case it is of the same type as req->ofcall, which must match the request type in req->ifcall.

SEE ALSO

Ixp9Req(3), ixp_printfcall(3)