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:
Johan Danielsson
1999-10-18 17:12:56 +00:00
parent 6a5c94ca88
commit 2dff026a5c

View File

@@ -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;