summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2003-04-08 23:02:36 +0000
committerMark Spencer <markster@digium.com>2003-04-08 23:02:36 +0000
commit2758349cae89c55942a2ae75bf6ac2211893fad6 (patch)
tree147ff1c581f239e498a24cd2bf14964d7cb48dcb /include
parent7f844be5e0a6c31fcf722a387630c203d35280ec (diff)
Make all address comparisons explicit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@789 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/acl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/acl.h b/include/asterisk/acl.h
index 881821c53..e2def3cb6 100755
--- a/include/asterisk/acl.h
+++ b/include/asterisk/acl.h
@@ -28,6 +28,7 @@ extern void ast_free_ha(struct ast_ha *ha);
extern struct ast_ha *ast_append_ha(char *sense, char *stuff, struct ast_ha *path);
extern int ast_apply_ha(struct ast_ha *ha, struct sockaddr_in *sin);
extern int ast_get_ip(struct sockaddr_in *sin, char *value);
+extern int inaddrcmp(struct sockaddr_in *sin1, struct sockaddr_in *sin2);
#if defined(__cplusplus) || defined(c_plusplus)
}