mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
loadFile*: accept when suffix is already provided
This commit is contained in:
parent
42933f2e7b
commit
405f24522e
8 changed files with 61 additions and 47 deletions
|
@ -261,8 +261,10 @@ int num_CPUs(void); // number of logical CPUs
|
|||
|
||||
void str_lower(char *s); // converts string to lower case
|
||||
bool str_startswith(const char *s, const char *pre); // check for prefix in string
|
||||
bool str_endswith(const char *s, const char *suffix); // check for suffix in string
|
||||
void clean_ascii(unsigned char *buf, size_t len);
|
||||
void strcleanrn(char *buf, size_t len);
|
||||
void strcreplace(char *buf, size_t len, char from, char to);
|
||||
char *strmcopy(char *buf);
|
||||
char *strmcopy(const char *buf);
|
||||
char *filenamemcopy(const char *preferredName, const char *suffix);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue