Sun Java System Web Proxy Server 4.0.11 NSAPI Developer's Guide

pblock_nlinsert

The pblock_nlinsert function creates a new parameter structure with a given name and long numeric value and inserts the structure into a specified parameter block. The name and value parameters are also newly allocated.

Syntax

#include <libproxy/util.h>
pb_param *pblock_nlinsert(char *name, long value, pblock *pb);

Returns

The newly allocated parameter block structure

Parameters

char *name is the name by which the name-value pair is stored.

long value is the long or integer value being inserted into the parameter block.

pblock *pb is the parameter block into which the insertion occurs.

See Also

pblock_findlong