aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/memorypool.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-24 11:32:11 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-24 11:32:11 +0000
commite25c43fcc0be9c183b2d7f04316c9dadface2778 (patch)
tree2569285d3de41e45148dba2221273f9114149a6e /src/microhttpd/memorypool.h
parent9cc7bd0c77b57d545ef560e0b7b637196b20914f (diff)
downloadlibmicrohttpd-e25c43fcc0be9c183b2d7f04316c9dadface2778.tar.gz
libmicrohttpd-e25c43fcc0be9c183b2d7f04316c9dadface2778.zip
-hiding a few more
Diffstat (limited to 'src/microhttpd/memorypool.h')
-rw-r--r--src/microhttpd/memorypool.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/microhttpd/memorypool.h b/src/microhttpd/memorypool.h
index 8187a91d..5fc52e6d 100644
--- a/src/microhttpd/memorypool.h
+++ b/src/microhttpd/memorypool.h
@@ -44,6 +44,7 @@ struct MemoryPool;
44 * @param max maximum size of the pool 44 * @param max maximum size of the pool
45 * @return NULL on error 45 * @return NULL on error
46 */ 46 */
47HIDDEN_SYMBOL
47struct MemoryPool * 48struct MemoryPool *
48MHD_pool_create (size_t max); 49MHD_pool_create (size_t max);
49 50
@@ -53,7 +54,7 @@ MHD_pool_create (size_t max);
53 * 54 *
54 * @param pool memory pool to destroy 55 * @param pool memory pool to destroy
55 */ 56 */
56void 57void HIDDEN_SYMBOL
57MHD_pool_destroy (struct MemoryPool *pool); 58MHD_pool_destroy (struct MemoryPool *pool);
58 59
59 60
@@ -68,6 +69,7 @@ MHD_pool_destroy (struct MemoryPool *pool);
68 * @return NULL if the pool cannot support size more 69 * @return NULL if the pool cannot support size more
69 * bytes 70 * bytes
70 */ 71 */
72HIDDEN_SYMBOL
71void * 73void *
72MHD_pool_allocate (struct MemoryPool *pool, 74MHD_pool_allocate (struct MemoryPool *pool,
73 size_t size, int from_end); 75 size_t size, int from_end);
@@ -90,10 +92,11 @@ MHD_pool_allocate (struct MemoryPool *pool,
90 * NULL if the pool cannot support new_size 92 * NULL if the pool cannot support new_size
91 * bytes (old continues to be valid for old_size) 93 * bytes (old continues to be valid for old_size)
92 */ 94 */
95HIDDEN_SYMBOL
93void * 96void *
94MHD_pool_reallocate (struct MemoryPool *pool, 97MHD_pool_reallocate (struct MemoryPool *pool,
95 void *old, 98 void *old,
96 size_t old_size, 99 size_t old_size,
97 size_t new_size); 100 size_t new_size);
98 101
99 102
@@ -106,9 +109,10 @@ MHD_pool_reallocate (struct MemoryPool *pool,
106 * @param size how many bytes need to be kept at this address 109 * @param size how many bytes need to be kept at this address
107 * @return addr new address of "keep" (if it had to change) 110 * @return addr new address of "keep" (if it had to change)
108 */ 111 */
112HIDDEN_SYMBOL
109void * 113void *
110MHD_pool_reset (struct MemoryPool *pool, 114MHD_pool_reset (struct MemoryPool *pool,
111 void *keep, 115 void *keep,
112 size_t size); 116 size_t size);
113 117
114#endif 118#endif