>># 
>># Copyright 1990, 1991 by the Massachusetts Institute of Technology and
>># UniSoft Group Limited.
>># 
>># Permission to use, copy, modify, distribute, and sell this software and
>># its documentation for any purpose is hereby granted without fee,
>># provided that the above copyright notice appear in all copies and that
>># both that copyright notice and this permission notice appear in
>># supporting documentation, and that the names of MIT and UniSoft not be
>># used in advertising or publicity pertaining to distribution of the
>># software without specific, written prior permission.  MIT and UniSoft
>># make no representations about the suitability of this software for any
>># purpose.  It is provided "as is" without express or implied warranty.
>># 
>># $XConsortium: lsthsts.m,v 1.5 92/06/11 17:15:03 rws Exp $
>># 
>>#
>>TITLE XListHosts CH07
>>ASSERTION A XListHosts-1
A call to XListHosts returns a pointer to a list of host
structures, that can be freed with XFree, for hosts that
are in the current access control list and returns the size
of the list in nhosts_return.
>>STRATEGY
Attempt to add some hosts to the access list.
If BadAccess error:
  Note that the known address will not necessarily be in list.
Call XListHosts.
If hosts were added to the access list:
  Verify that nhosts_return is greater than or equal to number of known names.
  Verify that each known name is in the list.
Verify that nhosts_return addresses can be accessed in the return value.
Free returned value with XFree.
>>ASSERTION A XListHosts-2
A call to XListHosts returns a boolean to state_return that
is True to mean that the use of the list is enabled for
restricting the hosts that are allowed to make connections
and is False to mean that the use of the list is disabled
and that any host can connect.
>>STRATEGY
Call XListHosts.
Verify that state_return is either True or False.
