mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-21 21:17:19 +00:00
[host] use posix compatible exit codes (signed char)
This commit is contained in:
parent
e926bad759
commit
ef4df571f0
@ -22,13 +22,13 @@ Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include <stdbool.h>
|
||||
|
||||
// exit code for user opted to exit looking-glass-host
|
||||
#define LG_HOST_EXIT_USER 0xfee1dead
|
||||
#define LG_HOST_EXIT_USER 0x10
|
||||
// exit code for capture errors that should result in a restart, e.g. UAC
|
||||
#define LG_HOST_EXIT_CAPTURE 0xdead0000
|
||||
#define LG_HOST_EXIT_CAPTURE 0x20
|
||||
// exit code for terminated
|
||||
#define LG_HOST_EXIT_KILLED 0xdeadbeef
|
||||
#define LG_HOST_EXIT_KILLED 0x30
|
||||
// exit code for failed to start
|
||||
#define LG_HOST_EXIT_FAILED 0xdeadbaad
|
||||
#define LG_HOST_EXIT_FAILED 0x40
|
||||
|
||||
int app_main(int argc, char * argv[]);
|
||||
bool app_init();
|
||||
|
Loading…
Reference in New Issue
Block a user