<div dir="ltr">FWIW it allowed me to save a bunch of code in cpt2<div><br></div><div><div>commit ea13c4f64107219d03cc847c3ff8e2617ad45d78</div><div>Author: Cyrill Gorcunov <<a href="mailto:gorcunov@openvz.org">gorcunov@openvz.org</a>></div>
<div>Date: Fri Apr 19 11:36:57 2013 +0400</div><div><br></div><div> tools: cpt2 -- Reuse image and protobuf code from crtools</div><div> </div><div> Signed-off-by: Cyrill Gorcunov <<a href="mailto:gorcunov@openvz.org">gorcunov@openvz.org</a>></div>
<div><br></div><div> tools/cpt2/src/Makefile | 2 ++</div><div> tools/cpt2/src/convert.c | 2 +-</div><div> tools/cpt2/src/image.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------------------------------------------------</div>
<div> tools/cpt2/src/include/image.h | 92 +++-----------------------------------------------------------------------------------------</div><div> tools/cpt2/src/include/protobuf.h | 64 +---------------------------------------------------------------</div>
<div> tools/cpt2/src/protobuf.c | 132 ------------------------------------------------------------------------------------------------------------------------------------</div><div> 6 files changed, 62 insertions(+), 350 deletions(-)</div>
</div></div>