1 /* 2 * AIDE (Advanced Intrusion Detection Environment) 3 * 4 * Copyright (C) 1999-2002, 2006, 2020 Rami Lehti, Pablo Virolainen, 5 * Richard van den Berg, Hannes von Haugwitz 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as 9 * published by the Free Software Foundation; either version 2 of the 10 * License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, but 13 * WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License along 18 * with this program; if not, write to the Free Software Foundation, Inc., 19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20 */ 21 22 #ifndef _DB_FILE_H_INCLUDED 23 #define _DB_FILE_H_INCLUDED 24 25 #include "db_config.h" 26 27 char** db_readline_file(database*); 28 int db_writespec_file(db_config*); 29 int db_writeline_file(db_line* line,db_config* conf,url_t* url); 30 int db_close_file(db_config* conf); 31 #ifdef WITH_ZLIB 32 void handle_gzipped_input(int out,gzFile*); 33 #endif 34 35 #endif 36