aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/acl.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-08 23:02:36 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-04-08 23:02:36 +0000
commit34a25ffc0a705b36c862afa3454c060793b846cd (patch)
tree147ff1c581f239e498a24cd2bf14964d7cb48dcb /include/asterisk/acl.h
parent7a4c90b23662de39d0c1d5f69d3db6f9cb81da26 (diff)
Make all address comparisons explicit
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@789 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/acl.h')
-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)
}