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 File Reference

Shutdown check system for clean library/application separation. More...

Go to the source code of this file.

Typedefs

typedef bool(* shutdown_check_fn) (void)
 Shutdown check callback function type.

Functions

void shutdown_register_callback (shutdown_check_fn callback)
 Register application's shutdown check function.
void shutdown_request (void)
bool shutdown_is_requested (void)
 Check if shutdown has been requested.

Detailed Description

Shutdown check system for clean library/application separation.

Definition in file shutdown.h.