ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
shutdown.h
Go to the documentation of this file.
1
22
23#pragma once
24
25#include <stdbool.h>
26
32typedef bool (*shutdown_check_fn)(void);
33
44
46void shutdown_request(void);
47
58bool shutdown_is_requested(void);
59
void shutdown_request(void)
Definition common.c:82
bool(* shutdown_check_fn)(void)
Shutdown check callback function type.
Definition shutdown.h:32
bool shutdown_is_requested(void)
Check if shutdown has been requested.
Definition common.c:86
void shutdown_register_callback(shutdown_check_fn callback)
Register application's shutdown check function.
Definition common.c:78