refactor: Break wine API functions out of the main daemon source

Signed-off-by: Kai Krakow <kai@kaishome.de>
This commit is contained in:
Kai Krakow
2018-10-08 22:40:35 +02:00
parent 403ce122f6
commit f4cd01f989
4 changed files with 175 additions and 111 deletions

View File

@ -123,3 +123,11 @@ int game_mode_close_proc(const procfd_t procfd);
*/
void game_mode_apply_renice(const GameModeContext *self, const pid_t client);
void game_mode_apply_scheduling(const GameModeContext *self, const pid_t client);
/** gamemode-wine.c
* Provides internal API functions specific to handling wine
* prefixes.
*/
bool game_mode_detect_wine_loader(const char *exe);
bool game_mode_detect_wine_preloader(const char *exe);
char *game_mode_resolve_wine_preloader(const pid_t pid);