summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/qntan/Qntan.h')
-rw-r--r--include/qntan/Qntan.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/qntan/Qntan.h b/include/qntan/Qntan.h
index 7c2a498..a79dd6f 100644
--- a/include/qntan/Qntan.h
+++ b/include/qntan/Qntan.h
@@ -969,15 +969,15 @@ struct Qntan_XmlDec_Mentor {
struct Qntan_HttpClient_Exchg_Opts {
/*
* Eg: 'GET', 'POST', ... */
- char *mthd;
+ char const *mthd;
/*
* Eg: 'example.com', '127.0.0.1', ... */
- char *host;
+ char const *host;
/**/
uint16_t port;
/*
* Eg: "/foo/bar?blubb=true" */
- char *url;
+ char const *url;
/*
* Like {"key1", "val1", "key2", "val2", NULL} */
char **hdrs;
@@ -988,7 +988,7 @@ struct Qntan_HttpClient_Exchg_Opts {
* MUST be null-byte-terminated.
* MUST NOT contain null-bytes. If you have to, set NULL and use separate
* write calls instead. */
- char *body;
+ char const *body;
/**/
Qntan_Cls cls;
/**/