Add vim modelines.
[monky] / src / algebra.h
1 /* Conky, a system monitor, based on torsmo
2  *
3  * Any original torsmo code is licensed under the BSD license
4  *
5  * All code written since the fork of torsmo is licensed under the GPL
6  *
7  * Please see COPYING for details
8  *
9  * Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
10  * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
11  *      (see AUTHORS)
12  * All rights reserved.
13  *
14  * This program is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU General Public License as published by
16  * the Free Software Foundation, either version 3 of the License, or
17  * (at your option) any later version.
18  *
19  * This program is distributed in the hope that it will be useful,
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  * GNU General Public License for more details.
23  * You should have received a copy of the GNU General Public License
24  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
25  *
26  * vim: ts=4 sw=4 noet ai cindent syntax=c
27  *
28  */
29 #ifndef _ALGEBRA_H
30 #define _ALGEBRA_H
31
32 enum match_type {
33         OP_LT = 1,      /* < */
34         OP_GT = 2,      /* > */
35         OP_EQ = 3,      /* == */
36         OP_LEQ = 4,     /* <= */
37         OP_GEQ = 5,     /* >= */
38         OP_NEQ = 6,     /* != */
39 };
40
41 enum arg_type {
42         ARG_STRING = 1, /* "asdf" */
43         ARG_LONG = 2,   /* 123456 */
44         ARG_DOUBLE = 3, /* 12.456 */
45 };
46
47 int compare(const char *);
48
49 #endif /* _ALGEBRA_H */