BNInteractionHandlerCallbacks Struct Reference

Public Attributes

void * context
 
void(* showPlainTextReport )(void *ctxt, BNBinaryView *view, const char *title, const char *contents)
 
void(* showMarkdownReport )(void *ctxt, BNBinaryView *view, const char *title, const char *contents, const char *plaintext)
 
void(* showHTMLReport )(void *ctxt, BNBinaryView *view, const char *title, const char *contents, const char *plaintext)
 
void(* showGraphReport )(void *ctxt, BNBinaryView *view, const char *title, BNFlowGraph *graph)
 
void(* showReportCollection )(void *ctxt, const char *title, BNReportCollection *reports)
 
bool(* getTextLineInput )(void *ctxt, char **result, const char *prompt, const char *title)
 
bool(* getIntegerInput )(void *ctxt, int64_t *result, const char *prompt, const char *title)
 
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)
 
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)
 
bool(* getDirectoryNameInput )(void *ctxt, char **result, const char *prompt, const char *defaultName)
 
bool(* getFormInput )(void *ctxt, BNFormInputField *fields, size_t count, const char *title)
 
BNMessageBoxButtonResult(* showMessageBox )(void *ctxt, const char *title, const char *text, BNMessageBoxButtonSet buttons, BNMessageBoxIcon icon)
 
bool(* openUrl )(void *ctxt, const char *url)
 

Member Data Documentation

◆ context

void* BNInteractionHandlerCallbacks::context

◆ getAddressInput

bool(* BNInteractionHandlerCallbacks::getAddressInput) (void *ctxt, uint64_t *result, const char *prompt, const char *title, BNBinaryView *view, uint64_t currentAddr)

◆ getChoiceInput

bool(* BNInteractionHandlerCallbacks::getChoiceInput) (void *ctxt, size_t *result, const char *prompt, const char *title, const char **choices, size_t count)

◆ getDirectoryNameInput

bool(* BNInteractionHandlerCallbacks::getDirectoryNameInput) (void *ctxt, char **result, const char *prompt, const char *defaultName)

◆ getFormInput

bool(* BNInteractionHandlerCallbacks::getFormInput) (void *ctxt, BNFormInputField *fields, size_t count, const char *title)

◆ getIntegerInput

bool(* BNInteractionHandlerCallbacks::getIntegerInput) (void *ctxt, int64_t *result, const char *prompt, const char *title)

◆ getOpenFileNameInput

bool(* BNInteractionHandlerCallbacks::getOpenFileNameInput) (void *ctxt, char **result, const char *prompt, const char *ext)

◆ getSaveFileNameInput

bool(* BNInteractionHandlerCallbacks::getSaveFileNameInput) (void *ctxt, char **result, const char *prompt, const char *ext, const char *defaultName)

◆ getTextLineInput

bool(* BNInteractionHandlerCallbacks::getTextLineInput) (void *ctxt, char **result, const char *prompt, const char *title)

◆ openUrl

bool(* BNInteractionHandlerCallbacks::openUrl) (void *ctxt, const char *url)

◆ showGraphReport

void(* BNInteractionHandlerCallbacks::showGraphReport) (void *ctxt, BNBinaryView *view, const char *title, BNFlowGraph *graph)

◆ showHTMLReport

void(* BNInteractionHandlerCallbacks::showHTMLReport) (void *ctxt, BNBinaryView *view, const char *title, const char *contents, const char *plaintext)

◆ showMarkdownReport

void(* BNInteractionHandlerCallbacks::showMarkdownReport) (void *ctxt, BNBinaryView *view, const char *title, const char *contents, const char *plaintext)

◆ showMessageBox

BNMessageBoxButtonResult(* BNInteractionHandlerCallbacks::showMessageBox) (void *ctxt, const char *title, const char *text, BNMessageBoxButtonSet buttons, BNMessageBoxIcon icon)

◆ showPlainTextReport

void(* BNInteractionHandlerCallbacks::showPlainTextReport) (void *ctxt, BNBinaryView *view, const char *title, const char *contents)

◆ showReportCollection

void(* BNInteractionHandlerCallbacks::showReportCollection) (void *ctxt, const char *title, BNReportCollection *reports)

The documentation for this struct was generated from the following file: