Embedded System Design 2 - Project
util_string.h
Go to the documentation of this file.
1 /* ____ ____ _ __ __ ____ ___
2  * | _ \| _ \ / \ | \/ |/ ___/ _ \
3  * | | | | |_) | / _ \ | |\/| | | | | | |
4  * | |_| | _ < / ___ \| | | | |__| |_| |
5  * |____/|_| \_\/_/ \_\_| |_|\____\___/
6  * research group
7  * dramco.be/
8  *
9  * KU Leuven - Technology Campus Gent,
10  * Gebroeders De Smetstraat 1,
11  * B-9000 Gent, Belgium
12  *
13  * File: util.c
14  * Created: 2018-01-19
15  * Author: Guus Leenders
16  * Version: 1.0
17  *
18  * Description: TODO
19  */
20 
21 #ifndef INC_UTIL_H_
22 #define INC_UTIL_H_
23 
24 #include <stdint.h>
25 #include <stdbool.h>
26 
27 bool StringStartsWith(char * str, char * seq);
28 bool HexToString(uint8_t * bin, uint8_t binsz, char **result );
29 char * StringToHexString(char * bin, unsigned int binsz, char **result );
30 
31 #endif /* INC_UTIL_H_ */
bool StringStartsWith(char *str, char *seq)
Definition: util_string.c:27
char * StringToHexString(char *bin, unsigned int binsz, char **result)
Definition: util_string.c:66
bool HexToString(uint8_t *bin, uint8_t binsz, char **result)
Definition: util_string.c:37