天嵌二次封装库使用手册  V1.0
parser_cmd.h
1 
2 #ifndef _PARSER_CMD_H__
3 #define _PARSER_CMD_H__
4 
5 #include <stdio.h>
6 #include <string.h>
7 #include "common.h"
8 #include "fb_raw.h"
9 #include "tq_env.h"
10 
11 #define BOOT_STR "boot"
12 #define CMD_STR "cmd"
13 #define MAX_LINE 256
14 #ifdef __cplusplus
15 extern "C"
16 {
17 #endif
18  int parser_cmd(char *file);
19  int parser_cmd_ramdisk(char *filename);
20  int parser_cmd_ramdisk_fb(char *filename);
21 #ifdef __cplusplus
22 }
23 #endif
24 #endif