NAME
smfi_getpriv() — gets connection-specific data pointer for the sendmail connection
SYNOPSIS
#include <libmilter/mfapi.h>
void* smfi_getpriv(
SMFICTX *ctx
);
PARAMETERS
- ctx
Specifies the opaque context structure.
DESCRIPTION
The
smfi_getpriv()
routine gets the connection-specific data pointer for a connection.
smfi_getpriv()
can be called from the
xxfi_*
callback functions.
RETURN VALUE
The
smfi_getpriv()
routine returns the private data pointer stored by a previous call to
smfi_setpriv()
or returns NULL
if a data pointer has not been set.
AUTHOR
The
smfi_getpriv()
routine was developed by the Sendmail Inc.