| 1264 | } |
| 1265 | |
| 1266 | void tpl_out(tpl_t *tpl, ACL_VSTREAM *out) |
| 1267 | { |
| 1268 | char *buf; |
| 1269 | int n; |
| 1270 | |
| 1271 | if (tpl == NULL) |
| 1272 | return; |
| 1273 | if (out == NULL) |
| 1274 | out = ACL_VSTREAM_OUT; |
| 1275 | |
| 1276 | n = tpl_length(tpl); |
| 1277 | if (n <= 0) |
| 1278 | return; |
| 1279 | buf = (char*) acl_mymalloc(n + 1); |
| 1280 | tpl_get_content(tpl, buf); |
| 1281 | acl_vstream_writen(out, buf, n); |
| 1282 | acl_myfree(buf); |
| 1283 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…