syslog-ng source
pdb-file.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002-2016 Balabit
3  * Copyright (c) 1998-2016 Balázs Scheidler
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License version 2 as published
7  * by the Free Software Foundation, or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17  *
18  * As an additional exemption you are allowed to compile & link against the
19  * OpenSSL libraries as published by the OpenSSL project. See the file
20  * COPYING for details.
21  *
22  */
23 
24 #ifndef CORRELATION_PDB_FILE_H_INCLUDED
25 #define CORRELATION_PDB_FILE_H_INCLUDED 1
26 
27 #include "syslog-ng.h"
28 
29 gint pdb_file_detect_version(const gchar *pdbfile, GError **error);
30 gboolean pdb_file_validate(const gchar *filename, GError **error);
31 gboolean pdb_file_validate_in_tests(const gchar *filename, GError **error);
32 GPtrArray *pdb_get_filenames(const gchar *dir_path, gboolean recursive, gchar *pattern, GError **error);
33 void pdb_sort_filenames(GPtrArray *filenames);
34 
35 #endif
gboolean pdb_file_validate_in_tests(const gchar *filename, GError **error)
Definition: pdb-file.c:164
void pdb_sort_filenames(GPtrArray *filenames)
Definition: pdb-file.c:245
GPtrArray * pdb_get_filenames(const gchar *dir_path, gboolean recursive, gchar *pattern, GError **error)
Definition: pdb-file.c:170
gint pdb_file_detect_version(const gchar *pdbfile, GError **error)
Definition: pdb-file.c:36
gboolean pdb_file_validate(const gchar *filename, GError **error)
Definition: pdb-file.c:158