[CRIU] [PATCH 12/32] tools: cpt2 -- Introduce protobuf helpers

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 30 17:42:50 EDT 2013


This patch introduces protobuf helpers which are
taken from crtools code and adopted for cpt2. It
would be great one day to have these helpers as
a library exported from crtools. For a while it's
some code duplication.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tools/cpt2/src/Makefile           |   1 +
 tools/cpt2/src/include/protobuf.h |  61 ++++++++++++
 tools/cpt2/src/protobuf.c         | 201 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 263 insertions(+)
 create mode 100644 tools/cpt2/src/include/protobuf.h
 create mode 100644 tools/cpt2/src/protobuf.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0012-tools-cpt2-Introduce-protobuf-helpers.patch
Type: text/x-patch
Size: 8500 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/2b0969c1/attachment.bin>


More information about the CRIU mailing list