diff options
author | Cedric Le Goater <clg@fr.ibm.com> | 2009-11-12 14:40:14 +0100 |
---|---|---|
committer | Daniel Lezcano <dlezcano@fr.ibm.com> | 2009-11-12 14:40:14 +0100 |
commit | 641c20a663819f002fa1dded2e93e3e99c781e33 (patch) | |
tree | 377a9c33515c88319fb9f114fdc237d7f30e7ba5 | |
parent | Remove an unnecessary entry in the spec file (diff) | |
download | lxc-641c20a663819f002fa1dded2e93e3e99c781e33.tar.gz lxc-641c20a663819f002fa1dded2e93e3e99c781e33.tar.bz2 lxc-641c20a663819f002fa1dded2e93e3e99c781e33.zip |
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 <dlezcano@fr.ibm.com>
-rw-r--r-- | src/lxc/log.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lxc/log.h b/src/lxc/log.h index d9c1fb3..b11093d 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 |