journal-def.h revision 92261977d81fd6a5bfb1418eddd86582d8a57fcd
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack This file is part of systemd.
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack Copyright 2011 Lennart Poettering
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack systemd is free software; you can redistribute it and/or modify it
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack under the terms of the GNU Lesser General Public License as published by
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack the Free Software Foundation; either version 2.1 of the License, or
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack (at your option) any later version.
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack systemd is distributed in the hope that it will be useful, but
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack WITHOUT ANY WARRANTY; without even the implied warranty of
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack Lesser General Public License for more details.
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack You should have received a copy of the GNU Lesser General Public License
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack along with systemd; If not, see <http://www.gnu.org/licenses/>.
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack * If you change this file you probably should also change its documentation:
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack * http://www.freedesktop.org/wiki/Software/systemd/journal-files
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Macktypedef struct EntryArrayObject EntryArrayObject;
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack/* Object types */
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack/* Object flags */
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack#define OBJECT_COMPRESSION_MASK (OBJECT_COMPRESSED_XZ | OBJECT_COMPRESSED_LZ4)
bb7dd0b04a6e89674100476eed0bbd05c6a4cbd8Daniel Mack le64_t entry_offset; /* the first array entry we store inline */
} _packed_;
struct FieldObject {
} _packed_;
struct EntryItem {
} _packed_;
struct EntryObject {
} _packed_;
struct HashItem {
} _packed_;
struct HashTableObject {
} _packed_;
struct EntryArrayObject {
} _packed_;
struct TagObject {
} _packed_;
union Object {
STATE_OFFLINE = 0,
#define HEADER_INCOMPATIBLE_ANY (HEADER_INCOMPATIBLE_COMPRESSED_XZ|HEADER_INCOMPATIBLE_COMPRESSED_LZ4)
# define HEADER_INCOMPATIBLE_SUPPORTED 0
#ifdef HAVE_GCRYPT
# define HEADER_COMPATIBLE_SUPPORTED 0
struct Header {
} _packed_;
struct FSSHeader {
} _packed_;