summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr.c
AgeCommit message (Collapse)AuthorFilesLines
2008-10-13Share ndr.c implementation.Jelmer Vernooij1-1117/+0
2008-10-13Import warning fixes from Samba 3.Jelmer Vernooij1-8/+22
2008-10-11Fix include paths to new location of libutil.Jelmer Vernooij1-1/+1
2008-08-20librpc/ndr: add support for Type Serialization Version 1 to subcontextStefan Metzmacher1-1/+114
We use the header size 0xFFFFFC01 as magic for constructed types. See [MS-RPCE] 2.2.6 Type Serialization Version 1 for more details. metze (This used to be commit 98d3568f079ea143214bcf5271b636313d6491c3)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-4/+4
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-11/+14
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-3/+2
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26432: Require ndr_pull users to specify iconv_convenience.Jelmer Vernooij1-6/+6
(This used to be commit 28b1d36551b75241c1cf9fca5d74f45a6dc884ab)
2007-12-21r26431: Require ndr_push creators to specify a iconv_convenience context.Jelmer Vernooij1-7/+7
(This used to be commit 7352206f4450fdf881b95bda064cedd9d2477e4c)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-2/+3
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26427: Avoid global_smb_iconv_convenience.Jelmer Vernooij1-0/+3
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21r26054: ndr: remove ndr_push/pull_saveStefan Metzmacher1-15/+0
Using a uint32_t offset is all we need metze (This used to be commit 2c06b48a858016f9329dcd73231fb3c7b711a918)
2007-12-21r26050: ndr: don't use ndr_push_save anymoreStefan Metzmacher1-7/+7
metze (This used to be commit a682fbb5af1ca02068fdef9ed9a4dd7b0201d88c)
2007-12-21r25917: ndr: move ndr_map_error2ntstatus to errormap.cStefan Metzmacher1-25/+0
metze (This used to be commit 8fc2e7737fc15f7265816f077e2a48a7a98f75b8)
2007-12-21r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)Stefan Metzmacher1-74/+76
librpc/ndr/ metze (This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)
2007-12-21r25907: use DEBUGADD() to match samba3Stefan Metzmacher1-2/+2
metze (This used to be commit d2deefb551ffed5134e31473a3140ec7416cf389)
2007-12-21r25905: use data_blob_const() to set the DATA_BLOBStefan Metzmacher1-2/+1
metze (This used to be commit f3393a731683be3f8664f715dceee0c9fcef4ede)
2007-12-21r25798: - check return value of ndr_push_set_switch_value()Stefan Metzmacher1-1/+8
- fix memory leaks in error pathes metze (This used to be commit 667e83fd78293942c61d141dfe0d90e662768380)
2007-12-21r25797: use error and out logicStefan Metzmacher1-2/+6
metze (This used to be commit d03965d36e18dd524076e48e5a315747a00b807b)
2007-12-21r25796: use NT_STATUS_HAVE_NO_MEMORY()Stefan Metzmacher1-3/+1
metze (This used to be commit 43ef3d9dac5db1865b863c8c4a24c39167e7d2bc)
2007-12-21r25793: check the return value of ndr_push_set_switch_value()Stefan Metzmacher1-1/+1
metze (This used to be commit a85e687e588a7c7e2abb7416631b8815fbae1f58)
2007-12-21r25792: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK()Stefan Metzmacher1-16/+6
metze (This used to be commit eebc17b27a6d6467546a1f070d5233f6c1755f47)
2007-12-21r25779: the return value of ndr_pull_set_switch_value() should be checkedStefan Metzmacher1-2/+2
metze (This used to be commit 30a829a3596eacc126704904aedbdc1732011411)
2007-12-21r25778: use NT_STATUS_HAVE_NO_MEMORY() and NDR_CHECK() macrosStefan Metzmacher1-22/+10
metze (This used to be commit 99dc12079762ab5b8ceea989cc8fa48ccf084863)
2007-12-21r25777: add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directlyStefan Metzmacher1-2/+8
metze (This used to be commit 757d547696b1f2903429cfa831c2b0922ab6d2fc)
2007-12-21r25774: create ndr_pull_union_blob_all() and match the logic of the struct fnsStefan Metzmacher1-4/+20
metze (This used to be commit 987deeff55236e2800f8690a5584ff8f7589114e)
2007-12-21r25744: add NDR_ERR_INVALID_POINTERStefan Metzmacher1-0/+2
metze (This used to be commit a75a59370814c02efffbb89e014df75f5a32c04b)
2007-10-10r25316: Remove last few instances of old BOOL type in librpc/.Jelmer Vernooij1-3/+3
(This used to be commit 80d1dd41d4b224c46ad545f0afd97a847b99860b)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-3/+3
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-6/+9
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher1-2/+2
and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r21814: use ndr_push_error in the ndr layer, not just a NTSTATUS failureAndrew Tridgell1-1/+2
(This used to be commit 37aa32e2fe4829ec467c606cfcc7485508a2682c)
2007-10-10r21812: fixed an integer overflow error in the ndr push code.Andrew Tridgell1-2/+9
This needs to be fixed in Samba3 as well. It might be exploitable (I haven't confirmed one way or the other), so I think this should be fixed for 3.0.25 (This used to be commit 4766175ff2d0de8af92046e29280c7893ac8fe1f)
2007-10-10r21389: give a better error when our parser hasn't consumed all dataStefan Metzmacher1-2/+2
metze (This used to be commit 03b06398a405e491ce4e2bc91513a57e0d59466f)
2007-10-10r20963: remove unused functions, run LOCAL-TDR by defaultJelmer Vernooij1-14/+0
(This used to be commit 0f34c67fff53d5bd3c1b5a5618190ad7154e8d07)
2007-10-10r19341: ndr_push_union_blob() needs the same fix as ndr_push_struct_blob()Stefan Metzmacher1-0/+2
metze (This used to be commit 5c766ad48d0790b7ae865408fd0dbdb1769da2d8)
2007-10-10r19326: don't leak a ndr_push structure on ndr_push_struct_blob()Andrew Tridgell1-0/+2
(This used to be commit 9817cc235c5fd787855c60fa58f68b14f78cdb94)
2007-10-10r17930: Merge noinclude branch:Jelmer Vernooij1-1/+1
* Move dlinklist.h, smb.h to subsystem-specific directories * Clean up ads.h and move what is left of it to dsdb/ (only place where it's used) (This used to be commit f7afa1cb77f3cfa7020b57de12e6003db7cfcc42)
2007-10-10r15629: fix some warningsStefan Metzmacher1-1/+1
metze (This used to be commit 803a602990b78eaec7b674ef3214b8ccea6a98f3)
2007-10-10r15624: add some useful helper functionsStefan Metzmacher1-0/+48
metze (This used to be commit 8fa6059100d1f6e235bacc722a83a961e460ebb2)
2007-10-10r15427: Rename private to private_data to prevent errors from C++ errors (whichJelmer Vernooij1-6/+6
we care about in Samba3) (This used to be commit eb07aea711a5e3606e169d77b208b03bd876c639)
2007-10-10r14642: fix shadow warningsStefan Metzmacher1-9/+12
metze (This used to be commit 09850fd13334667a2a7a7b6ee24fa3379c67825a)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+2
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r13840: Mark some functions as public.Jelmer Vernooij1-57/+57
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
2007-10-10r12856: make the logic much more saneStefan Metzmacher1-3/+7
metze (This used to be commit ed4a3e53fd71679fbdfc2f2932c1098e03026285)
2007-10-10r12803: if we free the ndr structure how should we access the private ↵Stefan Metzmacher1-1/+3
pointer anymore? thanks valgrind! metze (This used to be commit ab58decf8248f3923703fabdaab697f1a8d116c8)
2007-10-10r12634: make the [validate] binding string switch also check to see if theAndrew Tridgell1-0/+36
string form of the structure we receive matches the generated form. This has the effect of checking things like value() attributes. (This used to be commit f2e68ec649658976e5bf4887713a92c14850c277)
2007-10-10r12513: Similar change as my previous commit, but now for transfer syntaxes.Jelmer Vernooij1-0/+11
Avoids converting a static string to GUID every time we check whether a transfer syntax is equal to that of NDR. (This used to be commit 8dcfcaf75ab8cf4a54cf5e56f6be25acc68e3989)
2007-10-10r10141: if some of the LIBNDR_ALIGN_* flags and LIBNDR_FLAG_REMAINING are set,Stefan Metzmacher1-0/+6
ndr_pull_data_blob() doesn't work correct. so make them exclute each other. jelmer, tridge: does that look correct? it fixes a problem, abartlet had with krb5pac.idl, where the align flags are inherited from the parent, and we want to get the [flag(NDR_REMAINING)] DATA_BLOB signature; metze (This used to be commit b9ea3e8f9f85098b63081bf12e2be65687921874)