include/libtu/util.h

Sat, 04 Nov 2000 21:14:52 +0100

author
tuomov
date
Sat, 04 Nov 2000 21:14:52 +0100
changeset 27
228f64ffb422
parent 12
5fd153b29d40
child 36
63cd573ffbcf
permissions
-rw-r--r--

trunk: changeset 30
Added LIBTU_NO_ERRMSG so snprintf is not needed with programs that
don't use the errmsg functions (pwm).

5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
1 /*
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
2 * libtu/util.h
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
3 *
9
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
4 * Copyright (c) Tuomo Valkonen 1999-2000.
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
5 * See the included file LICENSE for details.
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
6 */
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
7
9
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
8 #ifndef LIBTU_UTIL_H
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
9 #define LIBTU_UTIL_H
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
10
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
11 #include <stdarg.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
12 #include <stdio.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
13 #include <stdlib.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
14
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
15 #include "types.h"
12
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
16 #include "optparser.h"
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
17
12
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
18 extern void libtu_init(const char *argv0);
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
19 extern void libtu_init_copt(int argc, char *const argv[],
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
20 const OptParserCommonInfo *cinfo);
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
21
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
22
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
23 extern const char *prog_execname();
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
24
9
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
25 #endif /* LIBTU_UTIL_H */

mercurial