1 /* SPDX-License-Identifier: LGPL-2.1-or-later */ 2 #pragma once 3 4 typedef struct SocketGraveyard SocketGraveyard; 5 6 #include "resolved-manager.h" 7 8 struct SocketGraveyard { 9 Manager *manager; 10 usec_t deadline; 11 sd_event_source *io_event_source; 12 LIST_FIELDS(SocketGraveyard, graveyard); 13 }; 14 15 void manager_socket_graveyard_process(Manager *m); 16 void manager_socket_graveyard_clear(Manager *m); 17 18 int manager_add_socket_to_graveyard(Manager *m, int fd); 19