mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Adrian Reber <areber@redhat.com>
19 lines
534 B
C
19 lines
534 B
C
#ifndef __COMPEL_INFECT_RPC_H__
|
|
#define __COMPEL_INFECT_RPC_H__
|
|
|
|
#include <sys/socket.h>
|
|
#include <sys/un.h>
|
|
#include <stdint.h>
|
|
|
|
#include <common/compiler.h>
|
|
|
|
struct parasite_ctl;
|
|
extern int __must_check compel_rpc_sync(unsigned int cmd, struct parasite_ctl *ctl);
|
|
extern int __must_check compel_rpc_call(unsigned int cmd, struct parasite_ctl *ctl);
|
|
extern int __must_check compel_rpc_call_sync(unsigned int cmd, struct parasite_ctl *ctl);
|
|
extern int compel_rpc_sock(struct parasite_ctl *ctl);
|
|
|
|
#define PARASITE_USER_CMDS 64
|
|
|
|
#endif
|