Re: [Suspend-devel] [PATCH] Do not manually calculate config elements

2007-08-16 Thread Pavel Machek
Hi! > This allows you to specify an array of config_par, ending it with NULL > name, so that you don't have to calculate the number of entries manually. > > -int parse(char *my_name, char *file_name, int parc, struct config_par *parv) > +int parse(char *my_name, char *file_name, struct config_pa

Re: [Suspend-devel] [PATCH] Do not manually calculate config elements

2007-08-15 Thread Rafael J. Wysocki
On Saturday, 4 August 2007 14:51, Alon Bar-Lev wrote: > > This allows you to specify an array of config_par, ending it with NULL > name, so that you don't have to calculate the number of entries manually. I have applied the patch. Greetings, Rafael --

[Suspend-devel] [PATCH] Do not manually calculate config elements

2007-08-04 Thread Alon Bar-Lev
This allows you to specify an array of config_par, ending it with NULL name, so that you don't have to calculate the number of entries manually. Alon --- --- suspend.org/configparser.h 2007-05-13 20:53:13.0 +0300 +++ suspend.work/configparser.h 2007-08-04 04:58:08.0 +0300 @@ -1