--- a/include/libtu/util.h Sat May 20 17:43:36 2000 +0200 +++ b/include/libtu/util.h Sun May 21 17:33:48 2000 +0200 @@ -13,26 +13,13 @@ #include <stdlib.h> #include "types.h" - +#include "optparser.h" -typedef struct{ - const char *name; - const char *version; - const char *authors; - const char *license; - const char *usage; -} ProgInfo; - - -extern void libtu_init_argv0(const char *argv0, const ProgInfo *info); -extern void libtu_init(int *argc, char *argv[], const ProgInfo *info); +extern void libtu_init(const char *argv0); +extern void libtu_init_copt(int argc, char *const argv[], + const OptParserCommonInfo *cinfo); + extern const char *prog_execname(); -extern const ProgInfo *prog_info(); -extern const char *prog_name(); -extern const char *prog_version(); -extern const char *prog_authors(); -extern const char *prog_license(); -extern const char *prog_usage(); #endif /* LIBTU_UTIL_H */