Commit 61a59fdd authored by Artem Kuzmitskiy's avatar Artem Kuzmitskiy Committed by Pavel Emelyanov

Added support linking libcriu into C++ source

This patch adds capability to using libcriu from C++ code.
Signed-off-by: 's avatarArtem Kuzmitskiy <artem.kuzmitskiy@lge.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ace699d7
......@@ -22,6 +22,10 @@
#include <stdbool.h>
#include "rpc.pb-c.h"
#ifdef __GNUG__
extern "C" {
#endif
enum criu_service_comm {
CRIU_COMM_SK,
CRIU_COMM_FD
......@@ -188,4 +192,8 @@ int criu_local_restore(criu_opts *opts);
int criu_local_restore_child(criu_opts *opts);
int criu_local_dump_iters(criu_opts *opts, int (*more)(criu_predump_info pi));
#ifdef __GNUG__
}
#endif
#endif /* __CRIU_LIB_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment