Archived
3
0

Bindings: add ipc_close_all in libipc.h.

This commit is contained in:
Philippe Pittoli 2023-02-03 05:46:18 +01:00
parent bdff3156f4
commit 8c168fdbf8

View File

@ -35,6 +35,7 @@ int ipc_wait_event(void* ctx, char* t, size_t* index, int* originfd, char* buffe
void ipc_context_timer (void* ctx, int timer); void ipc_context_timer (void* ctx, int timer);
int ipc_close_fd (void* ctx, int fd); int ipc_close_fd (void* ctx, int fd);
int ipc_close (void* ctx, size_t index); int ipc_close (void* ctx, size_t index);
int ipc_close_all (void* ctx);
// Switch functions (for "protocol" services, such as TCPd). // Switch functions (for "protocol" services, such as TCPd).
int ipc_add_external (void* ctx, int newfd); int ipc_add_external (void* ctx, int newfd);