journal-internal.h revision 6866780115a7c0af034f287d965f4bf6b02c1e6d
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering This file is part of systemd.
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering Copyright 2011 Lennart Poettering
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering systemd is free software; you can redistribute it and/or modify it
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering under the terms of the GNU Lesser General Public License as published by
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering the Free Software Foundation; either version 2.1 of the License, or
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering (at your option) any later version.
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering systemd is distributed in the hope that it will be useful, but
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering Lesser General Public License for more details.
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering You should have received a copy of the GNU Lesser General Public License
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
d025f1e4dca8fc1436aff76f9e6185fe3e728daaZbigniew Jędrzejewski-Szmektypedef struct Directory Directory;
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering /* For concrete matches */
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering /* For terms */
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering /* The first and last entries, resp. */
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering /* We already read the entry we currently point to, and the
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering * next one to read should probably not be this one again. */
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering /* We should seek to the precise location specified, and
a45b9fca6b91a767dcd9060cfcb30617dad234c7Lennart Poettering * return it, as we haven't read it yet. */
13790add4bf648fed816361794d8277a75253410Lennart Poettering unsigned current_invalidate_counter, last_invalidate_counter;
13790add4bf648fed816361794d8277a75253410Lennart Poetteringchar *journal_make_match_string(sd_journal *j);
13790add4bf648fed816361794d8277a75253410Lennart Poetteringstatic inline void journal_closep(sd_journal **j) {