ixp_srv_writectl(3)

ixp_srv_writectl3

Usage

#include <ixp_srvutil.h>
char *ixp_srv_writectl(Ixp9Req *req, char *(*fn)(void *, IxpMsg *));

Overview

This utility function is meant to simplify the writing of pseudo files to which single-lined commands are written. In order to use this function, the aux member of req->fid must be nul or an IxpFileId(3). Each line of the written data is stripped of its trailing newline, nul-terminated, and stored in an IxpMsg(3). For each line thus prepared, fn is called with the IxpMsg pointer and the the p member of the IxpFileId.

Releases

Unchanged in 4 releases since Debian 8 (Jessie).

  1. 8–11

From libixp-dev 0.6~20121202+hg148-5 in Debian 11 (Bullseye). Parsed by carta from the page's man source.