mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
begin of dynamic capabilities handling in client
This commit is contained in:
parent
5a6929c533
commit
ca43afa19b
55 changed files with 554 additions and 536 deletions
|
@ -14,12 +14,15 @@
|
|||
typedef struct command_s {
|
||||
const char *Name;
|
||||
int (*Parse)(const char *Cmd);
|
||||
int Offline;
|
||||
bool (*IsAvailable)(void);
|
||||
const char *Help;
|
||||
} command_t;
|
||||
|
||||
// command_t array are expected to be NULL terminated
|
||||
|
||||
bool AlwaysAvailable(void);
|
||||
bool IfPm3Present(void);
|
||||
bool IfPm3Hfsniff(void);
|
||||
|
||||
// Print help for each command in the command array
|
||||
void CmdsHelp(const command_t Commands[]);
|
||||
// Print each command in the command array without help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue