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