include/libtu/util.h

Mon, 17 Nov 2003 22:04:25 +0100

author
tuomov
date
Mon, 17 Nov 2003 22:04:25 +0100
changeset 56
af2c6d224f9d
parent 53
f8f9366b359c
permissions
-rw-r--r--

trunk: changeset 60
Check that PREV!=NULL when unlinking item from a list. (PREV must
point to something if on list.)

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 *
36
63cd573ffbcf trunk: changeset 39
tuomov
parents: 12
diff changeset
4 * Copyright (c) Tuomo Valkonen 1999-2002.
53
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
5 *
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
6 * You may distribute and modify this library under the terms of either
f8f9366b359c trunk: changeset 57
tuomov
parents: 36
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
8 */
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
9
9
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
10 #ifndef LIBTU_UTIL_H
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
11 #define LIBTU_UTIL_H
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
12
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
13 #include <stdarg.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
14 #include <stdio.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
15 #include <stdlib.h>
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
16
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
17 #include "types.h"
12
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
18 #include "optparser.h"
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
19
12
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
20 extern void libtu_init(const char *argv0);
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
21 extern void libtu_init_copt(int argc, char *const argv[],
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
22 const OptParserCommonInfo *cinfo);
5fd153b29d40 trunk: changeset 15
tuomov
parents: 9
diff changeset
23
5
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
24
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
25 extern const char *prog_execname();
f878a9ffa3e0 trunk: changeset 8
tuomov
parents:
diff changeset
26
9
55e7f2ff6021 trunk: changeset 12
tuomov
parents: 5
diff changeset
27 #endif /* LIBTU_UTIL_H */

mercurial