summary refs log tree commit diff stats
path: root/yuri.h
diff options
context:
space:
mode:
authorAli Fardan <raiz@stellarbound.space>2020-11-19 16:04:59 +0300
committerAli Fardan <raiz@stellarbound.space>2020-11-19 16:04:59 +0300
commitd83bdda139fbf732ff13b7e9de98f2b0a57ee1a0 (patch)
tree7fdc16071c4ddc9b11446b73d8b67dd09630a04b /yuri.h
parent1ae386c27797bcfb11d40a621f502cc120c884dd (diff)
downloadlibyuri-d83bdda139fbf732ff13b7e9de98f2b0a57ee1a0.tar.gz
fix encode uninitialized strlcat() on string && introduce new uri_string_path() function
Diffstat (limited to 'yuri.h')
-rw-r--r--yuri.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/yuri.h b/yuri.h
index 1a3fa63..3e33b43 100644
--- a/yuri.h
+++ b/yuri.h
@@ -43,6 +43,7 @@ const char *uri_get_authority_user(struct uri *);
 const char *uri_get_authority_host(struct uri *);
 int uri_get_authority_port(struct uri *);
 const char **uri_get_path(struct uri *);
+char *uri_string_path(struct uri *);
 int uri_get_npath(struct uri *);
 const char *uri_get_query(struct uri *);
 const char *uri_get_fragment(struct uri *);