next up previous contents index
Next: mapRemoveBinding Up: Map Operations Previous: mapBind

mapResolve

   

Looks for the internal id bound to the external key in map. The resolution will be done with keySize bytes of what key points to, where keySize is the parameter that was used in the mapCreate call. If a binding is found, *id is assigned the value of the internal identifier and

XK_SUCCESS is returned. If no appropriate binding is found,

mapResolve returns XK_FAILURE. If id is NULL, only the error code is returned.

XkReturn mapResolve(Map map, void *key, void **id)



Larry Peterson
Wed Jan 10 10:40:08 MST 1996