X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=console.h;h=009b05bdc55e20a1cc9cc1b44d68fbf1231abb12;hb=cd485e620f9652f0ebdd42763d1f96d355e5f7a0;hp=644aac08fd01eb7806ce9cc3c334dbe3aef5bdc2;hpb=cb832ce2056913589604ad71dd40a4f68e4d8d9f;p=xonotic%2Fdarkplaces.git diff --git a/console.h b/console.h index 644aac08..009b05bd 100644 --- a/console.h +++ b/console.h @@ -28,14 +28,18 @@ extern int con_totallines; extern int con_backscroll; extern qboolean con_initialized; +void Con_Rcon_Redirect_Init(lhnetsocket_t *sock, lhnetaddress_t *dest); +void Con_Rcon_Redirect_End(); +void Con_Rcon_Redirect_Abort(); + void Con_CheckResize (void); void Con_Init (void); void Con_Init_Commands (void); void Con_DrawConsole (int lines); void Con_Print(const char *txt); -void Con_Printf(const char *fmt, ...); +void Con_Printf(const char *fmt, ...) DP_FUNC_PRINTF(1); void Con_DPrint(const char *msg); -void Con_DPrintf(const char *fmt, ...); +void Con_DPrintf(const char *fmt, ...) DP_FUNC_PRINTF(1); void Con_Clear_f (void); void Con_DrawNotify (void); void Con_ClearNotify (void); @@ -60,8 +64,9 @@ void Con_DisplayList(const char **list); void Log_Init (void); void Log_Close (void); void Log_Start (void); +void Log_DestBuffer_Flush (void); // call this once per frame to send out replies to rcon streaming clients -void Log_Printf(const char *logfilename, const char *fmt, ...); +void Log_Printf(const char *logfilename, const char *fmt, ...) DP_FUNC_PRINTF(2); #endif