criu/include/cr-service.h
Ruslan Kuprieiev a1e7407397 service: move constants to cr-service-const.h
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>
2013-12-18 14:26:10 +04:00

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__ */