diff options
Diffstat (limited to 'str.h')
-rw-r--r-- | str.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,8 @@ #ifndef STR_H #define STR_H +#include <stdlib.h> + #include "built_in.h" extern size_t strlcpy(char *dest, const char *src, size_t size); @@ -11,5 +13,6 @@ extern noinline void *xmemset(void *s, int c, size_t n); extern char *argv2str(int startind, int argc, char **argv); extern char **argv_insert(char **argv, size_t *count, const char *str); extern void argv_free(char **argv); +extern int str2mac(const char *str, uint8_t *mac, size_t len); #endif /* STR_H */ |