44 int creds(
const char *name,
int argc,
char *argv[]);
53 int help(
const char *name);
82 extern std::atomic_int desired_exit_code;
bool is_gamestream_enabled()
Check if NVIDIA's GameStream software is running.
Definition entry_handler.cpp:110
void log_publisher_data()
Log the publisher metadata provided from CMake.
Definition entry_handler.cpp:103
void launch_ui_with_path(std::string path)
Launch the Web UI at a specific endpoint.
Definition entry_handler.cpp:34
void launch_ui()
Launch the Web UI.
Definition entry_handler.cpp:29
Functions for handling command line arguments.
Definition entry_handler.cpp:39
int creds(const char *name, int argc, char *argv[])
Reset the user credentials.
Definition entry_handler.cpp:40
int version()
Print the version to stdout, then exit.
Definition entry_handler.cpp:55
int restore_nvprefs_undo()
Restore global NVIDIA control panel settings. If Sunshine was improperly terminated,...
Definition entry_handler.cpp:61
int help(const char *name)
Print help to stdout, then exit.
Definition entry_handler.cpp:50
Functions for handling the lifetime of Sunshine.
Definition entry_handler.cpp:71
void debug_trap()
Breaks into the debugger or terminates Sunshine if no debugger is attached.
Definition entry_handler.cpp:90
void exit_sunshine(int exit_code, bool async)
Terminates Sunshine gracefully with the provided exit code.
Definition entry_handler.cpp:75
char ** get_argv()
Get the argv array passed to main().
Definition entry_handler.cpp:98
Namespace for controlling the Sunshine service model on Windows.
Definition entry_handler.cpp:125
bool wait_for_ui_ready()
Wait for the UI to be ready after Sunshine startup.
Definition entry_handler.cpp:236
bool start_service()
Start the service and wait for startup to complete.
Definition entry_handler.cpp:211
bool is_service_running()
Check if the service is running.
Definition entry_handler.cpp:200
Declarations for the thread pool system.
Declarations for thread-safe data structures.