chiark / gitweb /
journal: consistently use OBJECT_<type> names instead of numbers
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 12 Dec 2014 21:51:24 +0000 (22:51 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 12 Dec 2014 23:47:23 +0000 (00:47 +0100)
commitd05089d86ef032b245c7f928e623b88c82998ab0
tree96bcef531c7e8b74479ec233ea33990b258b67b0
parent2df65e7d964295f2763fae3b8bc3ade5d4e0fbe3
journal: consistently use OBJECT_<type> names instead of numbers

Note that numbers 0 and -1 are both replaced with OBJECT_UNUSED,
because they are treated the same everywhere (e.g. type_to_context()
translates them both to 0).
src/journal/journal-authenticate.c
src/journal/journal-def.h
src/journal/journal-file.c
src/journal/journal-verify.c
src/journal/sd-journal.c