diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-02-12 10:05:30 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2015-02-12 10:05:30 +0000 |
commit | 9dc2d1a08044caf159d89ca28efb09cdd1bab041 (patch) | |
tree | bcaa063d756c33d774e76b91142d94e190a2d47d /usr.sbin/httpd/httpd.h | |
parent | 47b6b8168f54be4e3d5708ba5fd6ae26e7624a4c (diff) |
Rename escape_uri() to url_encode() because it is the opposite of
url_decode(). No functional change.
Diffstat (limited to 'usr.sbin/httpd/httpd.h')
-rw-r--r-- | usr.sbin/httpd/httpd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/httpd/httpd.h b/usr.sbin/httpd/httpd.h index ecc12f50301..bb577295e3b 100644 --- a/usr.sbin/httpd/httpd.h +++ b/usr.sbin/httpd/httpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: httpd.h,v 1.79 2015/02/12 04:40:23 jsing Exp $ */ +/* $OpenBSD: httpd.h,v 1.80 2015/02/12 10:05:29 reyk Exp $ */ /* * Copyright (c) 2006 - 2015 Reyk Floeter <reyk@openbsd.org> @@ -585,10 +585,10 @@ void event_again(struct event *, int, short, void (*)(int, short, void *), struct timeval *, struct timeval *, void *); const char *url_decode(char *); +char *url_encode(const char *); const char *canonicalize_host(const char *, char *, size_t); const char *canonicalize_path(const char *, char *, size_t); size_t path_info(char *); -char *escape_uri(const char *); char *escape_html(const char *); void imsg_event_add(struct imsgev *); int imsg_compose_event(struct imsgev *, u_int16_t, u_int32_t, |