smfi_setpriv(3N)smfi_setpriv(3N)NAMEsmfi_setpriv() - sets the private data pointer for the sendmail connec‐
tion
SYNOPSISPARAMETERS
ctx Specifies the opaque context structure.
privatedata Pointer to the private data. This value is returned by
subsequent calls to the function using the ctx argument.
DESCRIPTION
The routine sets the private data pointer for the context ctx. The
routine can be called in any callback functions.
Notes
A single private data pointer exists for a connection. Multiple calls
to with different values result in loss of old values. Before a filter
terminates, it must release the private data and set the pointer to a
value.
RETURN VALUE
The routine returns if ctx is an invalid context.
returns if ctx is a valid context.
AUTHOR
The routine was developed by the Sendmail Inc.
SEE ALSOsmfi_getsymval(3N), smfi_setmlreply(3N), smfi_setreply(3N), smfi_get‐
priv(3N).
on
smfi_setpriv(3N)