]> cvs.zerfleddert.de Git - proxmark3-svn/blame - armsrc/string.h
hf 14a: if the tag supports it, set default timeout according to ATS
[proxmark3-svn] / armsrc / string.h
CommitLineData
bd20f8f4 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
9ab7a6c7 12#ifndef __STRING_H
13#define __STRING_H
14
9484ff3d 15#include <stdint.h>
16#include <util.h>
17
9ab7a6c7 18int strlen(const char *str);
9484ff3d 19RAMFUNC void *memcpy(void *dest, const void *src, int len);
9ab7a6c7 20void *memset(void *dest, int c, int len);
9484ff3d 21RAMFUNC int memcmp(const void *av, const void *bv, int len);
52ab55ab 22void memxor(uint8_t * dest, uint8_t * src, size_t len);
9ab7a6c7 23char *strncat(char *dest, const char *src, unsigned int n);
9455b51c 24char *strcat(char *dest, const char *src);
25void strreverse(char s[]);
26void itoa(int n, char s[]);
27
9ab7a6c7 28
c1bd1140 29#endif /* __STRING_H */
Impressum, Datenschutz