path: root/src/pies.h
diff options
Diffstat (limited to 'src/pies.h')
1 files changed, 10 insertions, 1 deletions
diff --git a/src/pies.h b/src/pies.h
index a8f400c..014bd81 100644
--- a/src/pies.h
+++ b/src/pies.h
@@ -168,7 +168,6 @@ struct component
struct action act_temp; /* Auxiliary object used during configuration */
-extern int log_to_stderr;
extern char *log_tag;
extern int log_facility;
extern unsigned long shutdown_timeout;
@@ -257,6 +256,16 @@ int meta1error (char *s);
int meta1parse (void);
+/* diag.c */
+#define DIAG_TO_SYSLOG 0x1
+#define DIAG_TO_STDERR 0x2
+extern int diag_output;
+#define DIAG_OUTPUT(x) (diag_output & (x))
+void diag_setup (int flags);
void logmsg (int prio, const char *fmt, ...);
void logmsg_printf (int prio, const char *fmt, ...);
void logmsg_vprintf (int prio, const char *fmt, va_list ap);

Return to:

Send suggestions and report system problems to the System administrator.