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

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


To be able to reuse image constants (definitions)
outside of crtools code I need them yank out to
own image-defs.[c|h] files.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile.crtools     |   1 +
 cr-show.c            |  10 +++++
 image-defs.c         |  77 +++++++++++++++++++++++++++++++++
 image.c              |  77 ---------------------------------
 include/cr-show.h    |  54 ++++++++++++++++++++++++
 include/crtools.h    | 117 ---------------------------------------------------
 include/image-defs.h | 105 +++++++++++++++++++++++++++++++++++++++++++++
 include/image.h      |   1 +
 8 files changed, 248 insertions(+), 194 deletions(-)
 create mode 100644 image-defs.c
 create mode 100644 include/cr-show.h
 create mode 100644 include/image-defs.h

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


More information about the CRIU mailing list