2013-09-13 13:43:56 +04:00
|
|
|
#ifndef __CR_SERVICE_H__
|
|
|
|
#define __CR_SERVICE_H__
|
|
|
|
|
2013-09-13 13:44:09 +04:00
|
|
|
#include "protobuf/rpc.pb-c.h"
|
|
|
|
|
2013-11-15 14:04:48 +04:00
|
|
|
extern int cr_service(bool deamon_mode);
|
2014-06-17 21:08:49 +04:00
|
|
|
int cr_service_work(int sk);
|
2013-09-13 13:44:09 +04:00
|
|
|
|
2013-11-15 14:04:48 +04:00
|
|
|
extern int send_criu_dump_resp(int socket_fd, bool success, bool restored);
|
2013-09-13 13:44:09 +04:00
|
|
|
|
|
|
|
extern struct _cr_service_client *cr_service_client;
|
2013-09-28 06:06:53 +04:00
|
|
|
extern unsigned int service_sk_ino;
|
2013-09-13 13:43:56 +04:00
|
|
|
|
2013-11-15 14:04:45 +04:00
|
|
|
#endif /* __CR_SERVICE_H__ */
|