1:255.13-alt1
[systemd_ALT.git] / src / resolve / resolved-socket-graveyard.h
blob50c6aad54486c90693eaea1db4424ce18e2c849e
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 #pragma once
4 typedef struct SocketGraveyard SocketGraveyard;
6 #include "resolved-manager.h"
8 struct SocketGraveyard {
9 Manager *manager;
10 usec_t deadline;
11 sd_event_source *io_event_source;
12 LIST_FIELDS(SocketGraveyard, graveyard);
15 void manager_socket_graveyard_process(Manager *m);
16 void manager_socket_graveyard_clear(Manager *m);
18 int manager_add_socket_to_graveyard(Manager *m, int fd);