Sun, 02 May 2004 17:14:06 +0200
trunk: changeset 1462
Added -DHAVE_SNPRINTF when compiling with snprintf_2.2.
| 58 | 1 | /* |
| 2 | * libtu/util.h | |
| 3 | * | |
| 4 | * Copyright (c) Tuomo Valkonen 1999-2002. | |
| 5 | * | |
| 6 | * You may distribute and modify this library under the terms of either | |
| 7 | * the Clarified Artistic License or the GNU LGPL, version 2.1 or later. | |
| 8 | */ | |
| 9 | ||
| 10 | #ifndef LIBTU_UTIL_H | |
| 11 | #define LIBTU_UTIL_H | |
| 12 | ||
| 13 | #include <stdarg.h> | |
| 14 | #include <stdio.h> | |
| 15 | #include <stdlib.h> | |
| 16 | ||
| 17 | #include "types.h" | |
| 18 | #include "optparser.h" | |
| 19 | ||
| 20 | extern void libtu_init(const char *argv0); | |
| 21 | extern void libtu_init_copt(int argc, char *const argv[], | |
| 62 | 22 | const OptParserCommonInfo *cinfo); |
| 23 | ||
| 58 | 24 | |
| 25 | extern const char *prog_execname(); | |
| 26 | ||
| 27 | #endif /* LIBTU_UTIL_H */ |