Lines Matching refs:cur
72 xcb_property_handler_node_t *cur;
74 for(cur = prophs->head; cur; cur = cur->next)
75 if(cur->name == atom)
76 return call_handler(c, state, window, atom, &cur->h);
122 set_prop_handler(xcb_property_handler_t *cur, uint32_t long_len, xcb_generic_property_handler_t handler, void *data)
124 cur->long_len = long_len;
125 cur->handler = handler;
126 cur->data = data;
132 xcb_property_handler_node_t *cur = malloc(sizeof(xcb_property_handler_node_t));
133 if(!cur)
135 cur->next = prophs->head;
136 cur->name = name;
137 set_prop_handler(&cur->h, long_len, handler, data);
138 prophs->head = cur;