Searched refs:lws_dll (Results 1 – 6 of 6) sorted by relevance
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-dll2.h | 184 struct lws_dll { struct 185 struct lws_dll *prev; argument 186 struct lws_dll *next; argument 197 lws_dll_add_head(struct lws_dll *d, struct lws_dll *phead); 200 lws_dll_add_tail(struct lws_dll *d, struct lws_dll *phead); 203 lws_dll_insert(struct lws_dll *d, struct lws_dll *target, 204 struct lws_dll *phead, int before); 206 static LWS_INLINE struct lws_dll * 207 lws_dll_get_head(struct lws_dll *phead) { return phead->next; } in lws_dll_get_head() 209 static LWS_INLINE struct lws_dll * [all …]
|
/third_party/libwebsockets/READMEs/ |
D | README.lws_dll.md | 1 # lws_dll Doubly-linked list 5 Lws supports two kinds of doubly-linked list, `lws_dll` and `lws_dll2`. 10 ![lws_dll overview](../doc-assets/lws_dll.svg) 14 The basics are the same for lws_dll and lws_dll2. 25 ### lws_dll Minimal example 30 lws_dll list; 34 lws_dll owner; 54 If you have a `struct lws_dll *d` pointing to `list` in struct mystruct, you can 58 struct mystruct *p = lws_container_of(d, struct lws_dll, list); 85 Removing the list object from its owner (notice compared to lws_dll, it doesn't [all …]
|
D | README.lws_struct.md | 14 linked-lists of child objects automatically using [lws_dll2 linked-lists](./README.lws_dll.md)
|
/third_party/libwebsockets/lib/core/ |
D | lws_dll.c | 32 lws_dll_add_head(struct lws_dll *d, struct lws_dll *phead) in lws_dll_add_head() 61 lws_dll_add_tail(struct lws_dll *d, struct lws_dll *phead) in lws_dll_add_tail() 87 lws_dll_insert(struct lws_dll *n, struct lws_dll *target, in lws_dll_insert() 88 struct lws_dll *phead, int before) in lws_dll_insert() 185 lws_dll_remove(struct lws_dll *d) in lws_dll_remove() 210 lws_dll_remove_track_tail(struct lws_dll *d, struct lws_dll *phead) in lws_dll_remove_track_tail() 239 lws_dll_foreach_safe(struct lws_dll *phead, void *user, in lws_dll_foreach_safe() 240 int (*cb)(struct lws_dll *d, void *user)) in lws_dll_foreach_safe() 242 lws_start_foreach_dll_safe(struct lws_dll *, p, tp, phead->next) { in lws_dll_foreach_safe()
|
/third_party/libwebsockets/ |
D | libwebsockets.dox | 171 ./READMEs/README.lws_dll.md \
|
D | CMakeLists.txt | 1123 lib/core/lws_dll.c)
|