From 788d174c36c29e3fcc638f2064c43f60f5521dd1 Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 24 Sep 2009 00:57:36 +0000 Subject: iobuf, logging: Expose existing functions as required Signed-off-by: Anand V. Avati 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 --- libglusterfs/src/iobuf.h | 1 + libglusterfs/src/logging.h | 1 + 2 files changed, 2 insertions(+) (limited to 'libglusterfs') diff --git a/libglusterfs/src/iobuf.h b/libglusterfs/src/iobuf.h index d17c1db486d..e6f2bccf1b9 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 d2347c02ba8..5e8b613fa72 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, -- cgit