summary refs log tree commit diff
path: root/include/libhttpc.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-12-15 00:40:10 +0300
committerNakidai <nakidai@disroot.org>2024-12-15 00:44:26 +0300
commit0e8ee9387620ba232003d297a1a2f7f21000e63f (patch)
tree5cef94cc1a9c6e7490d9ed3dbb0a02afe695bb84 /include/libhttpc.h
parentf611496625b0b240a8b849afabcfef9d373fa868 (diff)
downloadlibhttpc-0e8ee9387620ba232003d297a1a2f7f21000e63f.tar.gz
libhttpc-0e8ee9387620ba232003d297a1a2f7f21000e63f.zip
Document new feature of LibHTTPC_dumpResponse v1.1.0
Diffstat (limited to 'include/libhttpc.h')
-rw-r--r--include/libhttpc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libhttpc.h b/include/libhttpc.h
index f31e672..241fac0 100644
--- a/include/libhttpc.h
+++ b/include/libhttpc.h
@@ -264,7 +264,10 @@ struct LibHTTPC_Request *LibHTTPC_loadRequest(struct LibHTTPC_Request *request_b
  *
  *                      if (response.phrase == NULL) then it will be set to LibHTTPC_dumpStatus(response.status)
  * @param[out] buf      Pointer to buffer where to save formatted response
+ *                      
+ *                      if (buf == NULL) then it will alocate buffer itself
  * @param      buf_len  Size of buf
+ * @return Pointer to buffer on success, NULL otherwise
  */
 char *LibHTTPC_dumpResponse(struct LibHTTPC_Response *response, char *buf, size_t buf_len);