aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
committerAleksey Veresov <aleksey@veresov.pro>2020-07-13 08:33:09 +0300
commit2aabe59373c29410c00ae59cd86cb475c961b56c (patch)
tree43063644a70dee80276cc65b8a0509c154c22473 /include
parentc452c3dc47bacf1cb4dfd7a8129d62fa8819282e (diff)
downloadmagi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.tar.xz
magi-2aabe59373c29410c00ae59cd86cb475c961b56c.zip
magi_response_send, urlenc docs.
Diffstat (limited to 'include')
-rw-r--r--include/magi/response.h4
-rw-r--r--include/magi/urlenc.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/include/magi/response.h b/include/magi/response.h
index 9364fd4..4867c2f 100644
--- a/include/magi/response.h
+++ b/include/magi/response.h
@@ -23,7 +23,9 @@ typedef struct magi_response {
/* Response initialiser, setup defaults. */
void magi_response_init(magi_response *r);
-/* Send response headers and free memory used by it. */
+/* Send response headers. */
+void magi_response_send(magi_response *r);
+/* Free memory used by response headers. */
void magi_response_free(magi_response *r);
/* Just response defaults. (text/html, 200 Ok) */
diff --git a/include/magi/urlenc.h b/include/magi/urlenc.h
index 1b629f9..16310f2 100644
--- a/include/magi/urlenc.h
+++ b/include/magi/urlenc.h
@@ -7,7 +7,7 @@
* will be.
*
* RFC 3986 describes URL-encoding. Briefly it is changing every space into
- * plus sign and every not alpha-numerical and not @c "~-._" character into
+ * plus sign and every not alpha-numerical and not "~-._" character into
* percent sign followed by hexadecimal representation of given character.
*/