diff options
| author | Nakidai <nakidai@disroot.org> | 2024-11-24 17:48:44 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-11-24 17:48:44 +0300 |
| commit | 5bea998546966bb274136b93a6675dd937a7e99d (patch) | |
| tree | 4a8deffd409f7ac3b902c1ff29c6ca870f9d7cb2 /include/libhttpc.h | |
| parent | ebedf7a6c7487e9845ae36d55e6b5c461a243d0c (diff) | |
| download | libhttpc-5bea998546966bb274136b93a6675dd937a7e99d.tar.gz libhttpc-5bea998546966bb274136b93a6675dd937a7e99d.zip | |
Make Response const
Diffstat (limited to 'include/libhttpc.h')
| -rw-r--r-- | include/libhttpc.h | 12 |
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 */ }; /** |