[asterisk-commits] blanchet: branch blanchet/v6 r60190 - /team/blanchet/v6/include/asterisk/acl.h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Apr 4 13:13:03 MST 2007


Author: blanchet
Date: Wed Apr  4 15:13:02 2007
New Revision: 60190

URL: http://svn.digium.com/view/asterisk?view=rev&rev=60190
Log:
changed prototype declaration of get_ip_or_srv to support generic sockaddr.

Modified:
    team/blanchet/v6/include/asterisk/acl.h

Modified: team/blanchet/v6/include/asterisk/acl.h
URL: http://svn.digium.com/view/asterisk/team/blanchet/v6/include/asterisk/acl.h?view=diff&rev=60190&r1=60189&r2=60190
==============================================================================
--- team/blanchet/v6/include/asterisk/acl.h (original)
+++ team/blanchet/v6/include/asterisk/acl.h Wed Apr  4 15:13:02 2007
@@ -42,7 +42,8 @@
 struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path);
 int ast_apply_ha(struct ast_ha *ha, struct sockaddr_in *sin);
 int ast_get_ip(struct sockaddr_in *sin, const char *value);
-int ast_get_ip_or_srv(struct sockaddr_in *sin, const char *value, const char *service);
+int ast_get_ip_or_srv(struct sockaddr *sa, socklen_t *salen,
+		      const char *value, const char *service);
 int ast_ouraddrfor(struct in_addr *them, struct in_addr *us);
 int ast_lookup_iface(char *iface, struct in_addr *address);
 struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original);



More information about the asterisk-commits mailing list