Home
last modified time | relevance | path

Searched refs:env_opts (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/tools/env/
Dfw_env_main.c54 static struct env_opts env_opts; variable
119 env_opts.config_file = CONFIG_FILE; in parse_common_args()
127 env_opts.config_file = optarg; in parse_common_args()
131 env_opts.lockname = optarg; in parse_common_args()
240 if (env_opts.lockname) { in main()
241 lockname = malloc(strlen(env_opts.lockname) + in main()
249 env_opts.lockname, CMD_PRINTENV); in main()
265 if (fw_printenv(argc, argv, noheader, &env_opts) != 0) in main()
269 if (fw_env_set(argc, argv, &env_opts) != 0) in main()
272 if (fw_parse_script(script_file, &env_opts) != 0) in main()
[all …]
Dfw_env.h16 struct env_opts { struct
38 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts); argument
58 int fw_env_set(int argc, char *argv[], struct env_opts *opts);
95 int fw_parse_script(char *fname, struct env_opts *opts);
106 int fw_env_open(struct env_opts *opts);
142 int fw_env_flush(struct env_opts *opts);
152 int fw_env_close(struct env_opts *opts);
Dfw_env.c43 struct env_opts default_opts = {
351 static int parse_config(struct env_opts *opts);
449 int fw_printenv(int argc, char *argv[], int value_only, struct env_opts *opts) in fw_printenv()
506 int fw_env_flush(struct env_opts *opts) in fw_env_flush()
655 int fw_env_set(int argc, char *argv[], struct env_opts *opts) in fw_env_set()
737 int fw_parse_script(char *fname, struct env_opts *opts) in fw_parse_script()
1384 int fw_env_open(struct env_opts *opts) in fw_env_open()
1577 int fw_env_close(struct env_opts *opts) in fw_env_close()
1688 static int parse_config(struct env_opts *opts) in parse_config()