Merge branch 'feature/on_second_tick_event' into edge
[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 extern volatile bool _isr_context;
11
12 string lc(string str);
13
14 string remove_non_number( string str );
15
16 uint16_t get_checksum(string to_check);
17
18 void get_checksums(uint16_t check_sums[], string key);
19
20 string shift_parameter( string &parameters );
21
22 string get_arguments( string possible_command );
23
24 bool file_exists( string file_name );
25
26 void system_reset( void );
27
28
29
30
31 #endif