[Asterisk-cvs] asterisk/include/asterisk acl.h,1.12,1.13
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Mon Jul 11 22:11:27 CDT 2005
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv12962/include/asterisk
Modified Files:
acl.h
Log Message:
allow explicit source address/port selection for peers (bug #4257, with minor mods)
Index: acl.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/acl.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- acl.h 21 Apr 2005 06:02:44 -0000 1.12
+++ acl.h 12 Jul 2005 02:19:41 -0000 1.13
@@ -49,6 +49,8 @@
extern struct ast_netsock *ast_netsock_bindaddr(struct ast_netsock_list *list, struct io_context *ioc, struct sockaddr_in *bindaddr, int tos, ast_io_cb callback, void *data);
extern int ast_netsock_free(struct ast_netsock_list *list, struct ast_netsock *netsock);
extern int ast_netsock_release(struct ast_netsock_list *list);
+extern struct ast_netsock *ast_netsock_find(struct ast_netsock_list *list,
+ struct sockaddr_in *sa);
extern int ast_netsock_sockfd(struct ast_netsock *ns);
extern const struct sockaddr_in *ast_netsock_boundaddr(struct ast_netsock *ns);
extern void *ast_netsock_data(struct ast_netsock *ns);
More information about the svn-commits
mailing list