projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move OPT_QUIT into the lua registry
[apps/madmutt.git]
/
lib-lua
/
lib-lua.h
diff --git
a/lib-lua/lib-lua.h
b/lib-lua/lib-lua.h
index
47e9daa
..
efad96c
100644
(file)
--- a/
lib-lua/lib-lua.h
+++ b/
lib-lua/lib-lua.h
@@
-26,6
+26,14
@@
#include "lua-token.h"
#include "lua-token.h"
+/* possible arguments to set_quadoption() */
+typedef enum quadopt_t {
+ M_NO,
+ M_YES,
+ M_ASKNO,
+ M_ASKYES
+} quadopt_t;
+
void mlua_initialize(void);
void mlua_shutdown(void);
void mlua_initialize(void);
void mlua_shutdown(void);
@@
-33,6
+41,9
@@
int mlua_dofile(const char *filename);
int mlua_wrap(void (*errfun)(const char *fmt, ...), int status);
const char *mlua_reggets(enum lua_token tk);
int mlua_wrap(void (*errfun)(const char *fmt, ...), int status);
const char *mlua_reggets(enum lua_token tk);
+quadopt_t mlua_reggetq(enum lua_token tk);
+
void mlua_regsets(enum lua_token tk, const char *s);
void mlua_regsets(enum lua_token tk, const char *s);
+void mlua_regsetq(enum lua_token tk, quadopt_t q);
#endif
#endif