commit 689d2dc98d2d24fb2da79db5fa08a83bc98cdb8b
parent b7ab035907795383dc2f9bf6cf7fb3f288fa6b94
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 2 Jun 2015 08:07:49 +0000
-comment on data types
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -2023,6 +2023,8 @@ MHD_create_response_from_buffer (size_t size,
* @return NULL on error (i.e. invalid arguments, out of memory)
* @ingroup response
*/
+/* NOTE: this should be 'uint64_t' instead of 'size_t', but changing
+ this would break API compatibility. */
_MHD_EXTERN struct MHD_Response *
MHD_create_response_from_fd (size_t size,
int fd);
@@ -2044,6 +2046,8 @@ MHD_create_response_from_fd (size_t size,
* @return NULL on error (i.e. invalid arguments, out of memory)
* @ingroup response
*/
+/* NOTE: this should be 'uint64_t' instead of 'size_t', but changing
+ this would break API compatibility. */
_MHD_EXTERN struct MHD_Response *
MHD_create_response_from_fd_at_offset (size_t size,
int fd,