Blame include/db_file.h

Packit 762fc5
/* aide, Advanced Intrusion Detection Environment
Packit 762fc5
 *
Packit 762fc5
 * Copyright (C) 1999-2002,2006 Rami Lehti, Pablo Virolainen, Richard
Packit 762fc5
 * van den Berg
Packit 762fc5
 * $Header$
Packit 762fc5
 *
Packit 762fc5
 * This program is free software; you can redistribute it and/or
Packit 762fc5
 * modify it under the terms of the GNU General Public License as
Packit 762fc5
 * published by the Free Software Foundation; either version 2 of the
Packit 762fc5
 * License, or (at your option) any later version.
Packit 762fc5
 *
Packit 762fc5
 * This program is distributed in the hope that it will be useful, but
Packit 762fc5
 * WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 762fc5
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Packit 762fc5
 * General Public License for more details.
Packit 762fc5
 *
Packit 762fc5
 * You should have received a copy of the GNU General Public License
Packit 762fc5
 * along with this program; if not, write to the Free Software
Packit 762fc5
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
Packit 762fc5
 */
Packit 762fc5
Packit 762fc5
#ifndef _DB_FILE_H_INCLUDED
Packit 762fc5
#define _DB_FILE_H_INCLUDED
Packit 762fc5
Packit 762fc5
#include "db.h"
Packit 762fc5
Packit 762fc5
extern void db_buff(int, FILE*);
Packit 762fc5
extern int db_scan(void); /* Rumaa.... */
Packit 762fc5
extern char* dbtext; /* Todella rumaa... */
Packit 762fc5
extern long* db_lineno;
Packit 762fc5
extern long db_in_lineno;
Packit 762fc5
extern long db_new_lineno;
Packit 762fc5
Packit 762fc5
Packit 762fc5
char** db_readline_file(int);
Packit 762fc5
int db_writespec_file(db_config*);
Packit 762fc5
int db_writeline_file(db_line* line,db_config* conf,url_t* url);
Packit 762fc5
int db_close_file(db_config* conf);
Packit 762fc5
#ifdef WITH_ZLIB
Packit 762fc5
void handle_gzipped_input(int out,gzFile*);
Packit 762fc5
#endif
Packit 762fc5
Packit 762fc5
#endif