| 1 |
#ifndef MFLUAC_H |
| 2 |
#define MFLUAC_H |
| 3 |
|
| 4 |
#include <mfluadir/mflua_svnversion.h> |
| 5 |
#include <mfluadir/mflua_version.h> |
| 6 |
extern int mfluabeginprogram(void); |
| 7 |
extern int mfluaPREstartofMF(void); |
| 8 |
extern int mfluaPREmaincontrol(void); |
| 9 |
extern int mfluaPOSTmaincontrol(void); |
| 10 |
extern int mfluainitialize(void); |
| 11 |
extern int mfluaPOSTfinalcleanup(void); |
| 12 |
extern int mfluaendprogram(void); |
| 13 |
|
| 14 |
extern int mfluaprintpath(halfword, strnumber, boolean); |
| 15 |
extern int mfluarunscript(halfword, halfword, halfword); |
| 16 |
extern int mfluaprintedges(strnumber, boolean, integer, integer); |
| 17 |
|
| 18 |
extern int mfluaPREoffsetprep(halfword, halfword); |
| 19 |
extern int mfluaPOSToffsetprep(halfword, halfword); |
| 20 |
|
| 21 |
extern int mfluaPREfillenveloperhs(halfword); |
| 22 |
extern int mfluaPOSTfillenveloperhs(halfword); |
| 23 |
extern int mfluaPREfillenvelopelhs(halfword); |
| 24 |
extern int mfluaPOSTfillenvelopelhs(halfword); |
| 25 |
|
| 26 |
extern int mfluaPREmakespecrhs(halfword); |
| 27 |
extern int mfluaPOSTmakespecrhs(halfword); |
| 28 |
extern int mfluaPREmakespeclhs(halfword); |
| 29 |
extern int mfluaPOSTmakespeclhs(halfword); |
| 30 |
|
| 31 |
extern int mfluaPREfillspecrhs(halfword); |
| 32 |
extern int mfluaPOSTfillspecrhs(halfword); |
| 33 |
extern int mfluaPREfillspeclhs(halfword); |
| 34 |
extern int mfluaPOSTfillspeclhs(halfword); |
| 35 |
|
| 36 |
extern int mfluaPREmakechoices(halfword); |
| 37 |
extern int mfluaPOSTmakechoices(halfword); |
| 38 |
|
| 39 |
extern int mfluaPREmovetoedges(halfword); |
| 40 |
extern int mfluaPOSTmovetoedges(halfword); |
| 41 |
|
| 42 |
extern int mfluaprintretrogradeline(integer, integer, integer, integer); |
| 43 |
|
| 44 |
extern int mfluaprinttransitionlinefrom(integer, integer); |
| 45 |
extern int mfluaprinttransitionlineto(integer, integer); |
| 46 |
|
| 47 |
extern int mfluaPREmakeellipse(integer, integer, integer, integer, integer, integer); |
| 48 |
extern int mfluaPOSTmakeellipse(integer, integer, integer, integer, integer, integer); |
| 49 |
|
| 50 |
/* TODO: check if shell_cmd_is_allowed makes sense */ |
| 51 |
extern int shellenabledp; |
| 52 |
extern int restrictedshell; |
| 53 |
extern int shell_cmd_is_allowed(const char *, char **, char **); |
| 54 |
|
| 55 |
#include <lauxlib.h> |
| 56 |
extern int luaopen_kpse(lua_State * L); |
| 57 |
|
| 58 |
#include <potracelib.h> |
| 59 |
|
| 60 |
#endif /* MFLUAC_H */ |