Index: acl.h =================================================================== RCS file: /usr/cvsroot/asterisk/include/asterisk/acl.h,v retrieving revision 1.6 diff -u -r1.6 acl.h --- acl.h 27 May 2004 20:53:02 -0000 1.6 +++ acl.h 7 Sep 2004 23:01:52 -0000 @@ -22,11 +22,14 @@ extern "C" { #endif +#include #include +#include /* Host based access control */ struct ast_ha; +struct ast_if_t; extern void ast_free_ha(struct ast_ha *ha); extern struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path); @@ -34,6 +37,8 @@ extern int ast_get_ip(struct sockaddr_in *sin, char *value); extern int ast_ouraddrfor(struct in_addr *them, struct in_addr *us); extern int ast_lookup_iface(char *iface, struct in_addr *address); +extern int ast_lookup_iface_2(struct ast_if_t *ife); +extern int ast_get_if_list(struct ast_if_t *if_list, int *size); extern struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original); //! Compares the source address and port of two sockaddr_in