Blame view
include/hush.h
659 Bytes
5b1d71372 Initial revision |
1 2 3 4 |
/* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * |
1a4596601 Add GPL-2.0+ SPDX... |
5 |
* SPDX-License-Identifier: GPL-2.0+ |
5b1d71372 Initial revision |
6 7 8 9 10 11 12 13 14 15 |
*/ #ifndef _HUSH_H_ #define _HUSH_H_ #define FLAG_EXIT_FROM_LOOP 1 #define FLAG_PARSE_SEMICOLON (1 << 1) /* symbol ';' is special for parser */ #define FLAG_REPARSING (1 << 2) /* >=2nd pass */ extern int u_boot_hush_start(void); |
c8a2079e4 common: add run_c... |
16 |
extern int parse_string_outer(const char *, int); |
5b1d71372 Initial revision |
17 |
extern int parse_file_outer(void); |
81473f678 hush: add showvar... |
18 19 |
int set_local_var(const char *s, int flg_export); void unset_local_var(const char *name); |
eae3b0644 common/hush: make... |
20 |
char *get_local_var(const char *s); |
81473f678 hush: add showvar... |
21 22 23 24 |
#if defined(CONFIG_HUSH_INIT_VAR) extern int hush_init_var (void); #endif |
5b1d71372 Initial revision |
25 |
#endif |