Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

NAME

XDeleteAssoc − delete an entry from an association table. 

Synopsis

XDeleteAssoc(display, table, x_id)
Display *display;
XAssocTable *table;
XID x_id;

Arguments

displaySpecifies a connection to an X server; returned from XOpenDisplay(). 

tableSpecifies one of the association tables created by XCreateAssoc­Table. 

x_idSpecifies the X resource ID of the association to be deleted. 

Description

This function is provided for compatibility with X Version 10.  To use it you must include the file <X11/X10.h> and link with the library -loldX.  XDeleteAssoc() deletes an association in an XAssocTable keyed on its XID.  Redundant deletes (and deletes of nonexistent XID’s) are meaningless and cause no problems.  Deleting associations in no way impairs the performance of an XAssocTable.  For more information on association tables, see Volume One, Appendix B, X10 Compatibility. 

Structures

typedef struct {
XAssoc *buckets;/* pointer to first bucket in array */
int size;/* table size (number of buckets) */
} XAssocTable;

See Also

XCreateAssocTable(), XDestroyAssocTable(), XLookUpAssoc(), XMakeAssoc(). 

Copyright O’Reilly & Assoc.  —  

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026