DFU: increase detach timeout to 2 seconds
[clinton/Smoothieware.git] / src / libs / utils.h
index 7e06b58..5b6ee16 100644 (file)
@@ -4,6 +4,7 @@
 #include <stdint.h>
 using namespace std;
 #include <string>
+#include <vector>
 using std::string;
 
 string lc(string str);
@@ -12,10 +13,14 @@ string remove_non_number( string str );
 
 uint16_t get_checksum(string to_check);
 
+void get_checksums(uint16_t check_sums[], string key);
+
 string shift_parameter( string &parameters );
 
 string get_arguments( string possible_command );
 
+bool file_exists( string file_name );
+
 void system_reset( void );