diff options
Diffstat (limited to 'sahara.h')
-rw-r--r-- | sahara.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -18,6 +18,8 @@ #ifndef __SAHARA_PROTOCOL_H__ #define __SAHARA_PROTOCOL_H__ +#include <time.h> + /* * Most of these details of the SAHARA protocol were retrieved from the * libopenpst library (https://github.com/openpst/libopenpst). @@ -98,6 +100,7 @@ struct sah_memory_table { unsigned char file[20]; } __attribute__((__packed__)); +int configure_tty(int *tty_fd, time_t timeout_sec, long int timeout_usec); int send_file(int tty_fd, struct sah_data_end_ack *data_end_ack); int handle_memory_debug(int tty_fd); |