summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorkat <kat@vector35.com>2023-03-16 14:26:49 -0400
committerGlenn Smith <glenn@vector35.com>2023-11-01 18:31:16 -0400
commit4b6fb132a97a7852e69a746e2e259bf423b14969 (patch)
tree307170791865c804a41a7592a1631069093cbc8e /binaryninjacore.h
parent59f28bc770f664917dbd01a5e08c716e58f0db70 (diff)
Add interaction.get_large_choice_input for large numbers of options
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 0461a16c..a92c7a09 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2733,7 +2733,9 @@ extern "C"
bool (*getAddressInput)(void* ctxt, uint64_t* result, const char* prompt, const char* title, BNBinaryView* view,
uint64_t currentAddr);
bool (*getChoiceInput)(
- void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
+ void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
+ bool (*getLargeChoiceInput)(
+ void* ctxt, size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
bool (*getOpenFileNameInput)(void* ctxt, char** result, const char* prompt, const char* ext);
bool (*getSaveFileNameInput)(
void* ctxt, char** result, const char* prompt, const char* ext, const char* defaultName);
@@ -6073,7 +6075,9 @@ extern "C"
BINARYNINJACOREAPI bool BNGetAddressInput(
uint64_t* result, const char* prompt, const char* title, BNBinaryView* view, uint64_t currentAddr);
BINARYNINJACOREAPI bool BNGetChoiceInput(
- size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
+ size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
+ BINARYNINJACOREAPI bool BNGetLargeChoiceInput(
+ size_t* result, const char* prompt, const char* title, const char** choices, size_t count);
BINARYNINJACOREAPI bool BNGetOpenFileNameInput(char** result, const char* prompt, const char* ext);
BINARYNINJACOREAPI bool BNGetSaveFileNameInput(
char** result, const char* prompt, const char* ext, const char* defaultName);