Blame view
include/cli_hush.h
667 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 |
*/ |
eca86fad3 Rename hush to cl... |
7 8 |
#ifndef _CLI_HUSH_H_ #define _CLI_HUSH_H_ |
5b1d71372 Initial revision |
9 10 11 12 13 14 |
#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... |
15 |
extern int parse_string_outer(const char *, int); |
5b1d71372 Initial revision |
16 |
extern int parse_file_outer(void); |
81473f678 hush: add showvar... |
17 18 |
int set_local_var(const char *s, int flg_export); void unset_local_var(const char *name); |
eae3b0644 common/hush: make... |
19 |
char *get_local_var(const char *s); |
81473f678 hush: add showvar... |
20 21 22 23 |
#if defined(CONFIG_HUSH_INIT_VAR) extern int hush_init_var (void); #endif |
5b1d71372 Initial revision |
24 |
#endif |