1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
3 
4 #include "journald-server.h"
5 
6 void server_process_native_message(
7                 Server *s,
8                 const char *buffer,
9                 size_t buffer_size,
10                 const struct ucred *ucred,
11                 const struct timeval *tv,
12                 const char *label,
13                 size_t label_len);
14 
15 void server_process_native_file(
16                 Server *s,
17                 int fd,
18                 const struct ucred *ucred,
19                 const struct timeval *tv,
20                 const char *label,
21                 size_t label_len);
22 
23 int server_open_native_socket(Server *s, const char *native_socket);
24