[Asterisk-cvs] asterisk/include/asterisk acl.h,1.5,1.6
markster at lists.digium.com
markster at lists.digium.com
Thu May 27 16:38:18 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv4321/include/asterisk
Modified Files:
acl.h
Log Message:
Add ACL copy routines (bug #1733)
Index: acl.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/acl.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- acl.h 28 Apr 2004 17:28:35 -0000 1.5
+++ acl.h 27 May 2004 20:53:02 -0000 1.6
@@ -14,6 +14,10 @@
#ifndef _ASTERISK_ACL_H
#define _ASTERISK_ACL_H
+#define AST_SENSE_DENY 0
+#define AST_SENSE_ALLOW 1
+
+
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
@@ -30,6 +34,7 @@
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 struct ast_ha *ast_duplicate_ha_list(struct ast_ha *original);
//! Compares the source address and port of two sockaddr_in
static inline int inaddrcmp(struct sockaddr_in *sin1, struct sockaddr_in *sin2)
More information about the svn-commits
mailing list