Scroll to navigation

XAddHost(3X11) XLIB FUNCTIONS XAddHost(3X11)

̾??

XAddHost, XAddHosts, XListHosts, XRemoveHost, XRemoveHosts, XSetAccessControl, XEnableAccessControl, XDisableAccessControl, XHostAddress - ?ۥ??ȤΥ????????????ȥۥ??????湽¤??

????

XAddHost(display, host)
Display *display;
XHostAddress *host;

XAddHosts(display, hosts, num_hosts)
Display *display;
XHostAddress *hosts;
int num_hosts;

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

XRemoveHost(display, host)
Display *display;
XHostAddress *host;

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

XSetAccessControl(display, mode)
Display *display;
int mode;

XEnableAccessControl(display)
Display *display;

XDisableAccessControl(display)
Display *display;

??????

X ?????Фؤ???³?????ꤹ?롣
?ɲá??????????ۥ??Ȥ? 1 ?Ļ??ꤹ?롣
?ɲá??????????ۥ??Ȥ?ʣ???Ļ??ꤹ?롣
?⡼?ɤ????ꤹ?롣 EnableAccess ???뤤?? DisableAccess ???????Ǥ??롣
???ߥ????????????ꥹ?Ȥ????äƤ????ۥ??ȿ????֤????롣
?ۥ??Ȥο??????ꤹ?롣
?????????????ξ??֤??֤????롣

????

?ؿ? XAddHost ?ϻ??ꤷ???ۥ??Ȥ??ǥ????ץ쥤?Υ????????????ꥹ?Ȥ??ɲä??롣 ?????ФΥۥ??ȤϤ??Υ??ޥ??ɤ?ȯ?Ԥ??????饤?????ȤΥۥ??Ȥ?Ʊ???Ǥʤ? ???Фʤ??ʤ????????Ǥʤ??????ϥ??顼 BadAccess ?Ȥʤ롣

XAddHost ?ϥ??顼 BadAccess, BadValue ?򵯤??????Ȥ????롣

?ؿ? XAddHosts ?ϡ????ꤷ??ʣ???ĤΥۥ??Ȥ??ǥ????ץ쥤?Υ????????????ꥹ?Ȥ??ɲä??롣 ?????ФΥۥ??Ȥϡ????Υ??ޥ??ɤ?ȯ?Ԥ??????饤?????ȤΥۥ??Ȥ?Ʊ???Ǥ? ?????Фʤ??ʤ????????Ǥʤ????硢???顼 BadAccess ?Ȥʤ롣

XAddHosts ?ϥ??顼 BadAccess, BadValue ?򵯤??????Ȥ????롣

?ؿ? XListHosts ?ϸ??ߤΥ????????????ꥹ?Ȥ??֤?????????Ʊ???ˡ???³?Υ??åȥ??å׻??? ?ꥹ?Ȥλ??Ѥ?ͭ???Ǥ??ä????ɤ??????֤??? XListHosts ???Ȥ??С??ץ????????ϤɤΥۥ??Ȥ???³??ǽ?????Τ뤳?Ȥ??Ǥ??롣 ???δؿ??ϳ??????Ƥ??ۥ??ȹ?¤?ΤΥꥹ?ȤؤΥݥ??󥿤??֤??? ?ꥹ?Ȥ????פˤʤ??С? XFree ???ȤäƤ??Υ??????ΰ??????????뤳?ȡ?

?ؿ? XRemoveHost ?ϡ????ꤷ???ۥ??Ȥ??ǥ????ץ쥤?Υ????????????ꥹ?Ȥ??????????롣 ?????Фȥ??饤?????ȥץ???????Ʊ???ۥ??Ⱦ??ˤʤ????Фʤ??ʤ????????Ǥ? ?????硢???顼 BadAccess ?Ȥʤ롣 ??ʬ?Υޥ????򥢥??????ꥹ?Ȥ????????????ȡ??????ʹߥ????Ф???³?Ǥ??? ???ʤäƤ??ޤ????????Ф??ꥻ?åȤ??ʤ??¤긵?ξ??֤??᤹???ȤϤǤ??ʤ???

XRemoveHost ?ϥ??顼 BadAccess, BadValue ?򵯤??????Ȥ????롣

?ؿ? XRemoveHosts ?ϡ????ꤷ??ʣ???ĤΥۥ??Ȥ??ǥ????ץ쥤?Υ????????????ꥹ?Ȥ??????????롣 ?????Фȥ??饤?????ȥץ???????Ʊ???ۥ??Ⱦ??ˤʤ????Фʤ??ʤ????????Ǥ? ?????硢???顼 BadAccess ?Ȥʤ롣 ??ʬ?Υޥ????򥢥??????ꥹ?Ȥ????????????ȡ??????ʹߥ????Ф???³?Ǥ??? ???ʤäƤ??ޤ????????Ф??ꥻ?åȤ??ʤ??¤긵?ξ??֤??᤹???ȤϤǤ??ʤ???

XRemoveHosts ?ϥ??顼 BadAccess, BadValue ?򵯤??????Ȥ????롣

?ؿ? XSetAccessControl ????³???????λ??ˡ??????????????ꥹ?Ȥλ??Ѥ?ͭ?????뤤??̵???ˤ??롣

XSetAccessControl ?ϥ??顼 BadAccess, BadValue ?򵯤??????Ȥ????롣

?ؿ? XEnableAccessControl ?ϡ???³???????λ??˥????????????ꥹ?Ȥλ??Ѥ?ͭ???ˤ??롣

XEnableAccessControl ?ϥ??顼 BadAccess ?򵯤??????Ȥ????롣

?ؿ? XDisableAccessControl ????³?????????˥????????????ꥹ?Ȥλ??Ѥ?̵???ˤ??롣

XDisableAccessControl ?ϥ??顼 BadAccess ?򵯤??????Ȥ????롣

??¤??

XHostAddress ??¤?Τ????Ƥ򼨤???

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


family ?????Фϡ????Ѥ????ץ??ȥ??륢?ɥ쥹?ե??ߥ?(?㤨?? TCP/IP ?? DECnet)?????ꤹ?롣???Υ????Фˤ? FamilyInternet, FamilyDECnet, FamilyChaos ?Τ????줫?????ꤹ?롣 length ?????Фϥ??ɥ쥹??Ĺ?????Х??ȿ??ǻ??ꤹ?롣 address ?????Фϥ??ɥ쥹?ؤΥݥ??󥿤????ꤹ?롣

?֤???

???饤?????Ȥ??????????ۥ???(???뤤??ǧ?????줿?ۥ???)?ʳ????饢?????? ?????ꥹ?Ȥ??ѹ????褦?Ȥ?????
???ͤ????˥ꥯ?????Ȥε????ϰϤ??ۤ??????Τ????롣?????????Ф??????????? ?Ϥ????ꤵ???ʤ??¤ꡢ???????η??????Ƥ??ϰϤ????????롣???????Ȥ??????? ???줿???????ϡ????Υ??顼?򵯤??????Ȥ????롣

??Ϣ????

XFree(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11