summary refs log tree commit diff
path: root/include/libhttpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libhttpc.h')
-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 */
 };
 
 /**