From: Cedric Le Goater Date: Thu, 12 Nov 2009 13:40:14 +0000 (+0100) Subject: export log function so it can be used by library user X-Git-Tag: lxc_0_6_4~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=641c20a663819f002fa1dded2e93e3e99c781e33;p=thirdparty%2Flxc.git export log function so it can be used by library user The log api may be used by an external component which needs to access these functions. Signed-off-by: Daniel Lezcano --- diff --git a/src/lxc/log.h b/src/lxc/log.h index d9c1fb32f..b11093d1e 100644 --- a/src/lxc/log.h +++ b/src/lxc/log.h @@ -285,6 +285,10 @@ extern struct lxc_log_category lxc_log_category_lxc; ERROR("%s - " format, strerror(errno), ##__VA_ARGS__); \ } while (0) +extern int lxc_log_fd; + extern int lxc_log_init(const char *file, const char *priority, const char *prefix, int quiet); + +extern void lxc_log_setprefix(const char *a_prefix); #endif