From 0e8ee9387620ba232003d297a1a2f7f21000e63f Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 15 Dec 2024 00:40:10 +0300 Subject: Document new feature of LibHTTPC_dumpResponse --- include/libhttpc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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); -- cgit 1.4.1