X-Git-Url: https://sfsrealm.hopto.org/projects/gitweb.cgi?p=SFmpqapi.git;a=blobdiff_plain;f=SFUtil.h;fp=SFUtil.h;h=7325d4677232bba0cee60275eb6390a0a7e1bbe8;hp=0000000000000000000000000000000000000000;hb=7214af3eb69acdaef221c1846157ed07438bd0c1;hpb=1c63ef2a5d9f881e1006c4c674a81cebd9596c5e diff --git a/SFUtil.h b/SFUtil.h new file mode 100644 index 0000000..7325d46 --- /dev/null +++ b/SFUtil.h @@ -0,0 +1,18 @@ +// License information for this code is in license.txt + +#ifndef SFUTIL_INCLUDED +#define SFUTIL_INCLUDED + +#include +#include "SFTypes.h" + +LPVOID WINAPI SFAlloc(DWORD dwSize); +void WINAPI SFFree(LPVOID lpvMemory); +void WINAPI SFMemZero(LPVOID lpvDestination, DWORD dwLength); +Int64 SFGetFileSize(HANDLE hFile); +Int64 SFSetFilePointer(HANDLE hFile, Int64 nDistance, UInt32 dwMoveMethod); +size_t strlnlen(const char *strline); +char *nextline(const char *strline); + +#endif // #ifndef SFUTIL_INCLUDED +