xref: /kvm-unit-tests/lib/argv.h (revision e526bc786e9878c3880ae4b09b01a4572756e492)
163d5cbecSThomas Huth /*
263d5cbecSThomas Huth  * Set up arguments for main() and prepare environment variables
363d5cbecSThomas Huth  *
463d5cbecSThomas Huth  * This code is free software; you can redistribute it and/or modify it
563d5cbecSThomas Huth  * under the terms of the GNU Library General Public License version 2.
663d5cbecSThomas Huth  */
763d5cbecSThomas Huth 
81d4fa329SCornelia Huck #ifndef _ARGV_H_
91d4fa329SCornelia Huck #define _ARGV_H_
101d4fa329SCornelia Huck 
1163d5cbecSThomas Huth extern void __setup_args(void);
12*85c3c524SNikos Nikoleris extern void setup_args(const char *args);
1363d5cbecSThomas Huth extern void setup_args_progname(const char *args);
1463d5cbecSThomas Huth extern void setup_env(char *env, int size);
1503b1e457SNadav Amit extern void add_setup_arg(const char *arg);
161d4fa329SCornelia Huck 
171d4fa329SCornelia Huck #endif
18