blob: 33d2b8fa2e395542492800244dd9739a6c94760c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
/* fornax - distributed network
*
* by team teso
*
* scripting call includes
*/
#ifndef FNX_CALL_H
#define FNX_CALL_H
#include "symbol.h"
typedef struct {
char * name;
sym_elem ** parameters;
} call;
/* call_create
*
* call constructor.
*
* return a pointer to a new call structure
*/
call * call_create (void);
/* call_free
*
* free a call structure pointed to by `c' completely, including any symbol
* information
*
* return in any case
*/
void call_free (call *c);
/* call_set_name
*
* set the name `name' for a call structure pointed to by `c'
*
* return pointer to the structure
*/
call * call_set_name (call *c, char *name);
/* call_set_parameters
*
* set parameters `par' for a call structure pointed to by `c'
*
* return pointer to the structure
*/
call * call_set_parameters (call *c, sym_elem **par);
#endif
|