remove history from TODO
[wmiirc-lua.git] / luaixp / lixp_util.h
blobd4d0ae858cf037ccbbca43bbf7a6632b5bb45823
1 #ifndef __LUAIXP_UTIL_H__
2 #define __LUAIXP_UTIL_H__
4 #include <lua.h>
6 #if 0
7 // backward compatibility to 0.3 (20070518)
8 // ... but there is no good way to detect that we need it at build time
9 #ifndef IxpStat
10 #define IxpStat Stat
11 #define IxpMsg Message
12 #endif
13 #endif
15 struct IxpCFid;
16 struct IxpStat;
18 extern int lixp_pusherror(lua_State *L, const char *info);
20 extern int lixp_write_data (struct IxpCFid *fid, const char *data, size_t data_len);
22 extern int lixp_pushstat (lua_State *L, const struct IxpStat *stat);
24 #endif // __LUAIXP_UTIL_H__