Refine buffer handling

This commit is contained in:
Max Lv
2015-11-30 15:03:04 +08:00
committed by Max Lv
parent f4fa30da5c
commit b0600a8784
29 changed files with 2616 additions and 1397 deletions
-1
View File
@@ -48,7 +48,6 @@ struct cache {
void (*free_cb) (void *element); /**<Callback function to free cache entries */
};
extern int cache_create(struct cache **dst, const size_t capacity,
void (*free_cb)(void *element));
extern int cache_delete(struct cache *cache, int keep_data);