summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 15:55:58 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-10-29 15:55:58 -0700
commit386653f4d9af2cbb1124aaba76ce2873e94cfd1f (patch)
treef56f0224f8b23992bba0038fbf59eea22980726f /src/cli_val.h
parent650699ea3d06e36390bd06a848ce493827c02e1e (diff)
downloadvyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.tar.gz
vyatta-cfg-386653f4d9af2cbb1124aaba76ce2873e94cfd1f.zip
redirect output by default
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index 8a98a88..6ccfde2 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -203,4 +203,13 @@ extern boolean get_config_lock(const char* adirp, const char* lock_name);
#define INTERNAL internal_error(__LINE__, __FILE__)
+/*** output ***/
+#define LOGFILE_STDOUT "/tmp/cfg-stdout.log"
+#define LOGFILE_STDERR "/tmp/cfg-stderr.log"
+
+extern int out_fd;
+extern FILE *out_stream;
+
+extern int initialize_output();
+
#endif