summaryrefslogtreecommitdiffstats
path: root/sahara.h
diff options
context:
space:
mode:
Diffstat (limited to 'sahara.h')
-rw-r--r--sahara.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sahara.h b/sahara.h
index 65e9eb7..93f01f8 100644
--- a/sahara.h
+++ b/sahara.h
@@ -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);