From 2f3a905da7a450c200ea631ce9669e9258678d3a Mon Sep 17 00:00:00 2001 From: schodet Date: Sat, 11 Mar 2006 11:02:57 +0000 Subject: Permet la récupération des arguments sur host. Correction de bug avec les asserts. --- n/avr/modules/host/host.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'n/avr/modules/host/host.h') 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. */ -- cgit v1.2.3