]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/string.h
Merge pull request #264 from qweenwasabi/master
[proxmark3-svn] / armsrc / string.h
index 0a683293a3b56f6be35ae38d351e12273b8a6145..07ac112f285a1b73bbeb8921e80d733e705bad86 100644 (file)
@@ -1,10 +1,29 @@
+//-----------------------------------------------------------------------------
+// Jonathan Westhues, Aug 2005
+// Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Common string.h functions
+//-----------------------------------------------------------------------------
+
 #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 */
Impressum, Datenschutz