setparam.h

Mon, 20 Apr 2020 10:14:32 -0500

author
Tuomo Valkonen <tuomov@iki.fi>
date
Mon, 20 Apr 2020 10:14:32 -0500
changeset 119
87e3bb5086e8
parent 98
147a593d3ceb
permissions
-rw-r--r--

Convert README to markdown

97
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
1 /*
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
2 * libtu/setparam.h
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
3 *
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
4 * Copyright (c) Tuomo Valkonen 2005.
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
5 *
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
6 * You may distribute and modify this library under the terms of either
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
7 * the Clarified Artistic License or the GNU LGPL, version 2.1 or later.
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
8 */
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
9
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
10 #ifndef LIBTU_SETPARAM_H
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
11 #define LIBTU_SETPARAM_H
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
12
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
13 #include "types.h"
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
14
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
15 enum{
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
16 SETPARAM_UNKNOWN,
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
17 SETPARAM_SET,
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
18 SETPARAM_UNSET,
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
19 SETPARAM_TOGGLE
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
20 };
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
21
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
22 extern int libtu_string_to_setparam(const char *str);
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
23 extern bool libtu_do_setparam_str(const char *str, bool val);
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
24 extern bool libtu_do_setparam(int sp, bool val);
98
147a593d3ceb Added libtu_setparam_invert.
Tuomo Valkonen <tuomov@iki.fi>
parents: 97
diff changeset
25 extern int libtu_setparam_invert(int sp);
97
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
26
daf2b3d79cb8 Added setparam.c.
Tuomo Valkonen <tuomov@iki.fi>
parents:
diff changeset
27 #endif /* LIBTU_SETPARAM_H */

mercurial