Lines Matching refs:struct
17 macro to get a pointer to your struct that contains the list object. Doing
20 - the list object does not have to be the first thing in your struct
22 - your struct can contain multiple list objects and appear on lists belonging
28 struct mystruct {
41 struct mystruct *p;
54 If you have a `struct lws_dll *d` pointing to `list` in struct mystruct, you can
55 convert it to a `struct mystruct *p` ike this
58 struct mystruct *p = lws_container_of(d, struct lws_dll, list);
65 struct mystruct {
78 struct mystruct *p;
92 If you have a `struct lws_dll2 *d` pointing to `list` in struct mystruct, you
93 can convert it to a `struct mystruct *p` ike this
96 struct mystruct *p = lws_container_of(d, struct lws_dll2, list);
124 …t head|`void lws_dll_add_head(struct lws_dll *d, struct lws_dll *phead)`|`void lws_dll2_add_head(s…
125 … tail|`void lws_dll_add_tail(struct lws_dll *d, struct lws_dll *phead);`|`void lws_dll2_add_tail(s…
126 …oid lws_dll_remove_track_tail(struct lws_dll *d, struct lws_dll *phead)`|`void lws_dll2_add_tail(s…
127 |get owner|(not supported)|`struct lws_dll2_owner * lws_dll2_owner(const struct lws_dll2 *d)`|
128 …d from any list|`lws_dll_is_detached(struct lws_dll *d, struct lws_dll *phead)|int lws_dll2_is_det…
129 …struct lws_dll *phead, void *user, int (*cb)(struct lws_dll *d, void *user))|int lws_dll2_foreach_…