Qsmtp  0.30dev
Functions
ipme.h File Reference

headers of functions to filter out IP addresses of the local machine More...

Go to the source code of this file.

Functions

struct ipsfilter_my_ips (struct ips *ipl)
 

Detailed Description

headers of functions to filter out IP addresses of the local machine

Function Documentation

struct ips* filter_my_ips ( struct ips ipl)

remove all IP addresses of the local machine from IP list

Parameters
ipllist of IP addresses
Returns
cleaned list
Return values
NULLall listed addresses are local ones

The address structs that match the local machine are freed.

If any errors are encountered while this function runs (e.g. a function called runs out of memory) the original list will be returned.