[CRIU] [PATCH 0/3]v2 libcriu

Ruslan Kuprieiev kupruser at gmail.com
Fri Dec 6 14:48:08 PST 2013


Currently we have to ways to use criu: CLI and RPC. This patch adds one more
way -- C API. For now it is just a simple wrapper around RPC, which
will help you to avoid writting redundant code when using criu.

Ruslan Kuprieiev (3):
  makefile: add ldflags-so and rpc.pb-c.o
  lib: add check/dump/restore
  test: libcriu

 Makefile               |   1 +
 lib/Makefile           |   4 +-
 lib/criu.c             | 283 +++++++++++++++++++++++++++++++++++++++++++++++++
 lib/criu.h             |  50 +++++++++
 scripts/Makefile.build |   2 +-
 test/libcriu/Makefile  |  10 ++
 test/libcriu/loop.sh   |   4 +
 test/libcriu/run.sh    |  63 +++++++++++
 test/libcriu/test.c    |  60 +++++++++++
 9 files changed, 475 insertions(+), 2 deletions(-)
 create mode 100644 lib/criu.h
 create mode 100644 test/libcriu/Makefile
 create mode 100755 test/libcriu/loop.sh
 create mode 100755 test/libcriu/run.sh
 create mode 100644 test/libcriu/test.c

-- 
1.8.1.2



More information about the CRIU mailing list