From 906e93d480d8b77aac8ce4b3837ab55b3b496d2d Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 5 Jul 2007 14:20:04 +0000 Subject: - move parameters functions in params.c - move string/system utility functions in utils.c --- mdk-stage1/params.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 mdk-stage1/params.h (limited to 'mdk-stage1/params.h') diff --git a/mdk-stage1/params.h b/mdk-stage1/params.h new file mode 100644 index 000000000..2fe624143 --- /dev/null +++ b/mdk-stage1/params.h @@ -0,0 +1,31 @@ +/* + * Guillaume Cottenceau (gc@mandrakesoft.com) + * + * Copyright 2000 Mandrakesoft + * + * This software may be freely redistributed under the terms of the GNU + * public license. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + */ + +#ifndef _PARAMS_H_ +#define _PARAMS_H_ + +void process_cmdline(void); +int get_param(int i); +char * get_param_valued(char *param_name); +void set_param(int i); +void unset_param(int i); +void unset_automatic(void); + +struct param_elem +{ + char * name; + char * value; +}; + +#endif -- cgit v1.2.1