1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

Removed logger.h file in logger plugin

This commit is contained in:
Sebastien Helleu
2007-12-05 10:21:46 +01:00
parent 26b659ae9e
commit 5e39a2c477
3 changed files with 11 additions and 35 deletions
+1 -1
View File
@@ -20,6 +20,6 @@ libdir = ${weechat_libdir}/plugins
lib_LTLIBRARIES = logger.la
logger_la_SOURCES = logger.c logger.h logger-buffer.c logger-buffer.h
logger_la_SOURCES = logger.c logger-buffer.c logger-buffer.h
logger_la_LDFLAGS = -module
logger_la_LIBADD = $(LOGGER_LFLAGS)
+10 -7
View File
@@ -35,20 +35,23 @@
#include <time.h>
#include "../weechat-plugin.h"
#include "logger.h"
#include "logger-buffer.h"
static struct t_weechat_plugin *weechat_plugin = NULL;
static char *logger_path = NULL;
static char *logger_time_format = NULL;
char plugin_name[] = "logger";
char plugin_version[] = "0.1";
char plugin_description[] = "Logger plugin for WeeChat";
struct t_weechat_plugin *weechat_plugin = NULL;
char *logger_path = NULL;
char *logger_time_format = NULL;
/*
* logger_config_read: read config options for logger plugin
*/
static void
void
logger_config_read ()
{
if (logger_path)
@@ -363,7 +366,7 @@ logger_end_all ()
* logger_event_cb: callback for event hook
*/
static int
int
logger_event_cb (void *data, char *event, void *pointer)
{
/* make C compiler happy */
@@ -386,7 +389,7 @@ logger_event_cb (void *data, char *event, void *pointer)
* logger_print_cb: callback for print hook
*/
static int
int
logger_print_cb (void *data, void *buffer, time_t date, char *prefix,
char *message)
{
-27
View File
@@ -1,27 +0,0 @@
/*
* Copyright (c) 2003-2007 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 3 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, see <http://www.gnu.org/licenses/>.
*/
#ifndef __WEECHAT_LOGGER_H
#define __WEECHAT_LOGGER_H 1
char plugin_name[] = "logger";
char plugin_version[] = "0.1";
char plugin_description[] = "Logger plugin for WeeChat";
#endif /* logger.h */