1 2 #ifndef __SCRIPT_PARSER_H__ 3 #define __SCRIPT_PARSER_H__ 4 5 #define SCRIPT_VERSION0 1 6 #define SCRIPT_VERSION1 0 7 #define SCRIPT_VERSION2 0 8 9 /* 10 * init script. called before other function. 11 * \param name the name of script. 12 * \return the id of script share memory segment, on error -1 is returned. 13 */ 14 char* parse_script(const char *name); 15 16 /* 17 * deparse script. 18 */ 19 void deparse_script(int shmid); 20 21 #endif /* __SCRIPT_PARSER_H__ */ 22