You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
445 B

/*
* SPDX-License-Identifier: GPL-2.0-or-later
*
* Copyright (c) 2018 Jan Stancek <jstancek@redhat.com>
*/
#ifndef TST_SYS_CONF_H__
#define TST_SYS_CONF_H__
struct tst_sys_conf {
char path[PATH_MAX];
char value[PATH_MAX];
struct tst_sys_conf *next;
};
int tst_sys_conf_save_str(const char *path, const char *value);
int tst_sys_conf_save(const char *path);
void tst_sys_conf_restore(int verbose);
void tst_sys_conf_dump(void);
#endif