1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00
samba-mirror/source3/aparser/templates/prs_array_remainder.tpl~
Luke Leighton 5c6a7861bf cifs parser.
(This used to be commit 96fd33b8982d4d7ff1eef6f2ef836381d443b143)
2000-05-27 01:21:27 +00:00

8 lines
243 B
Smarty

{
int i;
for (i=0;ps->data_offset < ps->buffer_size;i++) {
if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*(i+1)) goto fail;
if (!io_@TYPE@("@ELEM@...", ps, depth+1, &il->@ELEM@[i], @FLAGS@)) goto fail;
}
}