summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@gluster.com>2009-09-24 00:57:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-24 01:19:31 -0700
commit788d174c36c29e3fcc638f2064c43f60f5521dd1 (patch)
tree4f284340c9ccb804f14ea55427ab05f4f072bfde
parentb003921b33de2d72ee39eaa4b6c0a161261c9db3 (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
-rw-r--r--libglusterfs/src/iobuf.h1
-rw-r--r--libglusterfs/src/logging.h1
2 files changed, 2 insertions, 0 deletions
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,