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.

RELATED TO ixp_respond…