diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-08-27 08:17:32 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2018-08-31 05:20:27 +0000 |
commit | 50b9da7bc2d43f83a57fdd1ff3a8c9186461d834 (patch) | |
tree | 0c6f820b6acef2f25ed4630d75f8a0995d57c6c8 /wiretap/systemd_journal.h | |
parent | 94735eb2bc02f7d683e50cfda1e5d0735cf5f97f (diff) |
Add a systemd Journal Export Format parser and dissector.
Add a file parser and dissector that can handle the output of
`journalctl -o export`. From here we can add a systemd journal extcap
and possibly support for the JSON and binary formats.
Change-Id: I01576959b2c347ce7ac9aa57cdb5c119c81d61e9
Reviewed-on: https://code.wireshark.org/review/29311
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'wiretap/systemd_journal.h')
-rw-r--r-- | wiretap/systemd_journal.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/wiretap/systemd_journal.h b/wiretap/systemd_journal.h new file mode 100644 index 0000000000..f288ef87af --- /dev/null +++ b/wiretap/systemd_journal.h @@ -0,0 +1,19 @@ +/* systemd_journal.h + * + * Wiretap Library + * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> + * + * SPDX-License-Identifier: GPL-2.0-or-later + * + */ + +#ifndef __SYSTEMD_JOURNAL_H__ +#define __SYSTEMD_JOURNAL_H__ + +#include <glib.h> +#include "wtap.h" +#include "ws_symbol_export.h" + +wtap_open_return_val systemd_journal_open(wtap *wth, int *err, gchar **err_info); + +#endif // __SYSTEMD_JOURNAL_H__ |