Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

func_insert

The func_insert function dynamically inserts a named function into the server’s table of functions. This function should only be called during the Init stage.

Syntax

FuncStruct *func_insert(char *name, FuncPtr fn);

Returns

Returns the FuncStruct structure that identifies the newly inserted function. The caller should not modify the contents of the FuncStruct structure.

Parameters

char *name is the name of the function.

FuncPtr fn is the pointer to the function.

Example

func_insert("my-service-saf", &my_service_saf);

See Also

func_exec, func_find