XRemoveHosB 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]

XRemoveHosts()							XRemoveHosts()

Name
  XRemoveHosts – remove multiple hosts from the access control list.

Synopsis
  XRemoveHosts(display, hosts, num_hosts)
	Display *display;
	XHostAddress *hosts;
	int num_hosts;

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

  hosts	    Specifies the list of hosts that are to be removed.

  num_hosts Specifies the number of hosts that are to be removed.

Description
  XRemoveHosts() removes each specified host from the access control list
  of  the  connected  server.  The server must be on the same host as the
  process that call XRemoveHosts(), in order to change the access control
  list.

  If  you  remove  your	 machine from the access control list, you can no
  longer connect to that server, and there is no way back from this  call
  except to log out, edit the access control file, and reset the server.

  The  address	data  must  be a valid address for the type of network in
  which the server operates, as specified in the family member.

  For TCP/IP, the address should be in network byte order.  For the  DEC‐
  net  family,	the  server performs no automatic swapping on the address
  bytes.  A Phase IV address is two bytes long.	 The first byte	 contains
  the  least  significant eight bits of the node number.  The second byte
  contains the most significant two bits of the node number in the  least
  significant  two bits of the byte, and the area in the most significant
  six bits of the byte.

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

Structures
     typedef struct {
	 int family;	    /* for example Family Internet */
	 int length;	    /* length of address, in bytes */
	 char *address;	    /* pointer to where to find the bytes */
     } XHostAddress;

     /* constants used for family member of XHostAddress */
     #define FamilyInternet	 0
     #define FamilyDECnet	 1
     #define FamilyChaos	 2

Errors
  BadAccess
  BadValue

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

Xlib - Host Access						XRemoveHosts()
[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