summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-24 17:48:44 +0300
committerNakidai <nakidai@disroot.org>2024-11-24 17:48:44 +0300
commit5bea998546966bb274136b93a6675dd937a7e99d (patch)
tree4a8deffd409f7ac3b902c1ff29c6ca870f9d7cb2 /include
parentebedf7a6c7487e9845ae36d55e6b5c461a243d0c (diff)
downloadlibhttpc-5bea998546966bb274136b93a6675dd937a7e99d.tar.gz
libhttpc-5bea998546966bb274136b93a6675dd937a7e99d.zip
Make Response const
Diffstat (limited to 'include')
-rw-r--r--include/libhttpc.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/libhttpc.h b/include/libhttpc.h
index ab0a28b..8644ead 100644
--- a/include/libhttpc.h
+++ b/include/libhttpc.h
@@ -168,12 +168,12 @@ struct LibHTTPC_Request
  */
 struct LibHTTPC_Response
 {
-    char    *buf;                       /**< Pointer to char *response */
-    char    *version, *status, *phrase; /**< Response line */
-    char   **header_names;              /**< \ Header parallel array */
-    char   **header_values;             /**< / Header parallel array */
-    char    *body;                      /**< Pointer to body */
-    size_t   header_count;              /**< Length of header array */
+    const char    *buf;                       /**< Pointer to char *response */
+    const char    *version, *status, *phrase; /**< Response line */
+    const char   **header_names;              /**< \ Header parallel array */
+    const char   **header_values;             /**< / Header parallel array */
+    const char    *body;                      /**< Pointer to body */
+    size_t         header_count;              /**< Length of header array */
 };
 
 /**