Commit 714c27fc authored by Deyan Doychev's avatar Deyan Doychev Committed by Pavel Emelyanov

libcriu: Add criu_set_root to the interface.

This function implements the --root command line option in libcriu.
Signed-off-by: 's avatarDeyan Doychev <deyandoichev@gmail.com>
Reviewed-by: 's avatarRuslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3844cb9b
......@@ -99,6 +99,11 @@ void criu_set_log_level(int log_level)
opts->log_level = log_level;
}
void criu_set_root(char *root)
{
opts->root = strdup(root);
}
void criu_set_log_file(char *log_file)
{
opts->log_file = strdup(log_file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment