mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-13 07:57:35 +00:00
211688f537
- Add scr.echo
20 lines
425 B
C
20 lines
425 B
C
#ifndef R2_BIND_H
|
|
#define R2_BIND_H
|
|
|
|
// TODO: move riobind here too?
|
|
|
|
typedef int (*RCoreCmd)(void *core, const char *cmd);
|
|
typedef int (*RCoreDebugBpHit)(void *core, void *bp);
|
|
typedef char* (*RCoreCmdStr)(void *core, const char *cmd);
|
|
typedef void (*RCorePuts)(const char *cmd);
|
|
|
|
typedef struct r_core_bind_t {
|
|
void *core;
|
|
RCoreCmd cmd;
|
|
RCoreCmdStr cmdstr;
|
|
RCorePuts puts ;
|
|
RCoreDebugBpHit bphit;
|
|
} RCoreBind;
|
|
|
|
#endif
|