mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-25 11:04:35 +00:00
Such constants as CR_MAX_MSG_SIZE and CR_DEFAULT_SERVICE_ADDRESS are need to be used in both service and lib. Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
322 B
C
13 lines
322 B
C
#ifndef __CR_SERVICE_H__
|
|
#define __CR_SERVICE_H__
|
|
|
|
#include "protobuf/rpc.pb-c.h"
|
|
|
|
extern int cr_service(bool deamon_mode);
|
|
|
|
extern 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 /* __CR_SERVICE_H__ */
|