diff options
| author | Peter LaFosse <peter@vector35.com> | 2021-03-10 11:59:27 -0500 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2021-03-19 11:15:11 -0400 |
| commit | 442e154ea06e80a3fefbe2675c837034b76e69fa (patch) | |
| tree | e0a3fcfada21dcdd7b360a4141d08c0471af67f5 | |
| parent | 4bc108e48a80aed3c59ca9c03867b7a312392e97 (diff) | |
Add BNGetParentPath API
| -rw-r--r-- | binaryninjacore.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index ce6680f2..d9019897 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -4876,6 +4876,7 @@ __attribute__ ((format (printf, 1, 2))) BINARYNINJACOREAPI bool BNIsPathRegularFile(const char* path); BINARYNINJACOREAPI bool BNFileSize(const char* path, uint64_t* size); BINARYNINJACOREAPI bool BNRenameFile(const char* source, const char* dest); + BINARYNINJACOREAPI char* BNGetParentPath(const char* path); BINARYNINJACOREAPI const char* BNGetFileName(const char* path); BINARYNINJACOREAPI const char* BNGetFileExtension(const char* path); BINARYNINJACOREAPI char** BNGetFilePathsInDirectory(const char* path, size_t* count); |
