From 1e8e975ed8100c7a6186e8b27833a067ceaf05be Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 22 Mar 2017 13:22:16 -0400 Subject: Modifications to support partial uninstallation --- binaryninjacore.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 7460f7c1..80fc715c 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2417,7 +2417,9 @@ extern "C" const BNPluginType* pluginTypes, size_t pluginTypesSize, const char* url, - const char* version); + const char* version, + const char* repoPath, + const char* gitModulesPath); BINARYNINJACOREAPI BNRepoPlugin* BNNewPluginReference(BNRepoPlugin* r); BINARYNINJACOREAPI void BNFreePlugin(BNRepoPlugin* plugin); BINARYNINJACOREAPI const char* BNPluginGetPath(BNRepoPlugin* p); @@ -2475,8 +2477,10 @@ extern "C" BINARYNINJACOREAPI void BNLlvmServicesAssembleFree(char *outBytes, char *err); - BINARYNINJACOREAPI int BNDeleteDirectory(const char* path, int contentsOnly); + // Filesystem functionality BINARYNINJACOREAPI int BNDeleteFile(const char* path); + BINARYNINJACOREAPI int BNDeleteDirectory(const char* path, int contentsOnly); + BINARYNINJACOREAPI int BNCreateDirectory(const char* path); #ifdef __cplusplus } #endif -- cgit v1.3.1