22#ifndef AGS_ENGINE_AC_GLOBALFILE_H
23#define AGS_ENGINE_AC_GLOBALFILE_H
25#include "ags/shared/util/file.h"
37int32_t FileOpen(
const char *fnmm, Shared::FileOpenMode open_mode, Shared::FileWorkMode work_mode);
39int32_t FileOpenCMode(
const char *fnmm,
const char *cmode);
40void FileClose(int32_t handle);
41void FileWrite(int32_t handle,
const char *towrite);
42void FileWriteRawLine(int32_t handle,
const char *towrite);
43void FileRead(int32_t handle,
char *toread);
44int FileIsEOF(int32_t handle);
45int FileIsError(int32_t handle);
46void FileWriteInt(int32_t handle,
int into);
47int FileReadInt(int32_t handle);
48int8 FileReadRawChar(int32_t handle);
49int FileReadRawInt(int32_t handle);
50void FileWriteRawChar(int32_t handle,
int chartoWrite);