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[], 22 const OptParserCommonInfo *cinfo); 23 24 25 extern const char *prog_execname(); 26 27 #endif /* LIBTU_UTIL_H */ 28