Oh yeah, make sure it compiles without inotify.
[monky] / src / llua.h
1 /* Conky, a system monitor, based on torsmo
2  *
3  * Copyright (c) 2009 Toni Spets
4  * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
5  *      (see AUTHORS)
6  * All rights reserved.
7  *
8  * This program is free software: you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License as published by
10  * the Free Software Foundation, either version 3 of the License, or
11  * (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  * GNU General Public License for more details.
17  * You should have received a copy of the GNU General Public License
18  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21
22 #ifndef LUA_H_
23 #define LUA_H_
24
25 #include <lua.h>
26 #include <lauxlib.h>
27 #include <lualib.h>
28
29 void llua_init(void);
30 void llua_load(const char *script);
31 char *llua_getstring(const char *args);
32 char *llua_getstring_read(const char *function, const char *arg);
33 int llua_getinteger(const char *args, int *per);
34 void llua_close(void);
35 #ifdef HAVE_SYS_INOTIFY_H
36 void llua_inotify_query(int wd, int mask);
37 #endif /* HAVE_SYS_INOTIFY_H */
38
39 #endif /* LUA_H_*/