X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bd20f8f47847787e1f3e933043933272908c5beb..refs/pull/347/head:/armsrc/string.h diff --git a/armsrc/string.h b/armsrc/string.h index 6c380e5b..07ac112f 100644 --- a/armsrc/string.h +++ b/armsrc/string.h @@ -12,10 +12,18 @@ #ifndef __STRING_H #define __STRING_H +#include <stdint.h> +#include "util.h" + int strlen(const char *str); -void *memcpy(void *dest, const void *src, int len); +RAMFUNC void *memcpy(void *dest, const void *src, int len); void *memset(void *dest, int c, int len); -int memcmp(const void *av, const void *bv, int len); +RAMFUNC int memcmp(const void *av, const void *bv, int len); +void memxor(uint8_t * dest, uint8_t * src, size_t len); char *strncat(char *dest, const char *src, unsigned int n); +char *strcat(char *dest, const char *src); +void strreverse(char s[]); +void itoa(int n, char s[]); + -#endif /* __STRING_H */ \ No newline at end of file +#endif /* __STRING_H */