summaryrefslogtreecommitdiff
path: root/slabs.h
diff options
context:
space:
mode:
authorPaul Lindner <plindner@hi5.com>2007-07-10 06:43:58 +0000
committerPaul Lindner <plindner@hi5.com>2007-07-10 06:43:58 +0000
commit516e7dc20b0544bede57bc3db198403d0b5e9dea (patch)
treee71010f81198f458e64239efb377ebc9e77479a5 /slabs.h
parentbb3a4c923721d79d71434156841fea04e32d1485 (diff)
downloadmemcached-516e7dc20b0544bede57bc3db198403d0b5e9dea.tar.gz
Minimal doxygen configuration
git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@596 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'slabs.h')
-rw-r--r--slabs.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/slabs.h b/slabs.h
index 5d0c07a..63fef13 100644
--- a/slabs.h
+++ b/slabs.h
@@ -1,25 +1,25 @@
/* slabs memory allocation */
-/* Init the subsystem. 1st argument is the limit on no. of bytes to allocate,
- 0 if no limit. 2nd argument is the growth factor; each slab will use a chunk
- size equal to the previous slab's chunk size times this factor. */
+/** Init the subsystem. 1st argument is the limit on no. of bytes to allocate,
+ 0 if no limit. 2nd argument is the growth factor; each slab will use a chunk
+ size equal to the previous slab's chunk size times this factor. */
void slabs_init(const size_t limit, const double factor);
-/*
+/**
* Given object size, return id to use when allocating/freeing memory for object
* 0 means error: can't store such a large object
*/
unsigned int slabs_clsid(const size_t size);
-/* Allocate object of given length. 0 on error */ /*@null@*/
+/** Allocate object of given length. 0 on error */ /*@null@*/
void *do_slabs_alloc(const size_t size);
-/* Free previously allocated object */
+/** Free previously allocated object */
void do_slabs_free(void *ptr, size_t size);
-/* Fill buffer with stats */ /*@null@*/
+/** Fill buffer with stats */ /*@null@*/
char* do_slabs_stats(int *buflen);
/* Request some slab be moved between classes