summaryrefslogtreecommitdiffhomepage
path: root/digital/avr/modules/host/host.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/avr/modules/host/host.h')
-rw-r--r--digital/avr/modules/host/host.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/digital/avr/modules/host/host.h b/digital/avr/modules/host/host.h
index 73cd4a58..03a8f7b8 100644
--- a/digital/avr/modules/host/host.h
+++ b/digital/avr/modules/host/host.h
@@ -39,6 +39,11 @@ host_init (int argc, char **argv);
void
host_get_program_arguments (int *argc, char ***argv);
+/** Retrieve instance given on command line, or use default. Strip tail
+ * components if requested. Buffer is valid until next call. */
+const char *
+host_get_instance (const char *def, int strip);
+
/** Host variables are usefull on reset. They are passed in the environment.
* This is not optimised for performance. */