summaryrefslogtreecommitdiff
path: root/source3/aparser/templates/prs_uint8s_fixed.tpl
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>2000-05-27 01:21:27 +0000
committerLuke Leighton <lkcl@samba.org>2000-05-27 01:21:27 +0000
commit5c6a7861bf4d371a16eb51e0f3a512e6b405d0b7 (patch)
tree243ddbe78a2340f018d1e907a5359dc1a006c7d3 /source3/aparser/templates/prs_uint8s_fixed.tpl
parenta0e1930489523b3c9682e6f90db710553cd70084 (diff)
downloadsamba-5c6a7861bf4d371a16eb51e0f3a512e6b405d0b7.tar.gz
samba-5c6a7861bf4d371a16eb51e0f3a512e6b405d0b7.tar.bz2
samba-5c6a7861bf4d371a16eb51e0f3a512e6b405d0b7.zip
cifs parser.
(This used to be commit 96fd33b8982d4d7ff1eef6f2ef836381d443b143)
Diffstat (limited to 'source3/aparser/templates/prs_uint8s_fixed.tpl')
-rw-r--r--source3/aparser/templates/prs_uint8s_fixed.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/aparser/templates/prs_uint8s_fixed.tpl b/source3/aparser/templates/prs_uint8s_fixed.tpl
new file mode 100644
index 0000000000..c8f5581130
--- /dev/null
+++ b/source3/aparser/templates/prs_uint8s_fixed.tpl
@@ -0,0 +1,2 @@
+ if (!io_alloc("@ELEM@", ps, (void **)&il->@ELEM@, sizeof(*(il->@ELEM@))*@ARRAY_LEN@)) goto fail;
+ if (!io_uint8s("@ELEM@", ps, depth+1, il->@ELEM@, @ARRAY_LEN@, @FLAGS@)) goto fail;