Fri, 27 Oct 2000 15:17:27 +0200
trunk: changeset 28
Added errmsg_* functions alike warn_* -- asprintf and vasprintf
required now.
5 | 1 | /* |
2 | * libtu/util.h | |
3 | * | |
9 | 4 | * Copyright (c) Tuomo Valkonen 1999-2000. |
5 | 5 | * See the included file LICENSE for details. |
6 | */ | |
7 | ||
9 | 8 | #ifndef LIBTU_UTIL_H |
9 | #define LIBTU_UTIL_H | |
5 | 10 | |
11 | #include <stdarg.h> | |
12 | #include <stdio.h> | |
13 | #include <stdlib.h> | |
14 | ||
15 | #include "types.h" | |
12 | 16 | #include "optparser.h" |
5 | 17 | |
12 | 18 | extern void libtu_init(const char *argv0); |
19 | extern void libtu_init_copt(int argc, char *const argv[], | |
20 | const OptParserCommonInfo *cinfo); | |
21 | ||
5 | 22 | |
23 | extern const char *prog_execname(); | |
24 | ||
9 | 25 | #endif /* LIBTU_UTIL_H */ |