summaryrefslogtreecommitdiff
path: root/n/avr/modules/host/host.h
diff options
context:
space:
mode:
authorschodet2006-03-11 11:02:57 +0000
committerschodet2006-03-11 11:02:57 +0000
commit2f3a905da7a450c200ea631ce9669e9258678d3a (patch)
treed46c2495c34ef7590210c44aea783ae49b95a5f5 /n/avr/modules/host/host.h
parenta097d1dd557743d1f379dfaefaf8fdce7af078c4 (diff)
Permet la récupération des arguments sur host.
Correction de bug avec les asserts.
Diffstat (limited to 'n/avr/modules/host/host.h')
-rw-r--r--n/avr/modules/host/host.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/n/avr/modules/host/host.h b/n/avr/modules/host/host.h
index d1a00af..73cd4a5 100644
--- a/n/avr/modules/host/host.h
+++ b/n/avr/modules/host/host.h
@@ -30,10 +30,15 @@
# error Use this header only for HOST only files !
#endif
-/** Initialise host modules. */
+/** Initialise host module. */
void
host_init (int argc, char **argv);
+/** Retrieve saved program arguments. Program name and used parameters are
+ * stripped. */
+void
+host_get_program_arguments (int *argc, char ***argv);
+
/** Host variables are usefull on reset. They are passed in the environment.
* This is not optimised for performance. */