aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/memorypool.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/memorypool.c')
-rw-r--r--src/microhttpd/memorypool.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/microhttpd/memorypool.c b/src/microhttpd/memorypool.c
index db347056..29ccae23 100644
--- a/src/microhttpd/memorypool.c
+++ b/src/microhttpd/memorypool.c
@@ -144,7 +144,7 @@ MHD_pool_destroy (struct MemoryPool *pool)
144 * 144 *
145 * @param pool memory pool to use for the operation 145 * @param pool memory pool to use for the operation
146 * @param size number of bytes to allocate 146 * @param size number of bytes to allocate
147 * @param from_end allocate from end of pool (set to MHD_YES); 147 * @param from_end allocate from end of pool (set to #MHD_YES);
148 * use this for small, persistent allocations that 148 * use this for small, persistent allocations that
149 * will never be reallocated 149 * will never be reallocated
150 * @return NULL if the pool cannot support size more 150 * @return NULL if the pool cannot support size more
@@ -187,8 +187,8 @@ MHD_pool_allocate (struct MemoryPool *pool,
187 * @param old_size the size of the existing block 187 * @param old_size the size of the existing block
188 * @param new_size the new size of the block 188 * @param new_size the new size of the block
189 * @return new address of the block, or 189 * @return new address of the block, or
190 * NULL if the pool cannot support new_size 190 * NULL if the pool cannot support @a new_size
191 * bytes (old continues to be valid for old_size) 191 * bytes (old continues to be valid for @a old_size)
192 */ 192 */
193void * 193void *
194MHD_pool_reallocate (struct MemoryPool *pool, 194MHD_pool_reallocate (struct MemoryPool *pool,
@@ -234,12 +234,12 @@ MHD_pool_reallocate (struct MemoryPool *pool,
234 234
235/** 235/**
236 * Clear all entries from the memory pool except 236 * Clear all entries from the memory pool except
237 * for "keep" of the given "size". 237 * for @a keep of the given @a size.
238 * 238 *
239 * @param pool memory pool to use for the operation 239 * @param pool memory pool to use for the operation
240 * @param keep pointer to the entry to keep (maybe NULL) 240 * @param keep pointer to the entry to keep (maybe NULL)
241 * @param size how many bytes need to be kept at this address 241 * @param size how many bytes need to be kept at this address
242 * @return addr new address of "keep" (if it had to change) 242 * @return addr new address of @a keep (if it had to change)
243 */ 243 */
244void * 244void *
245MHD_pool_reset (struct MemoryPool *pool, 245MHD_pool_reset (struct MemoryPool *pool,