]> cvs.zerfleddert.de Git - proxmark3-svn/blob - armsrc/string.h
FIX: coverity scan found some bugs in EMV code. These are the fixes to:
[proxmark3-svn] / armsrc / string.h
1 //-----------------------------------------------------------------------------
2 // Jonathan Westhues, Aug 2005
3 // Copyright (C) 2010 Hector Martin "marcan" <marcan@marcansoft.com>
4 //
5 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
6 // at your option, any later version. See the LICENSE.txt file for the text of
7 // the license.
8 //-----------------------------------------------------------------------------
9 // Common string.h functions
10 //-----------------------------------------------------------------------------
11
12 #ifndef __STRING_H
13 #define __STRING_H
14
15 #include <common.h>
16
17 int strlen(const char *str);
18 RAMFUNC void *memcpy(void *dest, const void *src, int len);
19 void *memset(void *dest, int c, int len);
20 RAMFUNC int memcmp(const void *av, const void *bv, int len);
21 void memxor(uint8_t * dest, uint8_t * src, size_t len);
22 char *strncat(char *dest, const char *src, unsigned int n);
23 char *strcat(char *dest, const char *src);
24 void strreverse(char s[]);
25 void itoa(int n, char s[]);
26
27 #endif /* __STRING_H */
Impressum, Datenschutz