summaryrefslogtreecommitdiff
path: root/include/qntan/Qntan.h
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2025-10-24 22:00:51 +0200
committerAndreas Fankhauser hiddenalpha.ch2025-10-24 22:00:51 +0200
commit9d73a0d6f19c8032107a64805c943b87e027bafd (patch)
tree9bfc599a026ffc4d474a5bc036faf8dadbba9ca6 /include/qntan/Qntan.h
parent1b089cfce9ef4ecaa5861a02ebd2f09a0ca09f46 (diff)
downloadQntan-9d73a0d6f19c8032107a64805c943b87e027bafd.tar.gz
Qntan-9d73a0d6f19c8032107a64805c943b87e027bafd.zip
(try)fix const-ness.
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;
/**/