[CRIU] [PATCH 2/2] image: Move image descriptors to own files
Cyrill Gorcunov
gorcunov at openvz.org
Mon May 27 15:03:44 EDT 2013
Move image object descriptors to own image-desc
file(s). This allow to reuse the code in other tools.
I had to move show declarations to cr-show.h as well.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
Makefile.crtools | 1 +
image-desc.c | 82 ++++++++++++++++++++++++++++++++++++
image.c | 81 +-----------------------------------
include/cr-show.h | 54 ++++++++++++++++++++++++
include/crtools.h | 115 +--------------------------------------------------
include/image-desc.h | 93 +++++++++++++++++++++++++++++++++++++++++
include/image.h | 1 +
7 files changed, 234 insertions(+), 193 deletions(-)
create mode 100644 image-desc.c
create mode 100644 include/cr-show.h
create mode 100644 include/image-desc.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-image-Move-image-descriptors-to-own-files.patch
Type: text/x-patch
Size: 14026 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130527/f6dde37f/attachment-0001.bin>
More information about the CRIU
mailing list