Dan Magenheimer | 83bc7a7 | 2012-02-15 07:54:19 -0800 | [diff] [blame] | 1 | /* |
| 2 | * zcache.h |
| 3 | * |
| 4 | * External zcache functions |
| 5 | * |
| 6 | * Copyright (c) 2009-2012, Dan Magenheimer, Oracle Corp. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _ZCACHE_H_ |
| 10 | #define _ZCACHE_H_ |
| 11 | |
| 12 | extern int zcache_put(int, int, struct tmem_oid *, uint32_t, |
| 13 | char *, size_t, bool, int); |
| 14 | extern int zcache_autocreate_pool(int, int, bool); |
| 15 | extern int zcache_get(int, int, struct tmem_oid *, uint32_t, |
| 16 | char *, size_t *, bool, int); |
| 17 | extern int zcache_flush(int, int, struct tmem_oid *, uint32_t); |
| 18 | extern int zcache_flush_object(int, int, struct tmem_oid *); |
| 19 | extern int zcache_localify(int, struct tmem_oid *, uint32_t, |
| 20 | char *, size_t, void *); |
| 21 | |
| 22 | #endif /* _ZCACHE_H */ |