change type of the collect function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7183 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -70,8 +70,15 @@ typedef struct getarg_strings {
|
||||
char **strings;
|
||||
} getarg_strings;
|
||||
|
||||
typedef int (*getarg_collect_func)(int short_opt,
|
||||
int argc,
|
||||
char **argv,
|
||||
int *optind,
|
||||
int *optarg,
|
||||
void *data);
|
||||
|
||||
typedef struct getarg_collect_info {
|
||||
int (*func)(char *optarg, int argc, char **argv, int *optind, void *data);
|
||||
getarg_collect_func func;
|
||||
void *data;
|
||||
} getarg_collect_info;
|
||||
|
||||
|
Reference in New Issue
Block a user