]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
also block floods of getstatus, getinfo, getchallenge
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 908c9e5f2f5509d9f1a0a55dfb2ef7309ee7eac6..628c5d613ebff22f7ceff4ea74ac945dbca66f53 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -72,6 +72,7 @@ void Sys_Error (const char *error, ...) DP_FUNC_PRINTF(1);
 
 /// (may) output text to terminal which launched program
 void Sys_PrintToTerminal(const char *text);
+void Sys_PrintfToTerminal(const char *fmt, ...);
 
 /// INFO: This is only called by Host_Shutdown so we dont need testing for recursion
 void Sys_Shutdown (void);
@@ -109,5 +110,10 @@ extern qboolean sys_supportsdlgetticks;
 unsigned int Sys_SDL_GetTicks (void); // wrapper to call SDL_GetTicks
 void Sys_SDL_Delay (unsigned int milliseconds); // wrapper to call SDL_Delay
 
+/// called to set process priority for dedicated servers
+void Sys_InitProcessNice (void);
+void Sys_MakeProcessNice (void);
+void Sys_MakeProcessMean (void);
+
 #endif