[CRIU] [PATCH 2/2] protobuf: Move protobuf definitions to own files

Cyrill Gorcunov gorcunov at openvz.org
Fri Apr 19 04:15:26 EDT 2013


In a sake of reusing protobuf code outside of crtools
code I've moved common definitions to protobuf-defs.[c|h]
files.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.crtools        |   1 +
 include/protobuf-defs.h | 122 +++++++++++++++++++++++++++++++++++++++++++++++
 include/protobuf.h      |  76 +----------------------------
 protobuf-defs.c         | 102 +++++++++++++++++++++++++++++++++++++++
 protobuf.c              | 124 ------------------------------------------------
 5 files changed, 227 insertions(+), 198 deletions(-)
 create mode 100644 include/protobuf-defs.h
 create mode 100644 protobuf-defs.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-protobuf-Move-protobuf-definitions-to-own-files.patch
Type: text/x-patch
Size: 14741 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130419/d8ae00aa/attachment-0001.bin>


More information about the CRIU mailing list