Thu, 06 Feb 2014 14:16:13 +0000
locale.h name seems to conflict with system locale.h name on some systems
| 97 | 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); | |
| 98 | 25 | extern int libtu_setparam_invert(int sp); |
| 97 | 26 | |
| 27 | #endif /* LIBTU_SETPARAM_H */ |