CMake build system, big pile of libs: bspatch, quazip, java, the launcher

This commit is contained in:
Petr Mrázek
2013-01-11 02:25:40 +01:00
parent d6d5c86a73
commit b1d00fce8d
69 changed files with 16978 additions and 27 deletions

27
patchlib/bspatch.h Normal file
View File

@@ -0,0 +1,27 @@
#ifndef _BSPATCH_H
#define _BSPATCH_H
#ifdef __cplusplus
extern "C" {
#endif
enum BSPatchError
{
ERR_CORRUPT_PATCH,
ERR_OTHER,
ERR_NONE,
};
/**
* patch oldfile by using patchfile and write the output to newfile.
*
* Returns ERR_NONE if successful
*/
int bspatch(const char * oldfile, const char * newfile, const char * patchfile);
#ifdef __cplusplus
}
#endif
#endif