You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
470 B
22 lines
470 B
|
|
#ifndef __SCRIPT_PARSER_H__
|
|
#define __SCRIPT_PARSER_H__
|
|
|
|
#define SCRIPT_VERSION0 1
|
|
#define SCRIPT_VERSION1 0
|
|
#define SCRIPT_VERSION2 0
|
|
|
|
/*
|
|
* init script. called before other function.
|
|
* \param name the name of script.
|
|
* \return the id of script share memory segment, on error -1 is returned.
|
|
*/
|
|
char* parse_script(const char *name);
|
|
|
|
/*
|
|
* deparse script.
|
|
*/
|
|
void deparse_script();
|
|
|
|
#endif /* __SCRIPT_PARSER_H__ */
|