X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/059ec3d9952740285fb1ebf47961b8aca2eb1b4a..7f83b348ccf4cd815e9758ab9ca1012e66324e9d:/src/src/lss.c diff --git a/src/src/lss.c b/src/src/lss.c index 1d1ab8b61..167522d2f 100644 --- a/src/src/lss.c +++ b/src/src/lss.c @@ -1,10 +1,8 @@ -/* $Cambridge: exim/src/src/lss.c,v 1.1 2004/10/07 10:39:01 ph10 Exp $ */ - /************************************************* * Exim - an Internet mail transport agent * *************************************************/ -/* Copyright (c) University of Cambridge 1995 - 2004 */ +/* Copyright (c) University of Cambridge 1995 - 2015 */ /* See the file NOTICE for conditions of use and distribution. */ /* Support functions for calling from local_scan(). These are mostly just @@ -29,7 +27,7 @@ Returns: OK/FAIL/DEFER int lss_match_domain(uschar *domain, uschar *list) { -return match_isinlist(domain, &list, 0, &domainlist_anchor, NULL, MCL_DOMAIN, +return match_isinlist(CUS domain, CUSS &list, 0, &domainlist_anchor, NULL, MCL_DOMAIN, TRUE, NULL); } @@ -51,7 +49,7 @@ Returns: OK/FAIL/DEFER int lss_match_local_part(uschar *local_part, uschar *list, BOOL caseless) { -return match_isinlist(local_part, &list, 0, &localpartlist_anchor, NULL, +return match_isinlist(CUS local_part, CUSS &list, 0, &localpartlist_anchor, NULL, MCL_LOCALPART, caseless, NULL); } @@ -73,7 +71,7 @@ Returns: OK/FAIL/DEFER int lss_match_address(uschar *address, uschar *list, BOOL caseless) { -return match_address_list(address, caseless, TRUE, &list, NULL, -1, 0, NULL); +return match_address_list(CUS address, caseless, TRUE, CUSS &list, NULL, -1, 0, NULL); } @@ -97,7 +95,7 @@ Returns: OK/FAIL/DEFER int lss_match_host(uschar *host_name, uschar *host_address, uschar *list) { -return verify_check_this_host(&list, NULL, host_name, host_address, NULL); +return verify_check_this_host(CUSS &list, NULL, host_name, host_address, NULL); } @@ -117,9 +115,9 @@ Returns: a pointer to the zero-terminated base 64 string, which */ uschar * -lss_b64encode(uschar *clear, int len) +lss_b64encode(uschar * clear, int len) { -return auth_b64encode(clear, len); +return b64encode(CUS clear, len); } /* @@ -137,7 +135,7 @@ be interpreted as text. This is not included in the count. */ int lss_b64decode(uschar *code, uschar **ptr) { -return auth_b64decode(code, ptr); +return b64decode(code, ptr); }