summaryrefslogtreecommitdiff
path: root/include/asterisk/acl.h
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2009-09-03 16:31:54 +0000
committerDavid Vossel <dvossel@digium.com>2009-09-03 16:31:54 +0000
commitd09f9fd00a08c9e143ea68003ecf87dfe970a8a9 (patch)
treec83c86ded8f9d5a32fd96c2ee708c8185407971d /include/asterisk/acl.h
parent6d6ce303cbf2dbcacd4a84f4f6613a66fae56c48 (diff)
Merge code associated with AST-2009-006
(closes issue #12912) Reported by: rathaus Tested by: tilghman, russell, dvossel, dbrooks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@215955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/acl.h')
-rw-r--r--include/asterisk/acl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h
index 79b787d70..28ad09265 100644
--- a/include/asterisk/acl.h
+++ b/include/asterisk/acl.h
@@ -55,6 +55,9 @@ struct ast_ha {
/*! \brief Free host access list */
void ast_free_ha(struct ast_ha *ha);
+/*! \brief Copy ha structure */
+void ast_copy_ha(const struct ast_ha *from, struct ast_ha *to);
+
/*! \brief Append ACL entry to host access list. */
struct ast_ha *ast_append_ha(const char *sense, const char *stuff, struct ast_ha *path, int *error);