Just4Trionic - CAN and BDM FLASH programmer for Saab cars

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers strings.h Source File

strings.h

00001 /*******************************************************************************
00002 
00003 strings.h - information and definitions needed for working with strings of
00004 characters (ascii 'char') 
00005 (c) 2010 by Sophie Dexter
00006 
00007 ********************************************************************************
00008 
00009 WARNING: Use at your own risk, sadly this software comes with no guarantees.
00010 This software is provided 'free' and in good faith, but the author does not
00011 accept liability for any damage arising from its use.
00012 
00013 *******************************************************************************/
00014 
00015 #include "common.h"
00016 #include "sizedefs.h"
00017 
00018 extern char *StrCpy(char *s1, char *s2);
00019 extern int StrLen(char *s);
00020 extern bool StrCmp(char *s1, char *s2);
00021 extern char ToUpper(char c);
00022 extern char ToLower(char c);
00023 extern char *aToh(char *s);
00024 extern char *StrAddc (char *s, const char c);
00025 extern uint8_t ascii2nibble(char str);
00026 extern bool ascii2int(uint32_t* val, const char* str, uint8_t length);
00027 extern int isxdigit ( int ch );