3 #ifndef _INET_ADDR_LIST_H_INCLUDED_
4 #define _INET_ADDR_LIST_H_INCLUDED_
10 /* internet address list manager
12 /* #include <inet_addr_list.h>
19 #include <myaddrinfo.h> /* generic name/addr API */
24 typedef struct INET_ADDR_LIST
{
25 int used
; /* nr of elements in use */
26 int size
; /* actual list size */
27 struct sockaddr_storage
*addrs
; /* payload */
30 extern void inet_addr_list_init(INET_ADDR_LIST
*);
31 extern void inet_addr_list_free(INET_ADDR_LIST
*);
32 extern void inet_addr_list_uniq(INET_ADDR_LIST
*);
33 extern void inet_addr_list_append(INET_ADDR_LIST
*, struct sockaddr
*);
38 /* The Secure Mailer license must be distributed with this software.
41 /* IBM T.J. Watson Research
43 /* Yorktown Heights, NY 10598, USA