mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 09:58:09 +00:00
Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Adrian Reber <areber@redhat.com>
26 lines
682 B
C
26 lines
682 B
C
#ifndef COMPEL_PLUGIN_STD_INFECT_H__
|
|
#define COMPEL_PLUGIN_STD_INFECT_H__
|
|
|
|
#include "common/compiler.h"
|
|
|
|
extern int parasite_get_rpc_sock(void);
|
|
|
|
extern unsigned int __export_parasite_service_cmd;
|
|
extern void *__export_parasite_service_args_ptr;
|
|
extern int __must_check parasite_service(void);
|
|
|
|
/*
|
|
* Must be supplied by user plugins.
|
|
*/
|
|
extern int __must_check parasite_daemon_cmd(int cmd, void *args);
|
|
extern int __must_check parasite_trap_cmd(int cmd, void *args);
|
|
extern void parasite_cleanup(void);
|
|
|
|
/*
|
|
* FIXME: Should be supplied by log module.
|
|
*/
|
|
extern void log_set_fd(int fd);
|
|
extern void log_set_loglevel(unsigned int level);
|
|
|
|
#endif /* COMPEL_PLUGIN_STD_INFECT_H__ */
|