From 2f4b09a3fd677b7fb66723bd64358dd0798a2af5 Mon Sep 17 00:00:00 2001 From: thilo Date: Sat, 12 Apr 2008 17:00:18 +0000 Subject: - fix a potential file descriptor leak in server side of pak downloading - add new functions for banning clients from server, in engine part. This will also make it possible to ban ipv6 addresses in old mods. git-svn-id: svn://svn.icculus.org/quake3/trunk@1312 edf5b092-35ff-0310-97b2-ce42778d08ea --- code/qcommon/qcommon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'code/qcommon/qcommon.h') diff --git a/code/qcommon/qcommon.h b/code/qcommon/qcommon.h index 8746f3b..396042e 100644 --- a/code/qcommon/qcommon.h +++ b/code/qcommon/qcommon.h @@ -583,6 +583,7 @@ int FS_GetFileList( const char *path, const char *extension, char *listbuf, in int FS_GetModList( char *listbuf, int bufsize ); fileHandle_t FS_FOpenFileWrite( const char *qpath ); +fileHandle_t FS_FOpenFileAppend( const char *filename ); // will properly create any needed paths and deal with seperater character issues int FS_filelength( fileHandle_t f ); -- cgit v1.2.3