Move all the things (YES. Move them.)
Also, implemented some basic modlist logic, to be wired up.
This commit is contained in:
27
depends/patchlib/bspatch.h
Normal file
27
depends/patchlib/bspatch.h
Normal 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
|
Reference in New Issue
Block a user