aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-07-22 11:49:42 +0200
committerChristian Grothoff <christian@grothoff.org>2019-07-22 11:49:42 +0200
commit3d1b941137f9d8379e6e67d5abd57be5ae6ebe1a (patch)
tree43fa3d8dddba1f2bc160020e02f4b73f3521ca13 /doc
parent3751044dc81a4b37de14b20dfc4cc7902fc36344 (diff)
downloadlibmicrohttpd-3d1b941137f9d8379e6e67d5abd57be5ae6ebe1a.tar.gz
libmicrohttpd-3d1b941137f9d8379e6e67d5abd57be5ae6ebe1a.zip
introducte MHD_RO_FREE_FUNCTION as proposed by Nicolas Mora on the list
Diffstat (limited to 'doc')
-rw-r--r--doc/libmicrohttpd.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 6f34d799..aa3f0242 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -1219,6 +1219,14 @@ Response-specific options. Passed in the varargs portion of
1219@item MHD_RO_END 1219@item MHD_RO_END
1220No more options / last option. This is used to terminate the VARARGs 1220No more options / last option. This is used to terminate the VARARGs
1221list. 1221list.
1222
1223@item MHD_RO_FREE_FUNCTION
1224Use a custom function for freeing the memory passed when using
1225@code{MHD_create_response_from_buffer} with
1226@code{MHD_RESPMEM_MUST_FREE}. This replaces the use of libc's
1227@code{free()} function to release the memory with an implementation
1228provided by the application. The next argument must be of type
1229@code{MHD_FreeFunction}.
1222@end table 1230@end table
1223@end deftp 1231@end deftp
1224 1232