Blame view
include/cli_hush.h
737 Bytes
83d290c56 SPDX: Convert all... |
1 |
/* SPDX-License-Identifier: GPL-2.0+ */ |
5b1d71372 Initial revision |
2 3 4 |
/* * (C) Copyright 2001 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
5b1d71372 Initial revision |
5 |
*/ |
eca86fad3 Rename hush to cl... |
6 7 |
#ifndef _CLI_HUSH_H_ #define _CLI_HUSH_H_ |
5b1d71372 Initial revision |
8 9 10 11 |
#define FLAG_EXIT_FROM_LOOP 1 #define FLAG_PARSE_SEMICOLON (1 << 1) /* symbol ';' is special for parser */ #define FLAG_REPARSING (1 << 2) /* >=2nd pass */ |
87b6398b4 cli: hush: Adjust... |
12 13 |
#define FLAG_CONT_ON_NEWLINE (1 << 3) /* continue when we see */ |
5b1d71372 Initial revision |
14 15 |
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 |