[CRIU] [PATCH 05/32] tools: cpt2 - Add bare entry routine

Cyrill Gorcunov gorcunov at openvz.org
Sat Mar 30 17:42:43 EDT 2013


Introduce main() routine which does nothing but
reports "usage message" if no command line option
provided.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tools/cpt2/src/Makefile           |   7 ++
 tools/cpt2/src/include/compiler.h | 143 ++++++++++++++++++++++++++++++++++++++
 tools/cpt2/src/include/cpt2.h     |  17 +++++
 tools/cpt2/src/include/log.h      |  54 ++++++++++++++
 tools/cpt2/src/main.c             |  78 +++++++++++++++++++++
 5 files changed, 299 insertions(+)
 create mode 100644 tools/cpt2/src/Makefile
 create mode 100644 tools/cpt2/src/include/compiler.h
 create mode 100644 tools/cpt2/src/include/cpt2.h
 create mode 100644 tools/cpt2/src/include/log.h
 create mode 100644 tools/cpt2/src/main.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-tools-cpt2-Add-bare-entry-routine.patch
Type: text/x-patch
Size: 8318 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/d7e867f6/attachment.bin>


More information about the CRIU mailing list