summaryrefslogtreecommitdiffstats
path: root/lib/system/system.h
blob: 47c7c022aad5dcc221316f348a6b1fdc8a8c7988 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#if !defined(_PB_LIB_SYSTEM_H)
#define _PB_LIB_SYSTEM_H

struct pb_system_apps {
	const char *cp;
	const char *kexec;
	const char *mount;
	const char *sftp;
	const char *tftp;
	const char *umount;
	const char *wget;
};

extern const struct pb_system_apps pb_system_apps;

int pb_run_cmd(const char *const *cmd_argv);
int pb_mkdir_recursive(const char *dir);
int pb_rmdir_recursive(const char *base, const char *dir);

#endif
OpenPOWER on IntegriCloud