Register atexit function to close loaded library.
Check if avahi is installed on the machine while running configure.
Use generic linked list for storing information about found hosts.
Check if two hosts found have the same hostname.
General code cleanup.

Remove unused function isIPv6.

Remove unused structure.

Fix definition of HostProperties structure.

Move PrintList function to public header.

Remove unused definitions of functions.

Replace printf functions with CfOut.

Fix indentation.

Remove error string from CfOut messages.

Remove unused variable 'tried'.

Change output type from cf_inform to cf_reporting.

Code cleanup.