summaryrefslogtreecommitdiff
path: root/gpsflash.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-28 15:26:08 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-28 15:26:08 +0000
commit496ced5b11d42f9f9a27d99b9965197c13b8965b (patch)
treee0e07f3d6e74caaa97336bd61f39509f1b4f4e93 /gpsflash.h
parentf555c9ecc5d8a2b3ac93db5614f8b5839b929ac7 (diff)
downloadgpsd-496ced5b11d42f9f9a27d99b9965197c13b8965b.tar.gz
Added -n option and probe method to gpsflash.
Diffstat (limited to 'gpsflash.h')
-rw-r--r--gpsflash.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpsflash.h b/gpsflash.h
index 06a51a9f..a8c3d92c 100644
--- a/gpsflash.h
+++ b/gpsflash.h
@@ -40,6 +40,7 @@ struct flashloader_t {
size_t min_loader_size, max_loader_size;
size_t min_firmware_size, max_firmware_size;
int (*port_setup)(int fd, struct termios *term);
+ int (*version_check)(int fd);
int (*stage1_command)(int fd);
int (*loader_send)(int pfd, struct termios *term, char *loader, size_t ls);
int (*stage2_command)(int fd);