aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2013-03-05 17:52:07 +0100
committerMartin Willi <martin@revosec.ch>2013-03-06 10:26:52 +0100
commitad9af9e2d8d78a1a61f330540c7a03ffb357504a (patch)
treeb8dae6d7b831aac0dff57eb4330ecc64385236b5
parentd62f043f01436b29f0ee646968aefcb5d2d07edd (diff)
downloadstrongswan-ad9af9e2d8d78a1a61f330540c7a03ffb357504a.tar.bz2
strongswan-ad9af9e2d8d78a1a61f330540c7a03ffb357504a.tar.xz
Fix some apidoc in mem_pool.h
-rw-r--r--src/libhydra/attributes/mem_pool.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libhydra/attributes/mem_pool.h b/src/libhydra/attributes/mem_pool.h
index 692885ecd..f273b18e9 100644
--- a/src/libhydra/attributes/mem_pool.h
+++ b/src/libhydra/attributes/mem_pool.h
@@ -89,7 +89,7 @@ struct mem_pool_t {
*
* @param id the id to acquire an address for
* @param requested acquire this address, if possible
- * @param existing TRUE to look for an existing lease, FALSE for a new one
+ * @param operation acquire operation to perform, see above
* @return the acquired address
*/
host_t* (*acquire_address)(mem_pool_t *this, identification_t *id,
@@ -128,9 +128,9 @@ struct mem_pool_t {
*
* @param name name of this pool
* @param base base address of this pool, NULL to create an empty pool
- * @param bits net mask
+ * @param bits number of non-network bits in base, as in CIDR notation
+ * @return memory pool instance
*/
mem_pool_t *mem_pool_create(char *name, host_t *base, int bits);
#endif /** MEM_POOL_H_ @} */
-