summaryrefslogtreecommitdiffstats
path: root/src/main.h
diff options
context:
space:
mode:
authorpancake <pancake@dazo>2007-06-10 05:41:50 +0200
committerpancake <pancake@dazo>2007-06-10 05:41:50 +0200
commitc46961d511ce87859e3bdd18ecf42ccd70ca525a (patch)
tree56b9117ff9a117baed25c2d1dd8fc3bc5280ad86 /src/main.h
parentec71146727eb352c57e0ddb5b38858f4a7780c6b (diff)
download0xFFFF-c46961d511ce87859e3bdd18ecf42ccd70ca525a.tar.bz2
* Fix in fpid for proper JFFS2 identification
* Add new flag '-c' that makes 0xFFFF run as a shell * Split the connect_via_usb() code from main() * Add console handler for shell like usage of the flasher
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index be9926e..fae655c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -24,6 +24,11 @@ int is_valid_device(struct usb_device_descriptor *udd);
void list_valid_devices();
int usb_device_found(struct usb_device_descriptor *udd);
int console(const char *device);
+int connect_via_usb();
+int console_prompt();
+
+//
+void cmd_info(char *line);
extern int verbose;
#define D if (verbose)