_X_A_d_d_H_o_s_t can generate _B_a_d_A_c_c_e_s_s and _B_a_d_V_a_l_u_e errors.
The _X_A_d_d_H_o_s_t_s function adds each specified host to the access control list for that display. The server must be on the same host as the client issuing the command, or a _B_a_d_A_c_c_e_s_s error results.
_X_A_d_d_H_o_s_t_s can generate _B_a_d_A_c_c_e_s_s and _B_a_d_V_a_l_u_e errors.
The _X_L_i_s_t_H_o_s_t_s function returns the current access control list as well as whether the use of the list at connection setup was enabled or disabled. _X_L_i_s_t_H_o_s_t_s allows a program to find out what machines can make connections. It also returns a pointer to a list of host structures that were allocated by the function. When no longer needed, this memory should be freed by calling _X_F_r_e_e.
The _X_R_e_m_o_v_e_H_o_s_t function removes the specified host from the access control list for that display. The server must be on the same host as the client process, or a _B_a_d_A_c_c_e_s_s error results. If you remove your machine from the access list, you can no longer connect to that server, and this operation cannot be reversed unless you reset the server.
_X_R_e_m_o_v_e_H_o_s_t can generate _B_a_d_A_c_c_e_s_s and _B_a_d_V_a_l_u_e errors.
The _X_R_e_m_o_v_e_H_o_s_t_s function removes each specified host from the access control list for that display. The X server must be on the same host as the client process, or a _B_a_d_A_c_c_e_s_s error results. If you remove your machine from the access list, you can no longer connect to that server, and this operation cannot be reversed unless you reset the server.
_X_R_e_m_o_v_e_H_o_s_t_s can generate _B_a_d_A_c_c_e_s_s and _B_a_d_V_a_l_u_e errors.
The _X_S_e_t_A_c_c_e_s_s_C_o_n_t_r_o_l function either enables or disables the use of the access control list at each connection setup.
_X_S_e_t_A_c_c_e_s_s_C_o_n_t_r_o_l can generate _B_a_d_A_c_c_e_s_s and _B_a_d_V_a_l_u_e errors.
The _X_E_n_a_b_l_e_A_c_c_e_s_s_C_o_n_t_r_o_l function enables the use of the access control list at each connection setup.
_X_E_n_a_b_l_e_A_c_c_e_s_s_C_o_n_t_r_o_l can generate a _B_a_d_A_c_c_e_s_s error.
The _X_D_i_s_a_b_l_e_A_c_c_e_s_s_C_o_n_t_r_o_l function disables the use of the access control list at each connection setup.
_X_D_i_s_a_b_l_e_A_c_c_e_s_s_C_o_n_t_r_o_l can generate a _B_a_d_A_c_c_e_s_s error.
typedef struct { int family; /* for example FamilyInternet */ int length; /* length of address, in bytes */ char *address; /* pointer to where to find the address */ } XHostAddress;
The family member specifies which protocol address family to use (for example, TCP/IP or DECnet) and can be _F_a_m_i_l_y_I_n_t_e_r_n_e_t, _F_a_m_i_l_y_D_E_C_n_e_t, or _F_a_m_i_l_y_C_h_a_o_s. The length member specifies the length of the address in bytes. The address member specifies a pointer to the address.