• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright (c) 2018 Jan Stancek <jstancek@redhat.com>
3  */
4 
5 #ifndef TST_SYS_CONF_H__
6 #define TST_SYS_CONF_H__
7 
8 struct tst_sys_conf {
9 	char path[PATH_MAX];
10 	char value[PATH_MAX];
11 	struct tst_sys_conf *next;
12 };
13 
14 int tst_sys_conf_save_str(const char *path, const char *value);
15 int tst_sys_conf_save(const char *path);
16 void tst_sys_conf_restore(int verbose);
17 void tst_sys_conf_dump(void);
18 
19 #endif
20