util.h

Sun, 02 May 2004 17:14:06 +0200

author
tuomov
date
Sun, 02 May 2004 17:14:06 +0200
changeset 72
7e69e5f7a013
parent 62
aae5facf9fc5
child 79
81e9a32b1c0c
permissions
-rw-r--r--

trunk: changeset 1462
Added -DHAVE_SNPRINTF when compiling with snprintf_2.2.

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

mercurial