[CRIU] [PATCH 06/32] tools: cpt2 -- Add a bunch of headers needed
Cyrill Gorcunov
gorcunov at openvz.org
Sat Mar 30 17:42:44 EDT 2013
This commit adds a couple of headers which will be
needed for cpt2 tool. In particular
- bug.h -- for BUG/BUG_ON helpers
- err.h -- for pointer/error code casting
- hash.h/hashtable.h -- helpers for efficient hashing
- list.h -- list/hash-list helpers
- magicfs.h -- for superblock magic numbers
- memory.h -- for xalloc/free helpers
- types.h -- general types for cpt2 tool
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
tools/cpt2/src/include/bug.h | 24 +++
tools/cpt2/src/include/err.h | 53 +++++
tools/cpt2/src/include/hash.h | 73 +++++++
tools/cpt2/src/include/hashtable.h | 90 ++++++++
tools/cpt2/src/include/list.h | 423 +++++++++++++++++++++++++++++++++++++
tools/cpt2/src/include/magicfs.h | 35 +++
tools/cpt2/src/include/memory.h | 38 ++++
tools/cpt2/src/include/types.h | 128 +++++++++++
8 files changed, 864 insertions(+)
create mode 100644 tools/cpt2/src/include/bug.h
create mode 100644 tools/cpt2/src/include/err.h
create mode 100644 tools/cpt2/src/include/hash.h
create mode 100644 tools/cpt2/src/include/hashtable.h
create mode 100644 tools/cpt2/src/include/list.h
create mode 100644 tools/cpt2/src/include/magicfs.h
create mode 100644 tools/cpt2/src/include/memory.h
create mode 100644 tools/cpt2/src/include/types.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-tools-cpt2-Add-a-bunch-of-headers-needed.patch
Type: text/x-patch
Size: 23843 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20130331/656bf789/attachment.bin>
More information about the CRIU
mailing list