2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

libcriu: hide struct criu_opts

Users shouldn't use it directly anyway, they should
use criu_set* fucntions for that.

Signed-off-by: Ruslan Kuprieiev <rkuprieiev@cloudlinux.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Ruslan Kuprieiev
2015-07-31 15:57:00 +03:00
committed by Pavel Emelyanov
parent 8ef257724f
commit b652b06124
2 changed files with 13 additions and 12 deletions

View File

@@ -20,6 +20,18 @@
const char *criu_lib_version = CRIU_VERSION;
struct criu_opts {
CriuOpts *rpc;
int (*notify)(char *action, criu_notify_arg_t na);
enum criu_service_comm service_comm;
union {
char *service_address;
int service_fd;
char *service_binary;
};
int swrk_pid;
};
static criu_opts *global_opts;
static int saved_errno;