mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 02:58:54 +00:00
This is where such stuff is typically placed. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
16 lines
378 B
C
16 lines
378 B
C
#ifndef __CR_SERVICE_H__
|
|
#define __CR_SERVICE_H__
|
|
|
|
#include "protobuf/rpc.pb-c.h"
|
|
|
|
#define CR_DEFAULT_SERVICE_ADDRESS "/var/run/criu_service.socket"
|
|
#define MAX_MSG_SIZE 1024
|
|
|
|
int cr_service(bool deamon_mode);
|
|
|
|
int send_criu_dump_resp(int socket_fd, bool success, bool restored);
|
|
|
|
extern struct _cr_service_client *cr_service_client;
|
|
extern unsigned int service_sk_ino;
|
|
|
|
#endif
|