2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
|
|
|
|
* Internal function/structure declaration. Do NOT include in your
|
|
|
|
|
* application.
|
|
|
|
|
*
|
|
|
|
|
* Please see the file LICENSE in the source's root directory.
|
|
|
|
|
*
|
|
|
|
|
* This file written by Ryan C. Gordon.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef _INCLUDE_PHYSFS_INTERNAL_H_
|
|
|
|
|
#define _INCLUDE_PHYSFS_INTERNAL_H_
|
|
|
|
|
|
|
|
|
|
#ifndef __PHYSICSFS_INTERNAL__
|
|
|
|
|
#error Do not include this header from your applications.
|
|
|
|
|
#endif
|
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
#include "physfs.h"
|
|
|
|
|
|
2002-11-22 07:24:10 +01:00
|
|
|
|
#ifdef HAVE_ASSERT_H
|
|
|
|
|
#include <assert.h>
|
|
|
|
|
#else
|
|
|
|
|
#define assert(x)
|
|
|
|
|
#endif
|
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2002-07-28 23:03:27 +02:00
|
|
|
|
|
|
|
|
|
/* The LANG section. */
|
|
|
|
|
/* please send questions/translations to Ryan: icculus@clutteredmind.org. */
|
|
|
|
|
|
|
|
|
|
#if (!defined PHYSFS_LANG)
|
|
|
|
|
# define PHYSFS_LANG PHYSFS_LANG_ENGLISH
|
|
|
|
|
#endif
|
|
|
|
|
|
2002-07-30 08:38:32 +02:00
|
|
|
|
#define PHYSFS_LANG_ENGLISH 1 /* English by Ryan C. Gordon */
|
2003-07-21 05:58:03 +02:00
|
|
|
|
#define PHYSFS_LANG_RUSSIAN_KOI8_R 2 /* Russian by Ed Sinjiashvili */
|
|
|
|
|
#define PHYSFS_LANG_RUSSIAN_CP1251 3 /* Russian by Ed Sinjiashvili */
|
|
|
|
|
#define PHYSFS_LANG_RUSSIAN_CP866 4 /* Russian by Ed Sinjiashvili */
|
|
|
|
|
#define PHYSFS_LANG_RUSSIAN_ISO_8859_5 5 /* Russian by Ed Sinjiashvili */
|
|
|
|
|
/* need spanish. */
|
2002-07-30 08:38:32 +02:00
|
|
|
|
#define PHYSFS_LANG_FRENCH 7 /* French by St<53>phane Peter */
|
2002-12-03 01:25:05 +01:00
|
|
|
|
#define PHYSFS_LANG_GERMAN 8 /* German by Michael Renner */
|
2002-07-28 23:03:27 +02:00
|
|
|
|
|
|
|
|
|
#if (PHYSFS_LANG == PHYSFS_LANG_ENGLISH)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "Non-archive, direct filesystem I/O"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "Build engine Groupfile format"
|
2003-03-30 20:59:54 +02:00
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
2003-07-21 02:27:27 +02:00
|
|
|
|
#define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
|
2002-07-28 23:03:27 +02:00
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip compatible"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "Already initialized"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "Not initialized"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "Invalid argument"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "Files still open"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "Failed to create directories"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "Out of memory"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "No such entry in search path"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "Operation not supported"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "Archive type unsupported"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "Not a file handle"
|
|
|
|
|
#define ERR_INSECURE_FNAME "Insecure filename"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "Symbolic links are disabled"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "Write directory is not set"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "File not found"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "Path not found"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "Volume not found"
|
|
|
|
|
#define ERR_PAST_EOF "Past end of file"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "Archive is read-only"
|
|
|
|
|
#define ERR_IO_ERROR "I/O error"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "Can't set write directory"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "Infinite symbolic link loop"
|
|
|
|
|
#define ERR_COMPRESSION "(De)compression error"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "Not implemented"
|
|
|
|
|
#define ERR_OS_ERROR "Operating system reported error"
|
|
|
|
|
#define ERR_FILE_EXISTS "File already exists"
|
|
|
|
|
#define ERR_NOT_A_FILE "Not a file"
|
|
|
|
|
#define ERR_NOT_A_DIR "Not a directory"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "Not an archive"
|
|
|
|
|
#define ERR_CORRUPTED "Corrupted archive"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "Seek out of range"
|
|
|
|
|
#define ERR_BAD_FILENAME "Bad filename"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS made a bad system call"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 is NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: need dictionary"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: data error"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: memory error"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: buffer error"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: version error"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: unknown error"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "Search path was truncated"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() was truncated"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() had no dir"
|
|
|
|
|
#define ERR_DISK_FULL "Disk is full"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "Directory full"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS reported error (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 reported error (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "Volume is locked through hardware"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "Volume is locked through software"
|
|
|
|
|
#define ERR_FILE_LOCKED "File is locked"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "File/directory is busy"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "File already open for writing"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "File already open for reading"
|
|
|
|
|
#define ERR_INVALID_REFNUM "Invalid reference number"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "Error getting file position"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "Volume is offline"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "Permission denied"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "Volume already online"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "No such drive"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "Not a Macintosh disk"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "Volume belongs to an external filesystem"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "Problem during rename"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "Bad master directory block"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "Attempt to move forbidden"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "Wrong volume type"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "Server volume has been disconnected"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "File ID not found"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "File ID already exists"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "Server not responding"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "User authentication failed"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "Password has expired on server"
|
|
|
|
|
#define ERR_ACCESS_DENIED "Access denied"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "Not a DOS disk"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "Sharing violation"
|
|
|
|
|
#define ERR_CANNOT_MAKE "Cannot make"
|
|
|
|
|
#define ERR_DEV_IN_USE "Device already in use"
|
|
|
|
|
#define ERR_OPEN_FAILED "Open failed"
|
|
|
|
|
#define ERR_PIPE_BUSY "Pipe is busy"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "Sharing buffer exceeded"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "Too many open handles"
|
|
|
|
|
#define ERR_SEEK_ERROR "Seek error"
|
|
|
|
|
#define ERR_DEL_CWD "Trying to delete current working directory"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "Write protect error"
|
|
|
|
|
#define ERR_WRITE_FAULT "Write fault"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "Lock violation"
|
|
|
|
|
#define ERR_GEN_FAILURE "General failure"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "Uncertain media"
|
|
|
|
|
#define ERR_PROT_VIOLATION "Protection violation"
|
|
|
|
|
#define ERR_BROKEN_PIPE "Broken pipe"
|
2002-07-29 23:05:00 +02:00
|
|
|
|
|
2002-12-03 01:25:05 +01:00
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_GERMAN)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "Kein Archiv, direkte Ein/Ausgabe in das Dateisystem"
|
2003-07-21 02:27:27 +02:00
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "Build engine Groupfile format"
|
2003-03-30 20:59:54 +02:00
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
2003-07-21 02:27:27 +02:00
|
|
|
|
#define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
|
2002-12-03 01:25:05 +01:00
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip kompatibel"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "Bereits initialisiert"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "Nicht initialisiert"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "Ung<6E>ltiges Argument"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "Dateien noch immer ge<67>ffnet"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "Fehler beim Erzeugen der Verzeichnisse"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "Kein Speicher mehr frei"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "Eintrag nicht im Suchpfad enthalten"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "Befehl nicht unterst<73>tzt"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "Archiv-Typ nicht unterst<73>tzt"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "Ist kein Dateideskriptor"
|
|
|
|
|
#define ERR_INSECURE_FNAME "Unsicherer Dateiname"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "Symbolische Verweise deaktiviert"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "Schreibverzeichnis ist nicht gesetzt"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "Datei nicht gefunden"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "Pfad nicht gefunden"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "Datencontainer nicht gefunden"
|
|
|
|
|
#define ERR_PAST_EOF "Hinter dem Ende der Datei"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "Archiv ist schreibgesch<63>tzt"
|
|
|
|
|
#define ERR_IO_ERROR "Ein/Ausgabe Fehler"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "Kann Schreibverzeichnis nicht setzen"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "Endlosschleife durch symbolische Verweise"
|
|
|
|
|
#define ERR_COMPRESSION "(De)Kompressionsfehler"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "Nicht implementiert"
|
|
|
|
|
#define ERR_OS_ERROR "Betriebssystem meldete Fehler"
|
|
|
|
|
#define ERR_FILE_EXISTS "Datei existiert bereits"
|
|
|
|
|
#define ERR_NOT_A_FILE "Ist keine Datei"
|
|
|
|
|
#define ERR_NOT_A_DIR "Ist kein Verzeichnis"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "Ist kein Archiv"
|
|
|
|
|
#define ERR_CORRUPTED "Besch<63>digtes Archiv"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "Suche war ausserhalb der Reichweite"
|
|
|
|
|
#define ERR_BAD_FILENAME "Unzul<75>ssiger Dateiname"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS verursachte einen ung<6E>ltigen Systemaufruf"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 ist NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: brauche W<>rterbuch"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: Datenfehler"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: Speicherfehler"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: Bufferfehler"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: Versionskonflikt"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: Unbekannter Fehler"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "Suchpfad war abgeschnitten"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() war abgeschnitten"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() bekam kein Verzeichnis"
|
|
|
|
|
#define ERR_DISK_FULL "Laufwerk ist voll"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "Verzeichnis ist voll"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS meldete Fehler (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 meldete Fehler (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "Datencontainer ist durch Hardware gesperrt"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "Datencontainer ist durch Software gesperrt"
|
|
|
|
|
#define ERR_FILE_LOCKED "Datei ist gesperrt"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "Datei/Verzeichnis ist besch<63>ftigt"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "Datei schon im Schreibmodus ge<67>ffnet"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "Datei schon im Lesemodus ge<67>ffnet"
|
|
|
|
|
#define ERR_INVALID_REFNUM "Ung<6E>ltige Referenznummer"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "Fehler beim Finden der Dateiposition"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "Datencontainer ist offline"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "Zugriff verweigert"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "Datencontainer ist bereits online"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "Laufwerk nicht vorhanden"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "Ist kein Macintosh Laufwerk"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "Datencontainer liegt auf einem externen Dateisystem"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "Fehler beim Umbenennen"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "Besch<63>digter Hauptverzeichnisblock"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "Verschieben nicht erlaubt"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "Falscher Datencontainer-Typ"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "Datencontainer am Server wurde getrennt"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "Dateikennung nicht gefunden"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "Dateikennung existiert bereits"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "Server antwortet nicht"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "Benutzerauthentifizierung fehlgeschlagen"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "Passwort am Server ist abgelaufen"
|
|
|
|
|
#define ERR_ACCESS_DENIED "Zugriff verweigert"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "Ist kein DOS-Laufwerk"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "Zugriffsverletzung"
|
|
|
|
|
#define ERR_CANNOT_MAKE "Kann nicht erzeugen"
|
|
|
|
|
#define ERR_DEV_IN_USE "Ger<65>t wird bereits benutzt"
|
|
|
|
|
#define ERR_OPEN_FAILED "<22>ffnen fehlgeschlagen"
|
|
|
|
|
#define ERR_PIPE_BUSY "Pipeverbindung ist belegt"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "Zugriffsbuffer <20>berschritten"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "Zu viele offene Dateien"
|
|
|
|
|
#define ERR_SEEK_ERROR "Fehler beim Suchen"
|
|
|
|
|
#define ERR_DEL_CWD "Aktuelles Arbeitsverzeichnis darf nicht gel<65>scht werden"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "Schreibschutzfehler"
|
|
|
|
|
#define ERR_WRITE_FAULT "Schreibfehler"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "Sperrverletzung"
|
|
|
|
|
#define ERR_GEN_FAILURE "Allgemeiner Fehler"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "Unsicheres Medium"
|
|
|
|
|
#define ERR_PROT_VIOLATION "Schutzverletzung"
|
|
|
|
|
#define ERR_BROKEN_PIPE "Pipeverbindung unterbrochen"
|
|
|
|
|
|
2003-07-21 05:58:03 +02:00
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_KOI8_R)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> Build engine"
|
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INSECURE_FNAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PAST_EOF "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_IO_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_COMPRESSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OS_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_EXISTS "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_FILE "<22><> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DIR "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CORRUPTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_FILENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 is NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DISK_FULL "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_LOCKED "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "<22><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_REFNUM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "<22><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "<22><> <20><><EFBFBD><EFBFBD> Macintosh"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ACCESS_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "<22><> <20><><EFBFBD><EFBFBD> DOS"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANNOT_MAKE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEV_IN_USE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OPEN_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PIPE_BUSY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEL_CWD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_FAULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GEN_FAILURE "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROT_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BROKEN_PIPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_CP1251)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> Build engine"
|
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INSECURE_FNAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PAST_EOF "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_IO_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_COMPRESSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OS_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_EXISTS "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_FILE "<22><> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DIR "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CORRUPTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_FILENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 is NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DISK_FULL "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_LOCKED "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "<22><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_REFNUM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "<22><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "<22><> <20><><EFBFBD><EFBFBD> Macintosh"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ACCESS_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "<22><> <20><><EFBFBD><EFBFBD> DOS"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANNOT_MAKE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEV_IN_USE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OPEN_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PIPE_BUSY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEL_CWD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_FAULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GEN_FAILURE "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROT_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BROKEN_PIPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_CP866)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "<22><> <20><>娢, <20><><EFBFBD><EFBFBD><EFBFBD>।<EFBFBD>⢥<EFBFBD><E2A2A5><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<EFBFBD>뢮<EFBFBD> 䠩<><E4A0A9><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>⥬<EFBFBD>"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "<22><>ଠ<EFBFBD> <20><>㯯<EFBFBD><E3AFAF><EFBFBD><EFBFBD><EFBFBD> 䠩<><E4A0A9> Build engine"
|
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip ᮢ<><E1AEA2><EFBFBD>⨬<EFBFBD><E2A8AC>"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "<22><><EFBFBD> <20><><EFBFBD>樠<EFBFBD><E6A8A0><EFBFBD><EFBFBD><EFBFBD><E0AEA2>"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "<22><> <20><><EFBFBD>樠<EFBFBD><E6A8A0><EFBFBD><EFBFBD><EFBFBD><E0AEA2>"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>㬥<EFBFBD><E3ACA5>"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "<22><> <20><><EFBFBD><EFBFBD> ᮧ<><E1AEA7><EFBFBD><EFBFBD> <20><>⠫<EFBFBD><E2A0AB><EFBFBD>"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "<22><><EFBFBD>稫<EFBFBD><E7A8AB><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "<22><><EFBFBD> ⠪<><E2A0AA><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>᪠"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ন<EFBFBD><E0A6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "<22><>娢<EFBFBD> ⠪<><E2A0AA><EFBFBD> ⨯<> <20><> <20><><EFBFBD><EFBFBD><EFBFBD>ন<EFBFBD><E0A6A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "<22><> 䠩<><E4A0A9><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ਯ<EFBFBD><E0A8AF><EFBFBD>"
|
|
|
|
|
#define ERR_INSECURE_FNAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>᭮<EFBFBD> <20><><EFBFBD> 䠩<><E4A0A9>"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>뫪<EFBFBD> <20>⪫<EFBFBD>祭<EFBFBD>"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "<22><>⠫<EFBFBD><E2A0AB> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>⠭<EFBFBD><E2A0AD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PAST_EOF "<22><> <20><><EFBFBD>殬 䠩<><E4A0A9>"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "<22><>娢 ⮫쪮 <20><><EFBFBD> <20>⥭<EFBFBD><E2A5AD>"
|
|
|
|
|
#define ERR_IO_ERROR "<22>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD>뢮<EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "<22><> <20><><EFBFBD><EFBFBD> <20><>⠭<EFBFBD><E2A0AD><EFBFBD><EFBFBD><EFBFBD> <20><>⠫<EFBFBD><E2A0AB> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "<22><><EFBFBD><E1AAAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> 横<> ᨬ<><E1A8AC><EFBFBD>쭮<EFBFBD> <20><>뫪<EFBFBD>"
|
|
|
|
|
#define ERR_COMPRESSION "<22>訡<EFBFBD><E8A8A1> (<28><><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "<22><> ॠ<><E0A5A0><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OS_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD>樮<EFBFBD><E6A8AE><EFBFBD><EFBFBD> <20><><EFBFBD>⥬<EFBFBD> ᮮ<>騫<EFBFBD> <20>訡<EFBFBD><E8A8A1>"
|
|
|
|
|
#define ERR_FILE_EXISTS "<22><><EFBFBD><EFBFBD> 㦥 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_FILE "<22><> 䠩<>"
|
|
|
|
|
#define ERR_NOT_A_DIR "<22><> <20><>⠫<EFBFBD><E2A0AB>"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "<22><> <20><>娢"
|
|
|
|
|
#define ERR_CORRUPTED "<22><><EFBFBD>०<EFBFBD><E0A5A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><>娢"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "<22><><EFBFBD><EFBFBD>樮<EFBFBD><E6A8AE><EFBFBD><E0AEA2><EFBFBD><EFBFBD> <20><> <20>।<EFBFBD><E0A5A4><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_FILENAME "<22><><EFBFBD><EFBFBD>୮<EFBFBD> <20><><EFBFBD> 䠩<><E4A0A9>"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS <20>믮<EFBFBD><EBAFAE><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>⥬<EFBFBD><E2A5AC><EFBFBD> <20>맮<EFBFBD>"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 is NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: <20>㦥<EFBFBD> <><E1ABAE><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: <20>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: <20>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: <20>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: <20>訡<EFBFBD><E8A8A1> <20><><EFBFBD>ᨨ"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⭠<EFBFBD> <20>訡<EFBFBD><E8A8A1>"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "<22><><EFBFBD><EFBFBD> <20><><EFBFBD>᪠ <20><>१<EFBFBD><E0A5A7>"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() <20><>१<EFBFBD><E0A5A7>"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() <20><> <20><><EFBFBD><EFBFBD>稫 <20><>⠫<EFBFBD><E2A0AB>"
|
|
|
|
|
#define ERR_DISK_FULL "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "<22><>⠫<EFBFBD><E2A0AB> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS ᮮ<>騫<EFBFBD> <20>訡<EFBFBD><E8A8A1> (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 ᮮ<>騫<EFBFBD> <20>訡<EFBFBD><E8A8A1> (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⭮"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2> <20>ணࠬ<E0AEA3><E0A0AC><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_LOCKED "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2>"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "<22><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD>⠫<EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "<22><><EFBFBD><EFBFBD> 㦥 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "<22><><EFBFBD><EFBFBD> 㦥 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20>⥭<EFBFBD><E2A5AD>"
|
|
|
|
|
#define ERR_INVALID_REFNUM "<22><><EFBFBD><EFBFBD>୮<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>⢮ <20><>뫮<EFBFBD>"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "<22>訡<EFBFBD><E8A8A1> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>祭<EFBFBD><E7A5AD> <20><><EFBFBD><EFBFBD>樨 䠩<><E4A0A9>"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "<22><><EFBFBD> <20><>ᮥ<EFBFBD><E1AEA5><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "<22>⪠<EFBFBD><E2AAA0><EFBFBD><EFBFBD> <20> ࠧ<><E0A0A7>襭<EFBFBD><E8A5AD>"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "<22><><EFBFBD> 㦥 <20><><EFBFBD>ᮥ<EFBFBD><E1AEA5><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "<22><><EFBFBD> ⠪<><E2A0AA><EFBFBD> <20><>᪠"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "<22><> <20><><EFBFBD><EFBFBD> Macintosh"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "<22><><EFBFBD> <20>ਭ<EFBFBD><E0A8AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>譥<EFBFBD> 䠩<><E4A0A9><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>⥬<EFBFBD>"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "<22><EFBFBD><E0AEA1><EFBFBD><EFBFBD> <20><><EFBFBD> <20><>२<EFBFBD><E0A5A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "<22><><EFBFBD>宩 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><>⠫<EFBFBD><E2A0AB><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "<22><><EFBFBD><EFBFBD>⪠ <20><>६<EFBFBD><E0A5AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>饭<EFBFBD>"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ⨯ ⮬<>"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "<22><>ࢥ<EFBFBD><E0A2A5><EFBFBD><EFBFBD> ⮬ <20><><EFBFBD> <20><>ᮥ<EFBFBD><E1AEA5><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD> 䠩<><E4A0A9> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD> 䠩<><E4A0A9> 㦥 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "<22><>ࢥ<EFBFBD> <20><> <20>⢥砥<E2A2A5>"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>䨪<EFBFBD><E4A8AA><EFBFBD><EFBFBD> <20><><EFBFBD>짮<EFBFBD><ECA7AE>⥫<EFBFBD> <20><> 㤠<><E3A4A0><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "<22><><EFBFBD> <20><> <20><>ࢥ<EFBFBD><E0A2A5> <20><><EFBFBD><EFBFBD>५"
|
|
|
|
|
#define ERR_ACCESS_DENIED "<22>⪠<EFBFBD><E2AAA0><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD>㯥"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "<22><> <20><><EFBFBD><EFBFBD> DOS"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "<22><><EFBFBD><EFBFBD>襭<EFBFBD><E8A5AD> ᮢ<><E1AEA2><EFBFBD>⭮<EFBFBD><E2ADAE> <20><><EFBFBD><EFBFBD>㯠"
|
|
|
|
|
#define ERR_CANNOT_MAKE "<22><> <20><><EFBFBD><EFBFBD> ᮡ<><E1AEA1><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEV_IN_USE "<22><><EFBFBD>ன<EFBFBD>⢮ 㦥 <20>ᯮ<EFBFBD><E1AFAE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OPEN_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD>⨥ <20><> 㤠<><E3A4A0><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PIPE_BUSY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>塞<EFBFBD><EFA5AC> <20><><EFBFBD><EFBFBD><EFBFBD> <20><>९<EFBFBD><E0A5AF><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "<22><><EFBFBD>誮<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>ਯ<EFBFBD><E0A8AF>"
|
|
|
|
|
#define ERR_SEEK_ERROR "<22>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD>樮<EFBFBD><E6A8AE><EFBFBD><E0AEA2><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEL_CWD "<22><><EFBFBD><EFBFBD>⪠ 㤠<><E3A4A0><EFBFBD><EFBFBD> ⥪<>騩 ࠡ<>稩 <20><>⠫<EFBFBD><E2A0AB>"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "<22>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_FAULT "<22>訡<EFBFBD><E8A8A1> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "<22><><EFBFBD><EFBFBD>襭<EFBFBD><E8A5AD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><E0AEA2>"
|
|
|
|
|
#define ERR_GEN_FAILURE "<22><>騩 ᡮ<>"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "<22><><EFBFBD><EFBFBD>।<EFBFBD><E0A5A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>⥫<EFBFBD>"
|
|
|
|
|
#define ERR_PROT_VIOLATION "<22><><EFBFBD><EFBFBD>襭<EFBFBD><E8A5AD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BROKEN_PIPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_RUSSIAN_ISO_8859_5)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> Build engine"
|
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "PkZip/WinZip/Info-Zip <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INSECURE_FNAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "<22><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "<22><><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PAST_EOF "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_IO_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_COMPRESSION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (<28><><EFBFBD>)<29><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OS_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_EXISTS "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_FILE "<22><> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DIR "<22><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "<22><> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CORRUPTED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_FILENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BUG) PhysicsFS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 is NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DISK_FULL "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_MACOS_GENERIC "MacOS <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "OS/2 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_LOCKED "<22><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "<22><><EFBFBD><EFBFBD>/<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "<22><><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_INVALID_REFNUM "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "<22><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "<22><> <20><><EFBFBD><EFBFBD> Macintosh"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "<22><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_ACCESS_DENIED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "<22><> <20><><EFBFBD><EFBFBD> DOS"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_CANNOT_MAKE "<22><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEV_IN_USE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_OPEN_FAILED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PIPE_BUSY "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_SEEK_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_DEL_CWD "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_WRITE_FAULT "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_GEN_FAILURE "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_PROT_VIOLATION "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
#define ERR_BROKEN_PIPE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
|
|
|
|
|
|
|
|
|
2002-07-30 07:41:02 +02:00
|
|
|
|
#elif (PHYSFS_LANG == PHYSFS_LANG_FRENCH)
|
|
|
|
|
#define DIR_ARCHIVE_DESCRIPTION "Pas d'archive, E/S directes sur syst<73>me de fichiers"
|
|
|
|
|
#define GRP_ARCHIVE_DESCRIPTION "Format Groupfile du moteur Build"
|
2003-03-30 20:59:54 +02:00
|
|
|
|
#define HOG_ARCHIVE_DESCRIPTION "Descent I/II HOG file format"
|
|
|
|
|
#define MVL_ARCHIVE_DESCRIPTION "Descent II Movielib format"
|
2003-07-21 02:27:27 +02:00
|
|
|
|
#define QPAK_ARCHIVE_DESCRIPTION "Quake I/II format"
|
2002-07-30 07:41:02 +02:00
|
|
|
|
#define ZIP_ARCHIVE_DESCRIPTION "Compatible PkZip/WinZip/Info-Zip"
|
|
|
|
|
|
|
|
|
|
#define ERR_IS_INITIALIZED "D<>j<EFBFBD> initialis<69>"
|
|
|
|
|
#define ERR_NOT_INITIALIZED "Non initialis<69>"
|
|
|
|
|
#define ERR_INVALID_ARGUMENT "Argument invalide"
|
|
|
|
|
#define ERR_FILES_STILL_OPEN "Fichiers encore ouverts"
|
|
|
|
|
#define ERR_NO_DIR_CREATE "Echec de la cr<63>ation de r<>pertoires"
|
|
|
|
|
#define ERR_OUT_OF_MEMORY "A court de m<>moire"
|
|
|
|
|
#define ERR_NOT_IN_SEARCH_PATH "Aucune entr<74>e dans le chemin de recherche"
|
|
|
|
|
#define ERR_NOT_SUPPORTED "Op<4F>ration non support<72>e"
|
|
|
|
|
#define ERR_UNSUPPORTED_ARCHIVE "Type d'archive non support<72>e"
|
|
|
|
|
#define ERR_NOT_A_HANDLE "Pas un descripteur de fichier"
|
|
|
|
|
#define ERR_INSECURE_FNAME "Nom de fichier dangereux"
|
|
|
|
|
#define ERR_SYMLINK_DISALLOWED "Les liens symboliques sont d<>sactiv<69>s"
|
|
|
|
|
#define ERR_NO_WRITE_DIR "Le r<>pertoire d'<27>criture n'est pas sp<73>cifi<66>"
|
|
|
|
|
#define ERR_NO_SUCH_FILE "Fichier non trouv<75>"
|
|
|
|
|
#define ERR_NO_SUCH_PATH "Chemin non trouv<75>"
|
|
|
|
|
#define ERR_NO_SUCH_VOLUME "Volume non trouv<75>"
|
|
|
|
|
#define ERR_PAST_EOF "Au-del<65> de la fin du fichier"
|
|
|
|
|
#define ERR_ARC_IS_READ_ONLY "L'archive est en lecture seule"
|
|
|
|
|
#define ERR_IO_ERROR "Erreur E/S"
|
|
|
|
|
#define ERR_CANT_SET_WRITE_DIR "Ne peut utiliser le r<>pertoire d'<27>criture"
|
|
|
|
|
#define ERR_SYMLINK_LOOP "Boucle infinie dans les liens symboliques"
|
|
|
|
|
#define ERR_COMPRESSION "Erreur de (d<>)compression"
|
|
|
|
|
#define ERR_NOT_IMPLEMENTED "Non impl<70>ment<6E>"
|
|
|
|
|
#define ERR_OS_ERROR "Erreur rapport<72>e par le syst<73>me d'exploitation"
|
|
|
|
|
#define ERR_FILE_EXISTS "Le fichier existe d<>j<EFBFBD>"
|
|
|
|
|
#define ERR_NOT_A_FILE "Pas un fichier"
|
|
|
|
|
#define ERR_NOT_A_DIR "Pas un r<>pertoire"
|
|
|
|
|
#define ERR_NOT_AN_ARCHIVE "Pas une archive"
|
|
|
|
|
#define ERR_CORRUPTED "Archive corrompue"
|
|
|
|
|
#define ERR_SEEK_OUT_OF_RANGE "Pointeur de fichier hors de port<72>e"
|
|
|
|
|
#define ERR_BAD_FILENAME "Mauvais nom de fichier"
|
|
|
|
|
#define ERR_PHYSFS_BAD_OS_CALL "(BOGUE) PhysicsFS a fait un mauvais appel syst<73>me, le salaud"
|
|
|
|
|
#define ERR_ARGV0_IS_NULL "argv0 est NULL"
|
|
|
|
|
#define ERR_ZLIB_NEED_DICT "zlib: a besoin du dico"
|
|
|
|
|
#define ERR_ZLIB_DATA_ERROR "zlib: erreur de donn<6E>es"
|
|
|
|
|
#define ERR_ZLIB_MEMORY_ERROR "zlib: erreur m<>moire"
|
|
|
|
|
#define ERR_ZLIB_BUFFER_ERROR "zlib: erreur tampon"
|
|
|
|
|
#define ERR_ZLIB_VERSION_ERROR "zlib: erreur de version"
|
|
|
|
|
#define ERR_ZLIB_UNKNOWN_ERROR "zlib: erreur inconnue"
|
|
|
|
|
#define ERR_SEARCHPATH_TRUNC "Le chemin de recherche a <20>t<EFBFBD> tronqu<71>"
|
|
|
|
|
#define ERR_GETMODFN_TRUNC "GetModuleFileName() a <20>t<EFBFBD> tronqu<71>"
|
|
|
|
|
#define ERR_GETMODFN_NO_DIR "GetModuleFileName() n'a pas de r<>pertoire"
|
|
|
|
|
#define ERR_DISK_FULL "Disque plein"
|
|
|
|
|
#define ERR_DIRECTORY_FULL "R<>pertoire plein"
|
|
|
|
|
#define ERR_MACOS_GENERIC "Erreur rapport<72>e par MacOS (%d)"
|
|
|
|
|
#define ERR_OS2_GENERIC "Erreur rapport<72>e par OS/2 (%d)"
|
|
|
|
|
#define ERR_VOL_LOCKED_HW "Le volume est verrouill<6C> mat<61>riellement"
|
|
|
|
|
#define ERR_VOL_LOCKED_SW "Le volume est verrouill<6C> par logiciel"
|
|
|
|
|
#define ERR_FILE_LOCKED "Fichier verrouill<6C>"
|
|
|
|
|
#define ERR_FILE_OR_DIR_BUSY "Fichier/r<EFBFBD>pertoire occup<75>"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_W "Fichier d<>j<EFBFBD> ouvert en <20>criture"
|
|
|
|
|
#define ERR_FILE_ALREADY_OPEN_R "Fichier d<>j<EFBFBD> ouvert en lecture"
|
|
|
|
|
#define ERR_INVALID_REFNUM "Num<75>ro de r<>f<EFBFBD>rence invalide"
|
|
|
|
|
#define ERR_GETTING_FILE_POS "Erreur lors de l'obtention de la position du pointeur de fichier"
|
|
|
|
|
#define ERR_VOLUME_OFFLINE "Le volume n'est pas en ligne"
|
|
|
|
|
#define ERR_PERMISSION_DENIED "Permission refus<75>e"
|
|
|
|
|
#define ERR_VOL_ALREADY_ONLINE "Volum<75> d<>j<EFBFBD> en ligne"
|
|
|
|
|
#define ERR_NO_SUCH_DRIVE "Lecteur inexistant"
|
|
|
|
|
#define ERR_NOT_MAC_DISK "Pas un disque Macintosh"
|
|
|
|
|
#define ERR_VOL_EXTERNAL_FS "Le volume appartient <20> un syst<73>me de fichiers externe"
|
|
|
|
|
#define ERR_PROBLEM_RENAME "Probl<62>me lors du renommage"
|
|
|
|
|
#define ERR_BAD_MASTER_BLOCK "Mauvais block maitre de r<>pertoire"
|
|
|
|
|
#define ERR_CANT_MOVE_FORBIDDEN "Essai de d<>placement interdit"
|
|
|
|
|
#define ERR_WRONG_VOL_TYPE "Mauvais type de volume"
|
|
|
|
|
#define ERR_SERVER_VOL_LOST "Le volume serveur a <20>t<EFBFBD> d<>connect<63>"
|
|
|
|
|
#define ERR_FILE_ID_NOT_FOUND "Identificateur de fichier non trouv<75>"
|
|
|
|
|
#define ERR_FILE_ID_EXISTS "Identificateur de fichier existe d<>j<EFBFBD>"
|
|
|
|
|
#define ERR_SERVER_NO_RESPOND "Le serveur ne r<>pond pas"
|
|
|
|
|
#define ERR_USER_AUTH_FAILED "Authentification de l'utilisateur <20>chou<6F>e"
|
|
|
|
|
#define ERR_PWORD_EXPIRED "Le mot de passe a expir<69> sur le serveur"
|
|
|
|
|
#define ERR_ACCESS_DENIED "Acc<63>s refus<75>"
|
|
|
|
|
#define ERR_NOT_A_DOS_DISK "Pas un disque DOS"
|
|
|
|
|
#define ERR_SHARING_VIOLATION "Violation de partage"
|
|
|
|
|
#define ERR_CANNOT_MAKE "Ne peut faire"
|
|
|
|
|
#define ERR_DEV_IN_USE "P<>riph<70>rique d<>j<EFBFBD> en utilisation"
|
|
|
|
|
#define ERR_OPEN_FAILED "Ouverture <20>chou<6F>e"
|
|
|
|
|
#define ERR_PIPE_BUSY "Le tube est occup<75>"
|
|
|
|
|
#define ERR_SHARING_BUF_EXCEEDED "Tampon de partage d<>pass<73>"
|
|
|
|
|
#define ERR_TOO_MANY_HANDLES "Trop de descripteurs ouverts"
|
|
|
|
|
#define ERR_SEEK_ERROR "Erreur de positionement"
|
|
|
|
|
#define ERR_DEL_CWD "Essai de supprimer le r<>pertoire courant"
|
|
|
|
|
#define ERR_WRITE_PROTECT_ERROR "Erreur de protection en <20>criture"
|
|
|
|
|
#define ERR_WRITE_FAULT "Erreur d'<27>criture"
|
|
|
|
|
#define ERR_LOCK_VIOLATION "Violation de verrou"
|
|
|
|
|
#define ERR_GEN_FAILURE "Echec g<>n<EFBFBD>ral"
|
|
|
|
|
#define ERR_UNCERTAIN_MEDIA "M<>dia incertain"
|
|
|
|
|
#define ERR_PROT_VIOLATION "Violation de protection"
|
|
|
|
|
#define ERR_BROKEN_PIPE "Tube cass<73>"
|
2002-07-30 03:42:29 +02:00
|
|
|
|
|
2002-07-28 23:03:27 +02:00
|
|
|
|
#else
|
|
|
|
|
#error Please define PHYSFS_LANG.
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* end LANG section. */
|
|
|
|
|
|
2001-07-07 05:52:43 +02:00
|
|
|
|
struct __PHYSFS_DIRHANDLE__;
|
2001-07-06 10:47:23 +02:00
|
|
|
|
struct __PHYSFS_FILEFUNCTIONS__;
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2001-07-08 05:25:12 +02:00
|
|
|
|
|
|
|
|
|
typedef struct __PHYSFS_LINKEDSTRINGLIST__
|
|
|
|
|
{
|
|
|
|
|
char *str;
|
|
|
|
|
struct __PHYSFS_LINKEDSTRINGLIST__ *next;
|
|
|
|
|
} LinkedStringList;
|
|
|
|
|
|
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
typedef struct __PHYSFS_FILEHANDLE__
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
* This is reserved for the driver to store information.
|
|
|
|
|
*/
|
|
|
|
|
void *opaque;
|
|
|
|
|
|
2002-12-01 12:21:27 +01:00
|
|
|
|
/*
|
|
|
|
|
* Non-zero if file opened for reading, zero if write/append.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_uint8 forReading;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This is the buffer, if one is set (NULL otherwise). Don't touch.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_uint8 *buffer;
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This is the buffer size, if one is set (0 otherwise). Don't touch.
|
|
|
|
|
*/
|
2003-03-12 06:39:51 +01:00
|
|
|
|
PHYSFS_uint32 bufsize;
|
2002-12-01 12:21:27 +01:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This is the buffer fill size. Don't touch.
|
|
|
|
|
*/
|
2003-03-12 07:19:37 +01:00
|
|
|
|
PHYSFS_uint32 buffill;
|
2002-12-01 12:21:27 +01:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This is the buffer position. Don't touch.
|
|
|
|
|
*/
|
2003-03-12 07:19:37 +01:00
|
|
|
|
PHYSFS_uint32 bufpos;
|
2002-12-01 12:21:27 +01:00
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This should be the DirHandle that created this FileHandle.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-07 05:52:43 +02:00
|
|
|
|
const struct __PHYSFS_DIRHANDLE__ *dirHandle;
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2001-07-06 10:47:23 +02:00
|
|
|
|
/*
|
|
|
|
|
* Pointer to the file i/o functions for this filehandle.
|
|
|
|
|
*/
|
|
|
|
|
const struct __PHYSFS_FILEFUNCTIONS__ *funcs;
|
|
|
|
|
} FileHandle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct __PHYSFS_FILEFUNCTIONS__
|
|
|
|
|
{
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
|
|
|
|
* Read more from the file.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns number of objects of (objSize) bytes read from file, -1
|
|
|
|
|
* if complete failure.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_sint64 (*read)(FileHandle *handle, void *buffer,
|
|
|
|
|
PHYSFS_uint32 objSize, PHYSFS_uint32 objCount);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Write more to the file. Archives don't have to implement this.
|
|
|
|
|
* (Set it to NULL if not implemented).
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns number of objects of (objSize) bytes written to file, -1
|
|
|
|
|
* if complete failure.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_sint64 (*write)(FileHandle *handle, const void *buffer,
|
|
|
|
|
PHYSFS_uint32 objSize, PHYSFS_uint32 objCount);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Returns non-zero if at end of file.
|
|
|
|
|
*/
|
2001-07-06 10:47:23 +02:00
|
|
|
|
int (*eof)(FileHandle *handle);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Returns byte offset from start of file.
|
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_sint64 (*tell)(FileHandle *handle);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Move read/write pointer to byte offset from start of file.
|
|
|
|
|
* Returns non-zero on success, zero on error.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* On failure, call __PHYSFS_setError().
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
int (*seek)(FileHandle *handle, PHYSFS_uint64 offset);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2001-07-09 06:15:35 +02:00
|
|
|
|
/*
|
|
|
|
|
* Return number of bytes available in the file, or -1 if you
|
|
|
|
|
* aren't able to determine.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_sint64 (*fileLength)(FileHandle *handle);
|
2001-07-09 06:15:35 +02:00
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* Close the file, and free the FileHandle structure (including "opaque").
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* returns non-zero on success, zero if can't close file.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-08 05:25:12 +02:00
|
|
|
|
int (*fileClose)(FileHandle *handle);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
} FileFunctions;
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
|
2001-07-07 05:52:43 +02:00
|
|
|
|
typedef struct __PHYSFS_DIRHANDLE__
|
2001-07-06 04:32:29 +02:00
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
* This is reserved for the driver to store information.
|
|
|
|
|
*/
|
|
|
|
|
void *opaque;
|
|
|
|
|
|
2001-07-06 10:47:23 +02:00
|
|
|
|
/*
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Pointer to the directory i/o functions for this handle.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
*/
|
|
|
|
|
const struct __PHYSFS_DIRFUNCTIONS__ *funcs;
|
|
|
|
|
} DirHandle;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Symlinks should always be followed; PhysicsFS will use
|
|
|
|
|
* DirFunctions->isSymLink() and make a judgement on whether to
|
|
|
|
|
* continue to call other methods based on that.
|
|
|
|
|
*/
|
|
|
|
|
typedef struct __PHYSFS_DIRFUNCTIONS__
|
|
|
|
|
{
|
2002-07-26 08:19:09 +02:00
|
|
|
|
const PHYSFS_ArchiveInfo *info;
|
|
|
|
|
|
2001-07-06 10:47:23 +02:00
|
|
|
|
/*
|
|
|
|
|
* Returns non-zero if (filename) is a valid archive that this
|
|
|
|
|
* driver can handle. This filename is in platform-dependent
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* notation. forWriting is non-zero if this is to be used for
|
|
|
|
|
* the write directory, and zero if this is to be used for an
|
|
|
|
|
* element of the search path.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
*/
|
2001-07-07 05:52:43 +02:00
|
|
|
|
int (*isArchive)(const char *filename, int forWriting);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Return a DirHandle for dir/archive (name).
|
|
|
|
|
* This filename is in platform-dependent notation.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* forWriting is non-zero if this is to be used for
|
|
|
|
|
* the write directory, and zero if this is to be used for an
|
|
|
|
|
* element of the search path.
|
|
|
|
|
* Returns NULL on failure, and calls __PHYSFS_setError().
|
2001-07-06 10:47:23 +02:00
|
|
|
|
*/
|
2001-07-07 05:52:43 +02:00
|
|
|
|
DirHandle *(*openArchive)(const char *name, int forWriting);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
2001-07-06 23:29:37 +02:00
|
|
|
|
* Returns a list of all files in dirname. Each element of this list
|
|
|
|
|
* (and its "str" field) will be deallocated with the system's free()
|
|
|
|
|
* function by the caller, so be sure to explicitly malloc() each
|
2001-07-16 19:36:28 +02:00
|
|
|
|
* chunk. Omit symlinks if (omitSymLinks) is non-zero.
|
2001-07-06 23:29:37 +02:00
|
|
|
|
* If you have a memory failure, return as much as you can.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This dirname is in platform-independent notation.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-16 19:36:28 +02:00
|
|
|
|
LinkedStringList *(*enumerateFiles)(DirHandle *r,
|
|
|
|
|
const char *dirname,
|
|
|
|
|
int omitSymLinks);
|
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns non-zero if filename can be opened for reading.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This filename is in platform-independent notation.
|
2002-08-21 04:59:15 +02:00
|
|
|
|
* You should not follow symlinks.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-07 05:52:43 +02:00
|
|
|
|
int (*exists)(DirHandle *r, const char *name);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns non-zero if filename is really a directory.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This filename is in platform-independent notation.
|
2002-07-23 09:48:08 +02:00
|
|
|
|
* Symlinks should be followed; if what the symlink points
|
|
|
|
|
* to is missing, or isn't a directory, then the retval is zero.
|
2002-08-21 04:59:15 +02:00
|
|
|
|
*
|
|
|
|
|
* Regardless of success or failure, please set *fileExists to
|
|
|
|
|
* non-zero if the file existed (even if it's a broken symlink!),
|
|
|
|
|
* zero if it did not.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2002-08-21 04:59:15 +02:00
|
|
|
|
int (*isDirectory)(DirHandle *r, const char *name, int *fileExists);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns non-zero if filename is really a symlink.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This filename is in platform-independent notation.
|
2002-08-21 04:59:15 +02:00
|
|
|
|
*
|
|
|
|
|
* Regardless of success or failure, please set *fileExists to
|
|
|
|
|
* non-zero if the file existed (even if it's a broken symlink!),
|
|
|
|
|
* zero if it did not.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2002-08-21 04:59:15 +02:00
|
|
|
|
int (*isSymLink)(DirHandle *r, const char *name, int *fileExists);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
/*
|
2003-07-20 23:08:24 +02:00
|
|
|
|
* Retrieve the last modification time (mtime) of a file.
|
|
|
|
|
* Returns -1 on failure, or the file's mtime in seconds since
|
|
|
|
|
* the epoch (Jan 1, 1970) on success.
|
2002-05-25 11:41:14 +02:00
|
|
|
|
* This filename is in platform-independent notation.
|
2002-08-21 04:59:15 +02:00
|
|
|
|
*
|
|
|
|
|
* Regardless of success or failure, please set *exists to
|
|
|
|
|
* non-zero if the file existed (even if it's a broken symlink!),
|
|
|
|
|
* zero if it did not.
|
2003-07-20 23:08:24 +02:00
|
|
|
|
*/
|
2002-08-21 04:59:15 +02:00
|
|
|
|
PHYSFS_sint64 (*getLastModTime)(DirHandle *r, const char *fnm, int *exist);
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
|
|
|
|
* Open file for reading, and return a FileHandle.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This filename is in platform-independent notation.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* If you can't handle multiple opens of the same file,
|
|
|
|
|
* you can opt to fail for the second call.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
* Fail if the file does not exist.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns NULL on failure, and calls __PHYSFS_setError().
|
2002-08-21 04:59:15 +02:00
|
|
|
|
*
|
|
|
|
|
* Regardless of success or failure, please set *fileExists to
|
|
|
|
|
* non-zero if the file existed (even if it's a broken symlink!),
|
|
|
|
|
* zero if it did not.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
*/
|
2002-08-21 04:59:15 +02:00
|
|
|
|
FileHandle *(*openRead)(DirHandle *r, const char *fname, int *fileExists);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Open file for writing, and return a FileHandle.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
* If the file does not exist, it should be created. If it exists,
|
|
|
|
|
* it should be truncated to zero bytes. The writing
|
|
|
|
|
* offset should be the start of the file.
|
|
|
|
|
* This filename is in platform-independent notation.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This method may be NULL.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* If you can't handle multiple opens of the same file,
|
|
|
|
|
* you can opt to fail for the second call.
|
|
|
|
|
* Returns NULL on failure, and calls __PHYSFS_setError().
|
2001-07-06 10:47:23 +02:00
|
|
|
|
*/
|
|
|
|
|
FileHandle *(*openWrite)(DirHandle *r, const char *filename);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Open file for appending, and return a FileHandle.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
* If the file does not exist, it should be created. The writing
|
|
|
|
|
* offset should be the end of the file.
|
|
|
|
|
* This filename is in platform-independent notation.
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* This method may be NULL.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* If you can't handle multiple opens of the same file,
|
|
|
|
|
* you can opt to fail for the second call.
|
|
|
|
|
* Returns NULL on failure, and calls __PHYSFS_setError().
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-06 10:47:23 +02:00
|
|
|
|
FileHandle *(*openAppend)(DirHandle *r, const char *filename);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2001-07-07 05:52:43 +02:00
|
|
|
|
/*
|
|
|
|
|
* Delete a file in the archive/directory.
|
|
|
|
|
* Return non-zero on success, zero on failure.
|
|
|
|
|
* This filename is in platform-independent notation.
|
|
|
|
|
* This method may be NULL.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
|
|
|
|
*/
|
|
|
|
|
int (*remove)(DirHandle *r, const char *filename);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Create a directory in the archive/directory.
|
|
|
|
|
* If the application is trying to make multiple dirs, PhysicsFS
|
|
|
|
|
* will split them up into multiple calls before passing them to
|
|
|
|
|
* your driver.
|
|
|
|
|
* Return non-zero on success, zero on failure.
|
|
|
|
|
* This filename is in platform-independent notation.
|
|
|
|
|
* This method may be NULL.
|
|
|
|
|
* On failure, call __PHYSFS_setError().
|
|
|
|
|
*/
|
|
|
|
|
int (*mkdir)(DirHandle *r, const char *filename);
|
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* Close directories/archives, and free the handle, including
|
2001-07-06 04:32:29 +02:00
|
|
|
|
* the "opaque" entry. This should assume that it won't be called if
|
2001-07-06 10:47:23 +02:00
|
|
|
|
* there are still files open from this DirHandle.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
2001-07-08 05:25:12 +02:00
|
|
|
|
void (*dirClose)(DirHandle *r);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
} DirFunctions;
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Call this to set the message returned by PHYSFS_getLastError().
|
|
|
|
|
* Please only use the ERR_* constants above, or add new constants to the
|
|
|
|
|
* above group, but I want these all in one place.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
*
|
|
|
|
|
* Calling this with a NULL argument is a safe no-op.
|
2001-07-06 04:32:29 +02:00
|
|
|
|
*/
|
|
|
|
|
void __PHYSFS_setError(const char *err);
|
|
|
|
|
|
|
|
|
|
|
2001-07-07 05:52:43 +02:00
|
|
|
|
/*
|
|
|
|
|
* Convert (dirName) to platform-dependent notation, then prepend (prepend)
|
|
|
|
|
* and append (append) to the converted string.
|
|
|
|
|
*
|
|
|
|
|
* So, on Win32, calling:
|
2001-07-08 05:25:12 +02:00
|
|
|
|
* __PHYSFS_convertToDependent("C:\", "my/files", NULL);
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* ...will return the string "C:\my\files".
|
|
|
|
|
*
|
|
|
|
|
* This is a convenience function; you might want to hack something out that
|
|
|
|
|
* is less generic (and therefore more efficient).
|
|
|
|
|
*
|
|
|
|
|
* Be sure to free() the return value when done with it.
|
|
|
|
|
*/
|
2001-07-08 05:25:12 +02:00
|
|
|
|
char *__PHYSFS_convertToDependent(const char *prepend,
|
|
|
|
|
const char *dirName,
|
|
|
|
|
const char *append);
|
2001-07-07 05:52:43 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Verify that (fname) (in platform-independent notation), in relation
|
|
|
|
|
* to (h) is secure. That means that each element of fname is checked
|
|
|
|
|
* for symlinks (if they aren't permitted). Also, elements such as
|
|
|
|
|
* ".", "..", or ":" are flagged.
|
|
|
|
|
*
|
2003-03-19 07:04:09 +01:00
|
|
|
|
* With some exceptions (like PHYSFS_mkdir(), which builds multiple subdirs
|
|
|
|
|
* at a time), you should always pass zero for "allowMissing" for efficiency.
|
|
|
|
|
*
|
2001-07-07 05:52:43 +02:00
|
|
|
|
* Returns non-zero if string is safe, zero if there's a security issue.
|
|
|
|
|
* PHYSFS_getLastError() will specify what was wrong.
|
|
|
|
|
*/
|
2003-03-19 07:04:09 +01:00
|
|
|
|
int __PHYSFS_verifySecurity(DirHandle *h, const char *fname, int allowMissing);
|
2001-07-07 05:52:43 +02:00
|
|
|
|
|
|
|
|
|
|
2002-07-23 09:48:08 +02:00
|
|
|
|
/*
|
|
|
|
|
* Use this to build the list that your enumerate function should return.
|
|
|
|
|
* See zip.c for an example of proper use.
|
|
|
|
|
*/
|
|
|
|
|
LinkedStringList *__PHYSFS_addToLinkedStringList(LinkedStringList *retval,
|
|
|
|
|
LinkedStringList **prev,
|
|
|
|
|
const char *str,
|
|
|
|
|
PHYSFS_sint32 len);
|
|
|
|
|
|
|
|
|
|
|
2002-08-20 03:34:27 +02:00
|
|
|
|
/*
|
|
|
|
|
* When sorting the entries in an archive, we use a modified QuickSort.
|
|
|
|
|
* When there are less then PHYSFS_QUICKSORT_THRESHOLD entries left to sort,
|
|
|
|
|
* we switch over to a BubbleSort for the remainder. Tweak to taste.
|
|
|
|
|
*
|
|
|
|
|
* You can override this setting by defining PHYSFS_QUICKSORT_THRESHOLD
|
|
|
|
|
* before #including "physfs_internal.h".
|
|
|
|
|
*/
|
|
|
|
|
#ifndef PHYSFS_QUICKSORT_THRESHOLD
|
|
|
|
|
#define PHYSFS_QUICKSORT_THRESHOLD 4
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Sort an array (or whatever) of (max) elements. This uses a mixture of
|
|
|
|
|
* a QuickSort and BubbleSort internally.
|
|
|
|
|
* (cmpfn) is used to determine ordering, and (swapfn) does the actual
|
|
|
|
|
* swapping of elements in the list.
|
|
|
|
|
*
|
|
|
|
|
* See zip.c for an example.
|
|
|
|
|
*/
|
|
|
|
|
void __PHYSFS_sort(void *entries, PHYSFS_uint32 max,
|
|
|
|
|
int (*cmpfn)(void *, PHYSFS_uint32, PHYSFS_uint32),
|
|
|
|
|
void (*swapfn)(void *, PHYSFS_uint32, PHYSFS_uint32));
|
|
|
|
|
|
2002-07-23 09:48:08 +02:00
|
|
|
|
|
2001-08-23 17:23:21 +02:00
|
|
|
|
/* These get used all over for lessening code clutter. */
|
|
|
|
|
#define BAIL_MACRO(e, r) { __PHYSFS_setError(e); return r; }
|
2001-07-07 05:52:43 +02:00
|
|
|
|
#define BAIL_IF_MACRO(c, e, r) if (c) { __PHYSFS_setError(e); return r; }
|
2002-03-30 17:44:09 +01:00
|
|
|
|
#define BAIL_MACRO_MUTEX(e, m, r) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
|
|
|
|
#define BAIL_IF_MACRO_MUTEX(c, e, m, r) if (c) { __PHYSFS_setError(e); __PHYSFS_platformReleaseMutex(m); return r; }
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
/*------------ ----------------*/
|
|
|
|
|
/*------------ You MUST implement the following functions ----------------*/
|
|
|
|
|
/*------------ if porting to a new platform. ----------------*/
|
2001-07-15 11:27:41 +02:00
|
|
|
|
/*------------ (see platform/unix.c for an example) ----------------*/
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*------------ ----------------*/
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
/*--------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* The dir separator; "/" on unix, "\\" on win32, ":" on MacOS, etc...
|
|
|
|
|
* Obviously, this isn't a function, but it IS a null-terminated string.
|
|
|
|
|
*/
|
2001-07-07 05:52:43 +02:00
|
|
|
|
extern const char *__PHYSFS_platformDirSeparator;
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2002-03-24 07:36:48 +01:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Initialize the platform. This is called when PHYSFS_init() is called from
|
|
|
|
|
* the application. You can use this to (for example) determine what version
|
|
|
|
|
* of Windows you're running.
|
|
|
|
|
*
|
|
|
|
|
* Return zero if there was a catastrophic failure (which prevents you from
|
|
|
|
|
* functioning at all), and non-zero otherwise.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformInit(void);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 07:36:48 +01:00
|
|
|
|
/*
|
|
|
|
|
* Deinitialize the platform. This is called when PHYSFS_deinit() is called
|
|
|
|
|
* from the application. You can use this to clean up anything you've
|
|
|
|
|
* allocated in your platform driver.
|
|
|
|
|
*
|
|
|
|
|
* Return zero if there was a catastrophic failure (which prevents you from
|
|
|
|
|
* functioning at all), and non-zero otherwise.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformDeinit(void);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Open a file for reading. (filename) is in platform-dependent notation. The
|
|
|
|
|
* file pointer should be positioned on the first byte of the file.
|
|
|
|
|
*
|
|
|
|
|
* The return value will be some platform-specific datatype that is opaque to
|
|
|
|
|
* the caller; it could be a (FILE *) under Unix, or a (HANDLE *) under win32.
|
|
|
|
|
*
|
|
|
|
|
* The same file can be opened for read multiple times, and each should have
|
|
|
|
|
* a unique file handle; this is frequently employed to prevent race
|
|
|
|
|
* conditions in the archivers.
|
|
|
|
|
*
|
|
|
|
|
* Call __PHYSFS_setError() and return (NULL) if the file can't be opened.
|
|
|
|
|
*/
|
|
|
|
|
void *__PHYSFS_platformOpenRead(const char *filename);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Open a file for writing. (filename) is in platform-dependent notation. If
|
|
|
|
|
* the file exists, it should be truncated to zero bytes, and if it doesn't
|
|
|
|
|
* exist, it should be created as a zero-byte file. The file pointer should
|
|
|
|
|
* be positioned on the first byte of the file.
|
|
|
|
|
*
|
|
|
|
|
* The return value will be some platform-specific datatype that is opaque to
|
|
|
|
|
* the caller; it could be a (FILE *) under Unix, or a (HANDLE *) under win32,
|
|
|
|
|
* etc.
|
|
|
|
|
*
|
|
|
|
|
* Opening a file for write multiple times has undefined results.
|
|
|
|
|
*
|
|
|
|
|
* Call __PHYSFS_setError() and return (NULL) if the file can't be opened.
|
|
|
|
|
*/
|
|
|
|
|
void *__PHYSFS_platformOpenWrite(const char *filename);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Open a file for appending. (filename) is in platform-dependent notation. If
|
|
|
|
|
* the file exists, the file pointer should be place just past the end of the
|
|
|
|
|
* file, so that the first write will be one byte after the current end of
|
|
|
|
|
* the file. If the file doesn't exist, it should be created as a zero-byte
|
|
|
|
|
* file. The file pointer should be positioned on the first byte of the file.
|
|
|
|
|
*
|
|
|
|
|
* The return value will be some platform-specific datatype that is opaque to
|
|
|
|
|
* the caller; it could be a (FILE *) under Unix, or a (HANDLE *) under win32,
|
|
|
|
|
* etc.
|
|
|
|
|
*
|
|
|
|
|
* Opening a file for append multiple times has undefined results.
|
|
|
|
|
*
|
|
|
|
|
* Call __PHYSFS_setError() and return (NULL) if the file can't be opened.
|
|
|
|
|
*/
|
|
|
|
|
void *__PHYSFS_platformOpenAppend(const char *filename);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Read more data from a platform-specific file handle. (opaque) should be
|
|
|
|
|
* cast to whatever data type your platform uses. Read a maximum of (count)
|
|
|
|
|
* objects of (size) 8-bit bytes to the area pointed to by (buffer). If there
|
|
|
|
|
* isn't enough data available, return the number of full objects read, and
|
|
|
|
|
* position the file pointer at the start of the first incomplete object.
|
|
|
|
|
* On success, return (count) and position the file pointer one byte past
|
|
|
|
|
* the end of the last read object. Return (-1) if there is a catastrophic
|
|
|
|
|
* error, and call __PHYSFS_setError() to describe the problem; the file
|
|
|
|
|
* pointer should not move in such a case.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_sint64 __PHYSFS_platformRead(void *opaque, void *buffer,
|
|
|
|
|
PHYSFS_uint32 size, PHYSFS_uint32 count);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Write more data to a platform-specific file handle. (opaque) should be
|
|
|
|
|
* cast to whatever data type your platform uses. Write a maximum of (count)
|
|
|
|
|
* objects of (size) 8-bit bytes from the area pointed to by (buffer). If
|
|
|
|
|
* there isn't enough data available, return the number of full objects
|
|
|
|
|
* written, and position the file pointer at the start of the first
|
|
|
|
|
* incomplete object. Return (-1) if there is a catastrophic error, and call
|
|
|
|
|
* __PHYSFS_setError() to describe the problem; the file pointer should not
|
|
|
|
|
* move in such a case.
|
|
|
|
|
*/
|
2002-03-25 05:05:52 +01:00
|
|
|
|
PHYSFS_sint64 __PHYSFS_platformWrite(void *opaque, const void *buffer,
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_uint32 size, PHYSFS_uint32 count);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Set the file pointer to a new position. (opaque) should be cast to
|
|
|
|
|
* whatever data type your platform uses. (pos) specifies the number
|
|
|
|
|
* of 8-bit bytes to seek to from the start of the file. Seeking past the
|
|
|
|
|
* end of the file is an error condition, and you should check for it.
|
|
|
|
|
*
|
|
|
|
|
* Not all file types can seek; this is to be expected by the caller.
|
|
|
|
|
*
|
|
|
|
|
* On error, call __PHYSFS_setError() and return zero. On success, return
|
|
|
|
|
* a non-zero value.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformSeek(void *opaque, PHYSFS_uint64 pos);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Get the file pointer's position, in an 8-bit byte offset from the start of
|
|
|
|
|
* the file. (opaque) should be cast to whatever data type your platform
|
|
|
|
|
* uses.
|
|
|
|
|
*
|
|
|
|
|
* Not all file types can "tell"; this is to be expected by the caller.
|
|
|
|
|
*
|
|
|
|
|
* On error, call __PHYSFS_setError() and return zero. On success, return
|
|
|
|
|
* a non-zero value.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_sint64 __PHYSFS_platformTell(void *opaque);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-24 20:47:33 +01:00
|
|
|
|
/*
|
|
|
|
|
* Determine the current size of a file, in 8-bit bytes, from an open file.
|
|
|
|
|
*
|
|
|
|
|
* The caller expects that this information may not be available for all
|
|
|
|
|
* file types on all platforms.
|
|
|
|
|
*
|
|
|
|
|
* Return -1 if you can't do it, and call __PHYSFS_setError(). Otherwise,
|
|
|
|
|
* return the file length in 8-bit bytes.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_sint64 __PHYSFS_platformFileLength(void *handle);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Determine if a file is at EOF. (opaque) should be cast to whatever data
|
|
|
|
|
* type your platform uses.
|
|
|
|
|
*
|
|
|
|
|
* The caller expects that there was a short read before calling this.
|
|
|
|
|
*
|
|
|
|
|
* Return non-zero if EOF, zero if it is _not_ EOF.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformEOF(void *opaque);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Flush any pending writes to disk. (opaque) should be cast to whatever data
|
|
|
|
|
* type your platform uses. Be sure to check for errors; the caller expects
|
|
|
|
|
* that this function can fail if there was a flushing error, etc.
|
|
|
|
|
*
|
|
|
|
|
* Return zero on failure, non-zero on success.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformFlush(void *opaque);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Flush and close a file. (opaque) should be cast to whatever data type
|
|
|
|
|
* your platform uses. Be sure to check for errors when closing; the
|
|
|
|
|
* caller expects that this function can fail if there was a flushing
|
|
|
|
|
* error, etc.
|
|
|
|
|
*
|
|
|
|
|
* You should clean up all resources associated with (opaque).
|
|
|
|
|
*
|
|
|
|
|
* Return zero on failure, non-zero on success.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformClose(void *opaque);
|
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
/*
|
|
|
|
|
* Platform implementation of PHYSFS_getCdRomDirs()...
|
|
|
|
|
* See physfs.h. The retval should be freeable via PHYSFS_freeList().
|
|
|
|
|
*/
|
|
|
|
|
char **__PHYSFS_platformDetectAvailableCDs(void);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Calculate the base dir, if your platform needs special consideration.
|
|
|
|
|
* Just return NULL if the standard routines will suffice. (see
|
|
|
|
|
* calculateBaseDir() in physfs.c ...)
|
|
|
|
|
* Caller will free() the retval if it's not NULL.
|
|
|
|
|
*/
|
2001-07-08 15:57:28 +02:00
|
|
|
|
char *__PHYSFS_platformCalcBaseDir(const char *argv0);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Get the platform-specific user name.
|
|
|
|
|
* Caller will free() the retval if it's not NULL. If it's NULL, the username
|
|
|
|
|
* will default to "default".
|
|
|
|
|
*/
|
|
|
|
|
char *__PHYSFS_platformGetUserName(void);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Get the platform-specific user dir.
|
|
|
|
|
* Caller will free() the retval if it's not NULL. If it's NULL, the userdir
|
|
|
|
|
* will default to basedir/username.
|
|
|
|
|
*/
|
|
|
|
|
char *__PHYSFS_platformGetUserDir(void);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Return a number that uniquely identifies the current thread.
|
|
|
|
|
* On a platform without threading, (1) will suffice. These numbers are
|
|
|
|
|
* arbitrary; the only requirement is that no two threads have the same
|
|
|
|
|
* number.
|
|
|
|
|
*/
|
2002-03-24 20:47:33 +01:00
|
|
|
|
PHYSFS_uint64 __PHYSFS_platformGetThreadID(void);
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* This is a pass-through to whatever stricmp() is called on your platform.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformStricmp(const char *str1, const char *str2);
|
|
|
|
|
|
2003-11-09 21:59:07 +01:00
|
|
|
|
/*
|
|
|
|
|
* This is a pass-through to whatever strnicmp() is called on your platform.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformStrnicmp(const char *s1, const char *s2, PHYSFS_uint32 l);
|
|
|
|
|
|
2001-07-08 05:25:12 +02:00
|
|
|
|
/*
|
|
|
|
|
* Return non-zero if filename (in platform-dependent notation) exists.
|
2002-08-21 04:59:15 +02:00
|
|
|
|
* Symlinks should NOT be followed; at this stage, we do not care what the
|
|
|
|
|
* symlink points to. Please call __PHYSFS_SetError() with the details of
|
|
|
|
|
* why the file does not exist, if it doesn't; you are in a better position
|
|
|
|
|
* to know (path not found, bogus filename, file itself is missing, etc).
|
2001-07-08 05:25:12 +02:00
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformExists(const char *fname);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
/*
|
|
|
|
|
* Return the last modified time (in seconds since the epoch) of a file.
|
|
|
|
|
* Returns -1 on failure. (fname) is in platform-dependent notation.
|
|
|
|
|
* Symlinks should be followed; if what the symlink points to is missing,
|
|
|
|
|
* then the retval is -1.
|
|
|
|
|
*/
|
|
|
|
|
PHYSFS_sint64 __PHYSFS_platformGetLastModTime(const char *fname);
|
|
|
|
|
|
2001-07-06 10:47:23 +02:00
|
|
|
|
/*
|
|
|
|
|
* Return non-zero if filename (in platform-dependent notation) is a symlink.
|
|
|
|
|
*/
|
2001-07-08 05:25:12 +02:00
|
|
|
|
int __PHYSFS_platformIsSymLink(const char *fname);
|
2001-07-06 10:47:23 +02:00
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2001-07-07 05:52:43 +02:00
|
|
|
|
/*
|
|
|
|
|
* Return non-zero if filename (in platform-dependent notation) is a symlink.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
* Symlinks should be followed; if what the symlink points to is missing,
|
|
|
|
|
* or isn't a directory, then the retval is false.
|
2001-07-07 05:52:43 +02:00
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformIsDirectory(const char *fname);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2001-07-08 05:25:12 +02:00
|
|
|
|
/*
|
|
|
|
|
* Convert (dirName) to platform-dependent notation, then prepend (prepend)
|
|
|
|
|
* and append (append) to the converted string.
|
|
|
|
|
*
|
|
|
|
|
* So, on Win32, calling:
|
|
|
|
|
* __PHYSFS_platformCvtToDependent("C:\", "my/files", NULL);
|
|
|
|
|
* ...will return the string "C:\my\files".
|
|
|
|
|
*
|
|
|
|
|
* This can be implemented in a platform-specific manner, so you can get
|
|
|
|
|
* get a speed boost that the default implementation can't, since
|
|
|
|
|
* you can make assumptions about the size of strings, etc..
|
|
|
|
|
*
|
|
|
|
|
* Platforms that choose not to implement this may just call
|
2002-03-24 20:47:33 +01:00
|
|
|
|
* __PHYSFS_convertToDependent() as a passthrough, which may fit the bill
|
|
|
|
|
* already.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
*
|
|
|
|
|
* Be sure to free() the return value when done with it.
|
|
|
|
|
*/
|
|
|
|
|
char *__PHYSFS_platformCvtToDependent(const char *prepend,
|
|
|
|
|
const char *dirName,
|
|
|
|
|
const char *append);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2001-07-08 05:25:12 +02:00
|
|
|
|
/*
|
|
|
|
|
* Make the current thread give up a timeslice. This is called in a loop
|
|
|
|
|
* while waiting for various external forces to get back to us.
|
|
|
|
|
*/
|
|
|
|
|
void __PHYSFS_platformTimeslice(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Enumerate a directory of files. This follows the rules for the
|
|
|
|
|
* DirFunctions->enumerateFiles() method (see above), except that the
|
|
|
|
|
* (dirName) that is passed to this function is converted to
|
|
|
|
|
* platform-DEPENDENT notation by the caller. The DirFunctions version
|
2001-07-16 19:36:28 +02:00
|
|
|
|
* uses platform-independent notation. Note that ".", "..", and other
|
|
|
|
|
* metaentries should always be ignored.
|
2001-07-08 05:25:12 +02:00
|
|
|
|
*/
|
2001-07-16 19:36:28 +02:00
|
|
|
|
LinkedStringList *__PHYSFS_platformEnumerateFiles(const char *dirname,
|
|
|
|
|
int omitSymLinks);
|
2001-07-08 05:25:12 +02:00
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
|
2001-07-16 16:36:02 +02:00
|
|
|
|
/*
|
|
|
|
|
* Get the current working directory. The return value should be an
|
|
|
|
|
* absolute path in platform-dependent notation. The caller will deallocate
|
|
|
|
|
* the return value with the standard C runtime free() function when it
|
|
|
|
|
* is done with it.
|
|
|
|
|
* On error, return NULL and set the error message.
|
|
|
|
|
*/
|
|
|
|
|
char *__PHYSFS_platformCurrentDir(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Get the real physical path to a file. (path) is specified in
|
|
|
|
|
* platform-dependent notation, as should your return value be.
|
|
|
|
|
* All relative paths should be removed, leaving you with an absolute
|
|
|
|
|
* path. Symlinks should be resolved, too, so that the returned value is
|
|
|
|
|
* the most direct path to a file.
|
|
|
|
|
* The return value will be deallocated with the standard C runtime free()
|
|
|
|
|
* function when the caller is done with it.
|
|
|
|
|
* On error, return NULL and set the error message.
|
|
|
|
|
*/
|
|
|
|
|
char *__PHYSFS_platformRealPath(const char *path);
|
|
|
|
|
|
|
|
|
|
|
2001-08-23 17:23:21 +02:00
|
|
|
|
/*
|
|
|
|
|
* Make a directory in the actual filesystem. (path) is specified in
|
|
|
|
|
* platform-dependent notation. On error, return zero and set the error
|
|
|
|
|
* message. Return non-zero on success.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformMkDir(const char *path);
|
|
|
|
|
|
2002-05-25 11:41:14 +02:00
|
|
|
|
|
2002-03-25 06:02:12 +01:00
|
|
|
|
/*
|
|
|
|
|
* Remove a file or directory entry in the actual filesystem. (path) is
|
|
|
|
|
* specified in platform-dependent notation. Note that this deletes files
|
|
|
|
|
* _and_ directories, so you might need to do some determination.
|
|
|
|
|
* Non-empty directories should report an error and not delete themselves
|
|
|
|
|
* or their contents.
|
|
|
|
|
*
|
|
|
|
|
* Deleting a symlink should remove the link, not what it points to.
|
|
|
|
|
*
|
|
|
|
|
* On error, return zero and set the error message. Return non-zero on success.
|
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformDelete(const char *path);
|
|
|
|
|
|
|
|
|
|
|
2002-03-30 17:44:09 +01:00
|
|
|
|
/*
|
|
|
|
|
* Create a platform-specific mutex. This can be whatever datatype your
|
|
|
|
|
* platform uses for mutexes, but it is cast to a (void *) for abstractness.
|
|
|
|
|
*
|
|
|
|
|
* Return (NULL) if you couldn't create one. Systems without threads can
|
|
|
|
|
* return any arbitrary non-NULL value.
|
|
|
|
|
*/
|
|
|
|
|
void *__PHYSFS_platformCreateMutex(void);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Destroy a platform-specific mutex, and clean up any resources associated
|
|
|
|
|
* with it. (mutex) is a value previously returned by
|
|
|
|
|
* __PHYSFS_platformCreateMutex(). This can be a no-op on single-threaded
|
|
|
|
|
* platforms.
|
|
|
|
|
*/
|
|
|
|
|
void __PHYSFS_platformDestroyMutex(void *mutex);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Grab possession of a platform-specific mutex. Mutexes should be recursive;
|
|
|
|
|
* that is, the same thread should be able to call this function multiple
|
|
|
|
|
* times in a row without causing a deadlock. This function should block
|
|
|
|
|
* until a thread can gain possession of the mutex.
|
|
|
|
|
*
|
|
|
|
|
* Return non-zero if the mutex was grabbed, zero if there was an
|
|
|
|
|
* unrecoverable problem grabbing it (this should not be a matter of
|
|
|
|
|
* timing out! We're talking major system errors; block until the mutex
|
|
|
|
|
* is available otherwise.)
|
2002-04-02 15:41:11 +02:00
|
|
|
|
*
|
|
|
|
|
* _DO NOT_ call __PHYSFS_setError() in here! Since setError calls this
|
|
|
|
|
* function, you'll cause an infinite recursion. This means you can't
|
|
|
|
|
* use the BAIL_*MACRO* macros, either.
|
2002-03-30 17:44:09 +01:00
|
|
|
|
*/
|
|
|
|
|
int __PHYSFS_platformGrabMutex(void *mutex);
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Relinquish possession of the mutex when this method has been called
|
|
|
|
|
* once for each time that platformGrabMutex was called. Once possession has
|
|
|
|
|
* been released, the next thread in line to grab the mutex (if any) may
|
|
|
|
|
* proceed.
|
2002-04-02 15:41:11 +02:00
|
|
|
|
*
|
|
|
|
|
* _DO NOT_ call __PHYSFS_setError() in here! Since setError calls this
|
|
|
|
|
* function, you'll cause an infinite recursion. This means you can't
|
|
|
|
|
* use the BAIL_*MACRO* macros, either.
|
2002-03-30 17:44:09 +01:00
|
|
|
|
*/
|
|
|
|
|
void __PHYSFS_platformReleaseMutex(void *mutex);
|
|
|
|
|
|
2001-07-06 04:32:29 +02:00
|
|
|
|
#ifdef __cplusplus
|
2002-03-24 20:47:33 +01:00
|
|
|
|
}
|
2001-07-06 04:32:29 +02:00
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/* end of physfs_internal.h ... */
|
|
|
|
|
|