]> git.decadent.org.uk Git - nfs-utils.git/blobdiff - support/include/xlog.h
nfsd: allow choosing server 41 support at runtime
[nfs-utils.git] / support / include / xlog.h
index cf9bc916941ace96fc7e8ca551524215e6bd227e..fd1a3f4a918cd047c07f4aab3c99d20b6ae57ed8 100644 (file)
@@ -7,6 +7,8 @@
 #ifndef XLOG_H
 #define XLOG_H
 
+#include <stdarg.h>
+
 /* These are logged always. L_FATAL also does exit(1) */
 #define L_FATAL                0x0100
 #define L_ERROR                0x0200
@@ -40,5 +42,8 @@ void                  xlog_config(int fac, int on);
 void                   xlog_sconfig(char *, int on);
 int                    xlog_enabled(int fac);
 void                   xlog(int fac, const char *fmt, ...);
+void                   xlog_warn(const char *fmt, ...);
+void                   xlog_err(const char *fmt, ...);
+void                   xlog_backend(int fac, const char *fmt, va_list args);
 
 #endif /* XLOG_H */