Luca Jel
/
mbed5a_testy
sdsd
Fork of mbed5a_testy by
string.h@1:b8d65b5745d1, 2017-05-05 (annotated)
- Committer:
- Robsonik16
- Date:
- Fri May 05 20:01:41 2017 +0000
- Revision:
- 1:b8d65b5745d1
- Parent:
- other/string.h@0:e69a0b7f4b41
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Robsonik16 | 0:e69a0b7f4b41 | 1 | #define NULL 0 |
Robsonik16 | 0:e69a0b7f4b41 | 2 | #define TERMINATOR '\r' |
Robsonik16 | 0:e69a0b7f4b41 | 3 | #define DELIMITER_CHAR 0x20 |
Robsonik16 | 0:e69a0b7f4b41 | 4 | |
Robsonik16 | 0:e69a0b7f4b41 | 5 | enum CompResult { NOTEQUAL, EQUAL }; |
Robsonik16 | 0:e69a0b7f4b41 | 6 | enum Result { OK, ERROR }; |
Robsonik16 | 0:e69a0b7f4b41 | 7 | |
Robsonik16 | 0:e69a0b7f4b41 | 8 | void CopyString(char pcSource[], char pcDestination[]); |
Robsonik16 | 0:e69a0b7f4b41 | 9 | void AppendString (char pcSourceStr[], char pcDestinationStr[]); |
Robsonik16 | 0:e69a0b7f4b41 | 10 | void AppendUIntToString (unsigned int uiValue, char pcDestinationStr[]); |
Robsonik16 | 0:e69a0b7f4b41 | 11 | void ReplaceCharactersInString(char pcString[], char cOldChar,char cNewChar); |
Robsonik16 | 0:e69a0b7f4b41 | 12 | void UIntToHexStr (unsigned int uiValue, char pcStr[]); |
Robsonik16 | 0:e69a0b7f4b41 | 13 | enum CompResult eCompareString(char pcStr1[], char pcStr2[]); |
Robsonik16 | 0:e69a0b7f4b41 | 14 | enum Result eHexStringToUInt(char pcStr[],unsigned int *puiValue); |