aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-08-08 17:35:42 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-08-08 17:35:42 +0000
commit8ed403e3093c3e04128bcac51d17cb8fa9b52d1f (patch)
tree6fc71dee24ee88c6605deffe64b5ddcffbb0b7b2 /tmux.h
parentde0e1c62843398e211d2588d9fe3c95923733afb (diff)
downloadrtmux-8ed403e3093c3e04128bcac51d17cb8fa9b52d1f.tar.gz
rtmux-8ed403e3093c3e04128bcac51d17cb8fa9b52d1f.tar.bz2
rtmux-8ed403e3093c3e04128bcac51d17cb8fa9b52d1f.zip
Tidy logging and lose stdout hacks for _info.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/tmux.h b/tmux.h
index 6d8f9647..c2d5c0c7 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.180 2008-08-07 20:20:52 nicm Exp $ */
+/* $Id: tmux.h,v 1.181 2008-08-08 17:35:42 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1295,10 +1295,13 @@ int buffer_poll(struct pollfd *, struct buffer *, struct buffer *);
void buffer_flush(int, struct buffer *n, struct buffer *);
/* log.c */
-void log_open(FILE *, int, int);
+#define LOG_FACILITY LOG_DAEMON
+void log_open_syslog(int);
+void log_open_tty(int);
+void log_open_file(int, const char *);
void log_close(void);
-void log_vwrite(FILE *, int, const char *, va_list);
-void log_write(FILE *, int, const char *, ...);
+void log_vwrite(int, const char *, va_list);
+void log_write(int, const char *, ...);
void printflike1 log_warn(const char *, ...);
void printflike1 log_warnx(const char *, ...);
void printflike1 log_info(const char *, ...);