X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=gmqcc.h;h=7ebb1c6ce091fe2a81b5054e24a883f4a8ee0599;hb=50d165e1737994ea8d72322fdb506b4da96925a3;hp=ad8948c32cc2cf8bb2d6542b4c6a77f4e1752633;hpb=87d9371a5c08f5b05ba70b11c63df80960b40831;p=xonotic%2Fgmqcc.git diff --git a/gmqcc.h b/gmqcc.h index ad8948c..7ebb1c6 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -25,7 +25,7 @@ #define GMQCC_HDR #include #include -#include /* TODO remove?*/ +#include /* TODO: remove?*/ /* * Disable some over protective warnings in visual studio because fixing them is a waste @@ -312,6 +312,11 @@ const char *util_strerror(int err); const struct tm *util_localtime(const time_t *timer); const char *util_ctime (const time_t *timer); +typedef struct fs_file_s fs_file_t; + +bool util_isatty(fs_file_t *); +const char *util_tmpnam(char *); + /* * A flexible vector implementation: all vector pointers contain some * data about themselfs exactly - sizeof(vector_t) behind the pointer @@ -404,7 +409,7 @@ int util_snprintf(char *str, size_t, const char *fmt, ...); #define FS_FILE_EOF -1 typedef struct fs_dir_s fs_dir_t; -typedef struct fs_file_s fs_file_t; +/*typedef struct fs_file_s fs_file_t;*/ typedef struct dirent fs_dirent_t; void fs_file_close (fs_file_t *);