From d8277e7cc9b488de628a8570f526cf7f7e9c569f Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Fri, 19 Mar 2021 14:08:02 -0400 Subject: Add BNGetParentPath API --- binaryninjacore.h | 1 + 1 file changed, 1 insertion(+) 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); -- cgit v1.3.1