svn commit: samba r9373 - in branches/SAMBA_4_0/source: build/pidl/Parse/Pidl/Samba/NDR librpc/ndr

metze at samba.org metze at samba.org
Thu Aug 18 01:24:09 GMT 2005


Author: metze
Date: 2005-08-18 01:24:08 +0000 (Thu, 18 Aug 2005)
New Revision: 9373

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9373

Log:
- create a hierachical memory tree with recursiv ndr_pull_* functions
- with this it's also possible to talloc_free() the ndr_pull structure
  and talloc_steal(ndr->current_mem_ctx); to fetch the whole data of the hierachical tree
- if the toplevel struct is a valid talloc pointer it's also possible to use
  NDR_PULL_SET_MEM_CTX(ndr, mem_ctx); to the the toplevel pointer with the struct pointer

(NOTE: no callers are using this yet, but they shortly will)

metze
Modified:
   branches/SAMBA_4_0/source/build/pidl/Parse/Pidl/Samba/NDR/Parser.pm
   branches/SAMBA_4_0/source/librpc/ndr/libndr.h
   branches/SAMBA_4_0/source/librpc/ndr/ndr.c
   branches/SAMBA_4_0/source/librpc/ndr/ndr_compression.c
   branches/SAMBA_4_0/source/librpc/ndr/ndr_krb5pac.c
   branches/SAMBA_4_0/source/librpc/ndr/ndr_sec.c


Changeset:
Sorry, the patch is too large (403 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9373


More information about the samba-cvs mailing list