vzlist: put similar print_ functions in a macro

Functions print_name(), print_hostname() and print_description()
are all monozygotic twins. Create a macro to generate those.

While at it, move these functions plus print_ip up in the source
file so we no longer need prototypes.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed