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

Function tok822_append

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

Source from the content-addressed store, hash-verified

125/* tok822_append - insert token list, return end of inserted list */
126
127TOK822 *tok822_append(TOK822 *t1, TOK822 *t2)
128{
129 TOK822 *next = t1->next;
130
131 t1->next = t2;
132 t2->prev = t1;
133
134 t2->owner = t1->owner;
135 while (t2->next)
136 (t2 = t2->next)->owner = t1->owner;
137
138 t2->next = next;
139 if (next)
140 next->prev = t2;
141 return (t2);
142}
143
144/* tok822_prepend - insert token list, return end of inserted list */
145

Callers 3

tok822_sub_appendFunction · 0.85
tok822_scan_limitFunction · 0.85
tok822_groupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…