]> git.decadent.org.uk Git - ion3.git/blob - libtu/setparam.h
[svn-inject] Installing original source of ion3
[ion3.git] / libtu / setparam.h
1 /*
2  * libtu/setparam.h
3  *
4  * Copyright (c) Tuomo Valkonen 2005.
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_SETPARAM_H
11 #define LIBTU_SETPARAM_H
12
13 #include "types.h"
14
15 enum{
16     SETPARAM_UNKNOWN,
17     SETPARAM_SET,
18     SETPARAM_UNSET,
19     SETPARAM_TOGGLE
20 };
21
22 extern int libtu_string_to_setparam(const char *str);
23 extern bool libtu_do_setparam_str(const char *str, bool val);
24 extern bool libtu_do_setparam(int sp, bool val);
25 extern int libtu_setparam_invert(int sp);
26
27 #endif /* LIBTU_SETPARAM_H */