30#include <SDL_thread.h>
73 const size_t svHunkSize = 32768;
void Com_Printf(const char *const fmt,...)
void format(__printf__, 1, 2)))
Main server include file.
int Q_vsnprintf(char *str, size_t size, const char *format, va_list ap)
Safe (null terminating) vsnprintf implementation.
bool STRHUNK_Add(stringHunk_t *hunk, const char *string)
stringHunk_t * STRHUNK_Create(size_t size)
void STRHUNK_Delete(stringHunk_t **hunk)
void STRHUNK_Visit(stringHunk_t *hunk, stringHunkVisitor_t visitor)
void STRHUNK_Reset(stringHunk_t *hunk)
Header for string hunk management.
static void SV_LogPrintOutput(const char *string)
static SDL_mutex * svLogMutex
void SV_LogAdd(const char *format, va_list ap)
Async version to add a log entry for the game lib.
void SV_LogShutdown(void)
void SV_LogHandleOutput(void)
Handle the log output from the main thread by reading the strings from the dbuffer the game lib threa...
static stringHunk_t * svLogHunk
game lib logging handling