1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// protos for ALL external functions in cube...
#ifdef __cplusplus
extern "C" {
#endif
// command
extern int variable(OFString *name, int min, int cur, int max, int *storage,
void (*fun)(), bool persist);
extern void setvar(OFString *name, int i);
extern int getvar(OFString *name);
extern bool identexists(OFString *name);
extern int execute(OFString *p, bool down);
extern void exec(OFString *cfgfile);
extern bool execfile(OFIRI *cfgfile);
extern void resetcomplete();
|
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// protos for ALL external functions in cube...
#ifdef __cplusplus
extern "C" {
#endif
// command
extern void setvar(OFString *name, int i);
extern int getvar(OFString *name);
extern bool identexists(OFString *name);
extern int execute(OFString *p, bool down);
extern void exec(OFString *cfgfile);
extern bool execfile(OFIRI *cfgfile);
extern void resetcomplete();
|