[CRIU] [PATCH 0/5]v3 libcriu

Ruslan Kuprieiev kupruser at gmail.com
Tue Dec 10 10:11:39 PST 2013


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

Ruslan Kuprieiev (5):
  make: add ldflags-so variable to make engine
  make: lib -- use ldflags-so and obj-ext-src-y
  service: move constants to cr-service-const.h
  lib: add check/dump/restore
  test: libcriu

 Makefile                   |   1 +
 cr-service.c               |   7 +-
 include/cr-service-const.h |   7 ++
 include/cr-service.h       |   3 -
 lib/Makefile               |   4 +-
 lib/criu.c                 | 286 +++++++++++++++++++++++++++++++++++++++++++++
 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 ++++++++++
 12 files changed, 489 insertions(+), 8 deletions(-)
 create mode 100644 include/cr-service-const.h
 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.3.2



More information about the CRIU mailing list