|
Qsmtp
0.30dev
|
functions to filter out IP addresses of the local machine More...
#include <ipme.h>#include <qdns.h>#include <assert.h>#include <ifaddrs.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <sys/types.h>Functions | |
| struct ips * | filter_my_ips (struct ips *ipl) |
functions to filter out IP addresses of the local machine
remove all IP addresses of the local machine from IP list
| ipl | list of IP addresses |
| NULL | all 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.
1.8.10