XListHosts man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

XListHosts()							  XListHosts()

Name
  XListHosts – obtain a list of hosts having access to this display.

Synopsis
  XHostAddress *XListHosts(display, nhosts_return, state_return)
	Display *display;
	int *nhosts_return;
	Bool *state_return;

Arguments
  display   Specifies	a  connection  to  an  X  server;  returned  from
	    XOpenDisplay().

  nhosts_return
	    Returns the number of hosts currently in the  access  control
	    list.

  state_return
	    Returns  whether  the  access control list is currently being
	    used by the server to process new  connection  requests  from
	    clients.  True if enabled, False if disabled.

Returns
  The list of structures describing each host.

Description
  XListHosts() returns the current access control list as well as whether
  the use of the list is enabled or disabled.  XListHosts() allows a pro‐
  gram	to  find out what machines make connections, by looking at a list
  of host structures.  This XHostAddress list should be freed when it  is
  no longer needed.

  For  more  information on access control lists, see Volume One, Chapter
  13, Other Programming Techniques.

Structures
     typedef struct {
	 int family;
	 int length;
	 char *address;
     } XHostAddress;

See Also
  XAddHost(),  XAddHosts(),  XDisableAccessControl(),	XEnableAccessCon‐
  trol(), XRemoveHost(), XRemoveHosts(), XSetAccessControl().

Xlib - Host Access						  XListHosts()
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net