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:
committed by
Pavel Emelyanov
parent
8ef257724f
commit
b652b06124
12
lib/criu.c
12
lib/criu.c
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user