diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-24 11:32:11 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-24 11:32:11 +0000 |
commit | e25c43fcc0be9c183b2d7f04316c9dadface2778 (patch) | |
tree | 2569285d3de41e45148dba2221273f9114149a6e /src/microhttpd/memorypool.h | |
parent | 9cc7bd0c77b57d545ef560e0b7b637196b20914f (diff) | |
download | libmicrohttpd-e25c43fcc0be9c183b2d7f04316c9dadface2778.tar.gz libmicrohttpd-e25c43fcc0be9c183b2d7f04316c9dadface2778.zip |
-hiding a few more
Diffstat (limited to 'src/microhttpd/memorypool.h')
-rw-r--r-- | src/microhttpd/memorypool.h | 10 |
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 | */ |
47 | HIDDEN_SYMBOL | ||
47 | struct MemoryPool * | 48 | struct MemoryPool * |
48 | MHD_pool_create (size_t max); | 49 | MHD_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 | */ |
56 | void | 57 | void HIDDEN_SYMBOL |
57 | MHD_pool_destroy (struct MemoryPool *pool); | 58 | MHD_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 | */ |
72 | HIDDEN_SYMBOL | ||
71 | void * | 73 | void * |
72 | MHD_pool_allocate (struct MemoryPool *pool, | 74 | MHD_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 | */ |
95 | HIDDEN_SYMBOL | ||
93 | void * | 96 | void * |
94 | MHD_pool_reallocate (struct MemoryPool *pool, | 97 | MHD_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 | */ |
112 | HIDDEN_SYMBOL | ||
109 | void * | 113 | void * |
110 | MHD_pool_reset (struct MemoryPool *pool, | 114 | MHD_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 |