[CRIU] [PATCH 1/2] protobuf: Move descriptors definitions to own file

Cyrill Gorcunov gorcunov at openvz.org
Mon May 27 15:03:43 EDT 2013


Move protobuf object descriptors to own protobuf-desc
file(s). This allow to reuse the code in other tools.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.crtools        |   1 +
 include/protobuf-desc.h |  76 ++++++++++++++++++++++++++
 include/protobuf.h      |  70 +-----------------------
 protobuf-desc.c         | 139 ++++++++++++++++++++++++++++++++++++++++++++++++
 protobuf.c              | 127 -------------------------------------------
 5 files changed, 218 insertions(+), 195 deletions(-)
 create mode 100644 include/protobuf-desc.h
 create mode 100644 protobuf-desc.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-protobuf-Move-descriptors-definitions-to-own-file.patch
Type: text/x-patch
Size: 13962 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130527/b8799544/attachment-0001.bin>


More information about the CRIU mailing list