MCPcopy Create free account
hub / github.com/acl-dev/acl / tok822_sub_append

Function tok822_sub_append

lib_acl_cpp/src/mime/internal/tok822_tree.cpp:206–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204/* tok822_sub_append - append sublist, return end of appended list */
205
206TOK822 *tok822_sub_append(TOK822 *t1, TOK822 *t2)
207{
208 if (t1->head) {
209 return (t1->tail = tok822_append(t1->tail, t2));
210 } else {
211 t1->head = t2;
212 while (t2->next)
213 (t2 = t2->next)->owner = t1;
214 return (t1->tail = t2);
215 }
216}
217
218/* tok822_sub_prepend - prepend sublist, return end of prepended list */
219

Callers 1

tok822_groupFunction · 0.85

Calls 1

tok822_appendFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…