summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-03-19 14:08:02 -0400
committerPeter LaFosse <peter@vector35.com>2021-03-19 14:08:02 -0400
commitd8277e7cc9b488de628a8570f526cf7f7e9c569f (patch)
treee272065ece7c195380a130532d346135719f1585
parentcf2a9769397faab4d2158b9ad756d0362441ecf7 (diff)
Add BNGetParentPath API
-rw-r--r--binaryninjacore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index d9019897..fbac440d 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -4872,6 +4872,7 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI int BNDeleteDirectory(const char* path, int contentsOnly);
BINARYNINJACOREAPI bool BNCreateDirectory(const char* path, bool createSubdirectories);
BINARYNINJACOREAPI bool BNPathExists(const char* path);
+ BINARYNINJACOREAPI char* BNGetParentPath(const char* path);
BINARYNINJACOREAPI bool BNIsPathDirectory(const char* path);
BINARYNINJACOREAPI bool BNIsPathRegularFile(const char* path);
BINARYNINJACOREAPI bool BNFileSize(const char* path, uint64_t* size);