1 /* 2 ** Modular Logfile Analyzer 3 ** Copyright 2000 Jan Kneschke <jan@kneschke.de> 4 ** Copyright 2002 Thomas Schweikle <tschweikle@fiducia.de> 5 ** 6 ** Homepage: http://www.modlogan.org 7 ** 8 9 This program is free software; you can redistribute it and/or modify 10 it under the terms of the GNU General Public License as published by 11 the Free Software Foundation; either version 2 of the License, or 12 (at your option) any later version, and provided that the above 13 copyright and permission notice is included with all distributed 14 copies of this or derived software. 15 16 This program is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with this program; if not, write to the Free Software 23 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 24 25 ** 26 ** $Id: plugin_config.h,v 1.2 2003/04/18 18:40:42 ostborn Exp $ 27 */ 28 #ifndef _INPUT_PLUGIN_CONFIG_H_ 29 #define _INPUT_PLUGIN_CONFIG_H_ 30 31 #include <pcre.h> 32 33 #include "mio.h" 34 #include "mconfig.h" 35 #include "mrecord.h" 36 37 typedef struct { 38 char *inputfilename; 39 40 mfile inputfile; 41 buffer *buf; 42 43 char *buffer; 44 int buf_len; 45 int buf_inc; 46 47 pcre *match_rsync; 48 pcre_extra *match_rsync_extra; 49 } config_input; 50 51 int mplugins_input_rsync_get_next_record(mconfig *ext_conf, mlogrec *record); 52 53 #endif 54