Merge pull request #46 from logxen/config
[clinton/Smoothieware.git] / src / libs / utils.h
1 #ifndef utils_h
2 #define utils_h
3
4 #include <stdint.h>
5 using namespace std;
6 #include <string>
7 #include <vector>
8 using std::string;
9
10 string lc(string str);
11
12 string remove_non_number( string str );
13
14 uint16_t get_checksum(string to_check);
15
16 vector<uint16_t> get_checksums(string key);
17
18 string shift_parameter( string &parameters );
19
20 string get_arguments( string possible_command );
21
22 bool file_exists( string file_name );
23
24 void system_reset( void );
25
26
27
28
29 #endif