internal:
	xlibconvert
	debugxlib [ but exported anyway ]
	xpack [ only used in x_open_display ]
	split_display [ could export... ]
	next_resource_id
	extend_queue
	skipevent
	xqueueconvert
	x_real_put_image
network:
	mkport
	mkport_unix
	serverprint
other:
	min
meta:
	x_washwindow
	x_get_one
	x_reply
	x_iter_raw
	x_iter
	genvec
	genvec2
	genvecstr
	xpoly1
	xpoly2
	x_ungrab
exported:
	handle_event
	xdebugdisplay [but only for xdpyinfo?]
xlib::
	default::
		root		defaultroot
		rootdepth	defaultrootdepth
	window::
		destroy		x_destroywindow
		destroysubs	x_destroysubwindows
		map		x_mapwindow
		mapsubs		x_mapsubwindows
		unmap		x_unmapwindow
		unmapsubs	x_unmapsubwindows
		configure	x_configurewindow
		getgeometry	x_get_geometry
		reparent	x_reparentwindow
		circulate	x_circulatewindow
		create		x_create_window
		list		x_querytree
		set_background_pixmap	x_set_window_background_pixmap
		attributes::
			get		x_get_window_attributes
			change		x_change_window_attributes
		clear		x_clear_area
		saveset		x_changesaveset
		translate	TranslateCoords [pending]
	pixmap::
		create		x_create_pixmap
		copyarea	CopyArea [pending]
		copyplane	CopyPlane [pending]
	image::
		put		x_put_image
		get		GetImage [pending]
		free		FreePixmap [pending]
	poly::
		arcs		xpolyarcs
		fillarcs	xpolyfillarcs
		rects		xpolyrects
		fillrects	xpolyfillrects
		segments	xpolysegments
		points		xpolypoints
		lines		xpolylines
		fill		FillPoly [pending]
	selection::
		setowner	xsetselectionowner
		getowner	xgetselectionowner
		convert		xconvertselection
	property::
		change		x_changeproperty
		delete		x_deleteproperty
		get		x_getproperty
		list		x_listproperties
		rotate		RotateProperties [pending]
	font::
		getpath		x_getfontpath
		setpath		SetFontPath [pending]
		list		x_listfonts
		close		CloseFont [pending]
		query		QueryFont [pending]
		queryextents	QueryTextExtents [pending]
		open		x_openfont
	text::
		poly8		PolyText8 [pending]
		poly16		PolyText16 [pending]
		image8		x_imagetext8
		image16		ImageText16 [pending]
	atom::
		getname		x_getatomname
		intern		x_internatom
	pointer::
		grab		xgrabpointer
		ungrab		xungrabpointer
		changegrab	xchangeactivepointergrab
		query		xquerypointer
		getmapping	x_get_pointer_mapping
		setmapping	SetPointerMapping [pending]
		warp		WarpPointer [pending]
		getcontrol	GetPointerControl [pending]
		changecontrol	ChangePointerControl [pending]
	GC::
		free		FreeGC [pending]
		change		ChangeGC [pending]
		copy		CopyGC [pending]
		create		x_create_gc
		setdashes	SetDashes [pending]
		setcliprects	SetClipRectangles [pending]
	colormap::
		create		CreateColormap [pending]
		free		FreeColormap [pending]
		copyandfree	CopyColormapAndFree [pending]
		install		InstallColormap [pending]
		uninstall	UninstallColormap [pending]
		listinstalled	ListInstalledColormaps [pending]
	color::
		# may use a hash, or at least combine allocs
		alloc		AllocColor [pending]
		allocnamed	AllocNamedColor [pending]
		alloccells	AllocColorCells [pending]
		allocplanes	AllocColorPlanes [pending]
		free		FreeColors [pending]
		store		StoreColors [pending]
		storenamed	StoreNamedColor [pending]
		query		QueryColors [pending]
		lookup		LookupColor [pending]
	cursor::
		create		CreateCursor [pending]
		createglyph	CreateGlyphCursor [pending]
		free		FreeCursor [pending]
		recolor		RecolorCursor [pending]
		bestize		QueryBestSize [pending]
	access::
		change		ChangeHosts [pending]
		list		ListHosts [pending]
		set		SetAccessControl [pending]
	screensaver::
		set		SetScreenSaver [pending]
		get		GetScreenSaver [pending]
		force		ForceScreenSaver [pending]
	key::
		grab		xgrabkeyboard
		grab		xgrabkey
		grab		xgrabbutton
		ungrab		xungrabkeyboard
		ungrab		xungrabbutton
		ungrab		xungrabkey
		getmapping	x_get_keyboard_mapping
		getmapping	x_get_modifier_mapping
		setmapping	SetModifierMapping [pending]
		getcontrol	x_get_keyboard_control
		getfocus	x_get_input_focus
		setfocus	SetInputFocus [pending]
		getmotion	GetMotionEvents [pending]
		changemapping	ChangeKeyboardMapping [pending]
		changecontrol	ChangeKeyboardControl [pending]
		query		QueryKeymap [pending]
		beep		x_beep
	connection::
		setmode		SetCloseDownMode [pending]
		kill		KillClient [pending]
		open		x_open_display
		close		x_closedisplay
		grab		xgrabserver
		ungrab		xungrabserver
	extensions::
		list		x_listextensions
		query		QueryExtension [pending]
	event::
		xsendevent
		xallowevents


