diff options
author | Shehjar Tikoo <shehjart@gluster.com> | 2009-09-24 00:49:48 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-24 01:18:57 -0700 |
commit | 7398c0a694343c15292f076dbb0ae8508004d003 (patch) | |
tree | 04b61ffb490be533494a909009be7b17c7e7f9ef /libglusterfs | |
parent | 5d7db5410fc4a96268dcacf759a3b5ab79c2c28e (diff) |
iobuf, logging: Expose existing functions as required
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 279 (File written with booster results in self-heal after dd exits)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=279
Diffstat (limited to 'libglusterfs')
-rw-r--r-- | libglusterfs/src/iobuf.h | 1 | ||||
-rw-r--r-- | libglusterfs/src/logging.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/iobuf.h b/libglusterfs/src/iobuf.h index de95da324..ad453eee2 100644 --- a/libglusterfs/src/iobuf.h +++ b/libglusterfs/src/iobuf.h @@ -104,6 +104,7 @@ struct iobuf_pool { struct iobuf_pool *iobuf_pool_new (size_t arena_size, size_t page_size); +void iobuf_pool_destroy (struct iobuf_pool *iobuf_pool); struct iobuf *iobuf_get (struct iobuf_pool *iobuf_pool); void iobuf_unref (struct iobuf *iobuf); diff --git a/libglusterfs/src/logging.h b/libglusterfs/src/logging.h index 45b4618ae..85f904b7b 100644 --- a/libglusterfs/src/logging.h +++ b/libglusterfs/src/logging.h @@ -101,6 +101,7 @@ void gf_log_logrotate (int signum); int gf_log_init (const char *filename); +void gf_log_cleanup (void); int _gf_log (const char *domain, const char *file, const char *function, |