2017-11-18 17:09:20 +01:00
|
|
|
/* SPDX-License-Identifier: LGPL-2.1+ */
|
2012-08-22 03:42:23 +02:00
|
|
|
#pragma once
|
|
|
|
|
2012-11-12 17:29:07 +01:00
|
|
|
#include "journald-server.h"
|
2012-08-22 03:42:23 +02:00
|
|
|
|
2018-05-16 08:24:33 +02:00
|
|
|
void server_process_native_message(
|
|
|
|
Server *s,
|
2018-09-03 09:03:10 +02:00
|
|
|
const char *buffer,
|
2018-05-16 08:24:33 +02:00
|
|
|
size_t buffer_size,
|
|
|
|
const struct ucred *ucred,
|
|
|
|
const struct timeval *tv,
|
|
|
|
const char *label,
|
|
|
|
size_t label_len);
|
2012-08-22 03:42:23 +02:00
|
|
|
|
2018-05-16 08:24:33 +02:00
|
|
|
void server_process_native_file(
|
|
|
|
Server *s,
|
|
|
|
int fd,
|
|
|
|
const struct ucred *ucred,
|
|
|
|
const struct timeval *tv,
|
|
|
|
const char *label,
|
|
|
|
size_t label_len);
|
2012-08-22 03:42:23 +02:00
|
|
|
|
2018-05-16 08:24:33 +02:00
|
|
|
int server_open_native_socket(Server *s);
|