]> git.ipfire.org Git - thirdparty/systemd.git/blob - src/fuzz/fuzz-journald.h
Merge pull request #11827 from keszybz/pkgconfig-variables
[thirdparty/systemd.git] / src / fuzz / fuzz-journald.h
1 /* SPDX-License-Identifier: LGPL-2.1+ */
2 #pragma once
3
4 #include "journald-server.h"
5
6 void dummy_server_init(Server *s, const uint8_t *buffer, size_t size);
7
8 void fuzz_journald_processing_function(
9 const uint8_t *data,
10 size_t size,
11 void (*f)(Server *s, const char *buf, size_t raw_len, const struct ucred *ucred, const struct timeval *tv, const char *label, size_t label_len)
12 );