summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2008-09-24 08:21:47 +0200
committerMichael Brown2008-09-24 08:21:47 +0200
commitb350b10b35760be54d216ef06f8608be05728033 (patch)
treeff82f3f82c93509c65950f21b70fdc261ce04a15 /src/include
parent[romprefix] If we hook INT 19, prompt before attempting boot (diff)
downloadipxe-b350b10b35760be54d216ef06f8608be05728033.tar.gz
ipxe-b350b10b35760be54d216ef06f8608be05728033.tar.xz
ipxe-b350b10b35760be54d216ef06f8608be05728033.zip
[uri] Add uri_encode() and uri_decode() functions for URI character encoding
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/uri.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/gpxe/uri.h b/src/include/gpxe/uri.h
index 514bc479..37f3aac9 100644
--- a/src/include/gpxe/uri.h
+++ b/src/include/gpxe/uri.h
@@ -135,5 +135,7 @@ extern char * resolve_path ( const char *base_path,
extern struct uri * resolve_uri ( struct uri *base_uri,
struct uri *relative_uri );
extern void churi ( struct uri *uri );
+extern size_t uri_encode ( const char *raw_string, char *buf, size_t len );
+extern size_t uri_decode ( const char *encoded_string, char *buf, size_t len );
#endif /* _GPXE_URI_H */