summaryrefslogtreecommitdiff
path: root/src/buffer.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-03-05 21:46:04 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2021-03-07 04:38:34 -0500
commitb9e1e93fb19f7e7abe588fc7501ada57d506c67f (patch)
tree8779afe3a12271e3ecff77b884723130ffbda401 /src/buffer.h
parent5c2f5577b434029602d8f962b56eb9c50d43791e (diff)
downloadlighttpd-git-b9e1e93fb19f7e7abe588fc7501ada57d506c67f.tar.gz
[core] http_cgi_encode_varname()
move and rename from buffer.c to http_cgi.c: buffer_copy_string_encoded_cgi_varnames() -> http_cgi_encode_varname()
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 36317ab4..2cd955f4 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -172,9 +172,6 @@ void buffer_append_string_encoded(buffer * restrict b, const char * restrict s,
/* escape non-printable characters; simple escapes for \t, \r, \n; fallback to \xCC */
void buffer_append_string_c_escaped(buffer * restrict b, const char * restrict s, size_t s_len);
-/* to upper case, replace non alpha-numerics with '_'; if is_http_header prefix with "HTTP_" unless s is "content-type" */
-void buffer_copy_string_encoded_cgi_varnames(buffer * restrict b, const char * restrict s, size_t s_len, int is_http_header);
-
void buffer_urldecode_path(buffer *url);
void buffer_urldecode_query(buffer *url);
int buffer_is_valid_UTF8(const buffer *b);