Sat, 19 Jan 2002 19:14:36 +0100
trunk: changeset 38
Warning callbacks (thanks to Lukas Schroeder). libtu now depends on
the asprintf functions and one implementation is included in
snprintf_2.2/.
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 */ |