Accessing Address Check Data

Functions for accessing the attributes of address check results. More...

Modules

 Address Checking operations
 

Functions

int SOMCheckAddressGetStrParam (struct SOMCheckResults *res, int paramtype, char *buffer, size_t buflen, size_t *paramlenp)
 Return an string-valued parameter from the check results. More...
 
int SOMCheckAddressGetIntParam (struct SOMCheckResults *res, int paramtype, int *valp)
 Return an integer-valued parameter from the check results. More...
 

Detailed Description

Functions for accessing the attributes of address check results.

Function Documentation

◆ SOMCheckAddressGetStrParam()

int SOMCheckAddressGetStrParam ( struct SOMCheckResults *  res,
int  paramtype,
char *  buffer,
size_t  buflen,
size_t *  paramlenp 
)

Return an string-valued parameter from the check results.

Parameters
res[in] Pointer to check results object
paramtype[in] Type of parameter
buffer[in/out] address for result
buflen[in] length of buffer provided
paramlenp[out] Pointer to receive actual length
Returns
Zero on success or non-zero error code

◆ SOMCheckAddressGetIntParam()

int SOMCheckAddressGetIntParam ( struct SOMCheckResults *  res,
int  paramtype,
int *  valp 
)

Return an integer-valued parameter from the check results.

Parameters
res[in] Pointer to check results object
paramtype[in] Type of parameter
valp[out] Pointer to receive value
Returns
Zero on success or non-zero error code

All rights reserved © 2002 - 2024 Isode Ltd.