summaryrefslogtreecommitdiff
path: root/libmailutils/tests/.gitignore
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-10-24 14:26:08 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-10-24 14:46:19 +0300
commitbe1380d7aa53c031a237b5e993187733eab3fa40 (patch)
treed51add3f754cd73e37c9c8c345ba04d94b838152 /libmailutils/tests/.gitignore
parentd992b1b4f5d731a3e11a5caaffd22cfd068e5477 (diff)
downloadmailutils-be1380d7aa53c031a237b5e993187733eab3fa40.tar.gz
mailutils-be1380d7aa53c031a237b5e993187733eab3fa40.tar.bz2
Improve the algorithm for URL look up in wickets.
The new algorithm always returns the best match, i.e. the one with the smallest number of wildcard comparisons. * include/mailutils/auth.h (mu_wicket_stream_match_url) (mu_wicket_file_match_url): New protos. Remove unnecessary 'extern' qualifiers. * include/mailutils/url.h (mu_url_is_ticket): Remove. (mu_url_matches_ticket): New proto. * libmailutils/base/url.c (mu_url_parse): Fix name corruption during password obfuscation. (defined): Remove static function. (mu_url_is_ticket): Remove function. (mu_url_matches_ticket): New function. * libmailutils/base/wicket.c (get_ticket_url): Remove. (mu_wicket_stream_match_url) (mu_wicket_file_match_url): New functions. (file_ticket_get_cred): Use mu_wicket_file_match_url. * libmailutils/tests/wicket.c: New file. * libmailutils/tests/Wicketfile: New file. * libmailutils/tests/wicket.at: New file. * libmailutils/tests/Makefile.am (noinst_PROGRAMS): Add wicket. (EXTRA_DIST): Add Wicketfile (TESTSUITE_AT): Add wicket.at * libmailutils/tests/testsuite.at: Include wicket.at * libmailutils/tests/.gitignore: Update.
Diffstat (limited to 'libmailutils/tests/.gitignore')
-rw-r--r--libmailutils/tests/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmailutils/tests/.gitignore b/libmailutils/tests/.gitignore
index 63b7b53ac..ec7502034 100644
--- a/libmailutils/tests/.gitignore
+++ b/libmailutils/tests/.gitignore
@@ -12,3 +12,4 @@ fltst
listop
mailcap
url-parse
+wicket

Return to:

Send suggestions and report system problems to the System administrator.