syslog-ng source
nvtable-serialize-legacy.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2002-2012 Balabit
3  * Copyright (c) 1998-2012 Balázs Scheidler
4  * Copyright (c) 2012-2013 Viktor Juhasz
5  * Copyright (c) 2012-2013 Viktor Tusa
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  * As an additional exemption you are allowed to compile & link against the
22  * OpenSSL libraries as published by the OpenSSL project. See the file
23  * COPYING for details.
24  *
25  */
26 
27 #ifndef NVTABLE_SERIALIZE_LEGACY_H_
28 #define NVTABLE_SERIALIZE_LEGACY_H_
29 
30 #include "nvtable.h"
31 #include "serialize.h"
32 
33 /*
34  * Contains the deserialization functions of old NVTable versions.
35  * We should be able to deserialize all previous versions of NVTable or logmsg.
36  */
37 
38 NVTable *nv_table_deserialize_22(SerializeArchive *sa);
39 NVTable *nv_table_deserialize_legacy(SerializeArchive *sa);
40 
41 #endif /* NVTABLE_SERIALIZE_LEGACY_H_ */
NVTable * nv_table_deserialize_legacy(SerializeArchive *sa)
Definition: nvtable-serialize-legacy.c:417
NVTable * nv_table_deserialize_22(SerializeArchive *sa)
Definition: nvtable-serialize-legacy.c:279
SerializeArchive * sa
Definition: test_timestamp_serialize.c:31