summaryrefslogtreecommitdiff
path: root/src/journal/catalog.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-19 20:54:04 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-03-19 21:50:43 -0400
commit54b7254c1fa629937f92fd6fa34bdf127b696a00 (patch)
treee86537d15eb74b4a6ecc5bd2cfc0dd5aeaf17489 /src/journal/catalog.h
parentab3a162c0194fd92884798488eeafdcc5c4d7d57 (diff)
journalct: beef up entry listing
The ability to dump catalog entries in full and by id is added.
Diffstat (limited to 'src/journal/catalog.h')
-rw-r--r--src/journal/catalog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/journal/catalog.h b/src/journal/catalog.h
index 9add773c95..8ea2c41c2d 100644
--- a/src/journal/catalog.h
+++ b/src/journal/catalog.h
@@ -21,8 +21,11 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stdbool.h>
+
#include "sd-id128.h"
int catalog_update(void);
int catalog_get(sd_id128_t id, char **data);
-int catalog_list(FILE *f);
+int catalog_list(FILE *f, bool oneline);
+int catalog_list_items(FILE *f, bool oneline, char **items);