[CRIU] [PATCH 2/8] lib: add criu.h

Ruslan Kuprieiev kupruser at gmail.com
Wed Dec 4 02:57:25 PST 2013


Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
---
 lib/criu.h | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 lib/criu.h

diff --git a/lib/criu.h b/lib/criu.h
new file mode 100644
index 0000000..02939d3
--- /dev/null
+++ b/lib/criu.h
@@ -0,0 +1,14 @@
+#ifndef __CRIU_LIB_H__
+#define __CRIU_LIB_H__
+
+#include "rpc.pb-c.h"
+
+void criu_set_service_address(char *path);
+int criu_check(void);
+
+#define CRIU_ECONNECT	-1
+#define CRIU_EREQ	-2
+#define CRIU_ERESP	-3
+#define CRIU_ECHECK	-4
+
+#endif /* __CRIU_LIB_H__ */
-- 
1.8.1.2



More information about the CRIU mailing list