summaryrefslogtreecommitdiff
path: root/src/common/log.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2004-09-19 20:26:15 +0000
committerSebastien Helleu <flashcode@flashtux.org>2004-09-19 20:26:15 +0000
commitce7f24ecc1add825ee5714ff09cbc5604c6e4c81 (patch)
tree50395eefb7c55b71d3558805ceed4cb8dc44e573 /src/common/log.h
parent0f718bf2c021f4b482732ee30baccfe5263be5fa (diff)
downloadweechat-ce7f24ecc1add825ee5714ff09cbc5604c6e4c81.zip
Log server/channel/private to file
Diffstat (limited to 'src/common/log.h')
-rw-r--r--src/common/log.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/common/log.h b/src/common/log.h
new file mode 100644
index 000000000..de132b93e
--- /dev/null
+++ b/src/common/log.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2004 by FlashCode <flashcode@flashtux.org>
+ * See README for License detail, AUTHORS for developers list.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+
+#ifndef __WEECHAT_LOG_H
+#define __WEECHAT_LOG_H 1
+
+#include "../irc/irc.h"
+
+extern void log_write_date (t_gui_buffer *);
+extern void log_write (t_gui_buffer *, char *);
+extern void log_start (t_gui_buffer *);
+extern void log_end (t_gui_buffer *);
+
+#endif /* log.h */