ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
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
/*
 * \file        script_parser.h
 * \brief
 *
 * \version     1.0.0
 * \date        2012年05月31日
 * \author      James Deng <csjamesdeng@allwinnertech.com>
 *
 * Copyright (c) 2012 Allwinner Technology. All Rights Reserved.
 *
 */
 
#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.
 */
int parse_script(const char *name);
 
/*
 * deparse script.
 */
void deparse_script(int shmid);
 
#endif /* __SCRIPT_PARSER_H__ */