diff options
| author | Stefan Metzmacher <metze@samba.org> | 2013-09-21 02:28:33 +0200 |
|---|---|---|
| committer | Günther Deschner <gd@samba.org> | 2014-02-11 16:02:14 +0100 |
| commit | 7b5717058a7d7a93cda712efc7622a87d3980e48 (patch) | |
| tree | ea4513ddd3e01089168bea938ff65bbc691095ad /python | |
| parent | 53e0ceddff7a4e668242a2db53764fa962c71163 (diff) | |
| download | samba-7b5717058a7d7a93cda712efc7622a87d3980e48.tar.gz samba-7b5717058a7d7a93cda712efc7622a87d3980e48.tar.xz samba-7b5717058a7d7a93cda712efc7622a87d3980e48.zip | |
librpc/ndr: add ndr_pull_append/pop()
They can be used to parse a fragmented NDR byte stream.
ndr_pull_append() appends more data that can be processed
and ndr_pull_pop() removed already processed data.
This will be used to implement dcerpc pipes, where we can get
a verify large amount of pipe chunks, once we processed a chunk
we can forget about the related data, but we may need to keep some
bytes in order to get the alignment right.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions
