summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/libndr.h
AgeCommit message (Collapse)AuthorFilesLines
2008-10-15Share libndr.h between Samba 3 and Samba 4.Jelmer Vernooij1-517/+0
2008-10-13Import debug macros from Samba 3's libndr.Jelmer Vernooij1-0/+8
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-1/+1
Conflicts: source4/Makefile
2008-09-18Import ndr_syntax_id_equal from Samba 3.Jelmer Vernooij1-0/+1
2008-04-17libndr: add dom_sid0 type that can later be used for CLDAP and MAILSLOT ↵Stefan Metzmacher1-0/+4
ntlogon packets metze (This used to be commit 690c12cd2afd0fba626576fbae3f28ffdae63be2)
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij1-2/+164
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-01Add warning to public headers.Jelmer Vernooij1-0/+5
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
2008-02-12librpc: remove special support for fixed length stringsStefan Metzmacher1-2/+0
Fixed arrays with the charset() attribute do the same metze (This used to be commit 9620b86e96e8065c0ff6db0d95130ab53581d468)
2007-12-21r26427: Avoid global_smb_iconv_convenience.Jelmer Vernooij1-0/+4
(This used to be commit bf072c6fb37b3e6a71c0c747b9fbeaa01480229e)
2007-12-21r26054: ndr: remove ndr_push/pull_saveStefan Metzmacher1-12/+0
Using a uint32_t offset is all we need metze (This used to be commit 2c06b48a858016f9329dcd73231fb3c7b711a918)
2007-12-21r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)Stefan Metzmacher1-12/+22
librpc/ndr/ metze (This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)
2007-12-21r25806: let libndr.h include needed stuff and remove pidl magicStefan Metzmacher1-2/+2
for choosing common required headers metze (This used to be commit c97fe5b54c0da68c7e71ea79678fa6348ecdaab9)
2007-12-21r25777: add NDR_ERR_UNREAD_BYTES and don't use NTSTATUS directlyStefan Metzmacher1-1/+2
metze (This used to be commit 757d547696b1f2903429cfa831c2b0922ab6d2fc)
2007-12-21r25744: add NDR_ERR_INVALID_POINTERStefan Metzmacher1-1/+2
metze (This used to be commit a75a59370814c02efffbb89e014df75f5a32c04b)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij1-1/+1
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25516: Sorry, I reverted too much of r25448 in r25515.Michael Adam1-0/+1
These two fixes should have remained! Thanks to Metze for pointing this out. Michael (This used to be commit 294b2bf593445a79c500f02569f10ff72e1d6933)
2007-10-10r25515: Revert r25448:Michael Adam1-1/+0
Immediate structures are *not* supportet by the native C compiler at least on Solaris, Tru64 and HP-UX. Michael (This used to be commit 6d07e29de2a7e535139622fa688b407da232c816)
2007-10-10r25448: Remove IMMEDIATE_STRUCTURES define, which was used for splint. Newer ↵Jelmer Vernooij1-0/+1
versions of splint support immediate structures just fine. (This used to be commit d54a47ecdc418ee07c9479f519bd1a207e6ba3eb)
2007-10-10r25301: Merge my includes.h cleanups.Jelmer Vernooij1-1/+1
(This used to be commit 37425495f392a2d0122a93aa2c42758eab7dab5a)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij1-0/+2
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-1/+1
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24814: Fix headers, trim core.h even more.Jelmer Vernooij1-2/+2
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-1/+1
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24551: rename dcerpc_interface_table -> ndr_interface_tableStefan Metzmacher1-0/+15
rename dcerpc_interface_list -> ndr_interface_list and move them to libndr.h metze (This used to be commit 4adbebef5df2f833d2d4bfcdda72a34179d52f5c)
2007-10-10r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_listStefan Metzmacher1-0/+5
into ndr_interface_string_array and move it to libndr.h metze (This used to be commit 473bca74dc9d9dc54a239c9b5d3dc5fcf5a117a9)
2007-10-10r24535: rename struct dcerpc_interface_call -> struct ndr_interface_callStefan Metzmacher1-0/+9
and move it to librpc/ndr/libndr.h metze (This used to be commit abd5551aabae1820baaa52a963e8c7aa9605914e)
2007-10-10r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher1-3/+3
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-10r21812: fixed an integer overflow error in the ndr push code.Andrew Tridgell1-1/+1
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-10r20064: - fix pushing of DeReplicaObjectIdentifierX, this lets the DsAddEntry()Stefan Metzmacher1-0/+1
request work correctly - the error structures all have the same type metze (This used to be commit 3322dbd901106262b22db35e9ef455a08ac2867c)
2007-10-10r19859: Reuse referrent ids when pushing full pointers (still need toJelmer Vernooij1-0/+1
avoid pushing the referred object twice) and add test for full pointers. (This used to be commit 1638c8d234dbc85298000685e49570f23dfd0bf8)
2007-10-10r17888: use talloc_*_ptrtype() macros as wrappers arround the talloc_*_size()Stefan Metzmacher1-11/+10
functions to get rid of c++ warnings metze (This used to be commit 7579503bb886e9c4cc08756013f5311ce550c9fd)
2007-10-10r15629: fix some warningsStefan Metzmacher1-1/+1
metze (This used to be commit 803a602990b78eaec7b674ef3214b8ccea6a98f3)
2007-10-10r15427: Rename private to private_data to prevent errors from C++ errors (whichJelmer Vernooij1-1/+1
we care about in Samba3) (This used to be commit eb07aea711a5e3606e169d77b208b03bd876c639)
2007-10-10r15328: Move some functions around, remove dependencies.Jelmer Vernooij1-0/+9
Remove some autogenerated headers (which had prototypes now autogenerated by pidl) Remove ndr_security.h from a few places - it's no longer necessary (This used to be commit c19c2b51d3e1ad347120b06a22bda5ec586c22e8)
2007-10-10r14488: Install more headers.Jelmer Vernooij1-0/+2
Generate different #include lines in pidl depending on whether we're building inside or outside of the Samba tree (useful for 3rd-party projects). (This used to be commit 0c188833154c1fe565cb1735909e408a4a1a6049)
2007-10-10r14484: Install more headersJelmer Vernooij1-0/+3
(This used to be commit 430c6516d383bfd7f27287394bf8eef9f174b3e6)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+5
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r12651: Remove STR_LARGE_SIZE as it's no longer usedJelmer Vernooij1-1/+0
(This used to be commit 8e95aee6fba4d3632f4718428bdb1f07cb58fab4)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+3
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12513: Similar change as my previous commit, but now for transfer syntaxes.Jelmer Vernooij1-0/+2
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-10r11973: make it easier to find bugsStefan Metzmacher1-1/+2
metze (This used to be commit 247f90c28d845fd2224cb07ed30d3e8122ba5644)
2007-10-10r10869: add dummy functions and dummy parsing of XPRESS decompression,Stefan Metzmacher1-1/+2
this is the compression algorithm used by w2k3 for DsGetNCChanges(). This algorithm isn't known yet, but it seems to be some sort of Lempel-Ziv algorithm. metze (This used to be commit 694252b6e02e365ae5baffb76cdbc89eec5358e7)
2007-10-10r9373: - create a hierachical memory tree with recursiv ndr_pull_* functionsStefan Metzmacher1-12/+32
- 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 (This used to be commit 1a2b8369586642cc9bc15d015c1e4256c3a92732)
2007-10-10r8500: greatly reduce the number of build warnings on x86-64 (every NDR macroAndrew Tridgell1-5/+5
in the generated code from pidl generated a warning) (This used to be commit 22f7fd76343646a149937fcdc891a98a516bf820)
2007-10-10r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,Stefan Metzmacher1-1/+2
metze (This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
2007-10-10r8212: fix pushing of nbt_string's:Stefan Metzmacher1-0/+1
- we now use an ndr_token_list, for the nbt string label pointer offsets this avoids to scan the whole buffer - we need to check for already send string on a per component basis not only for the fullname e.g. w2k3 response this in the CLDAP netlogon replies forest: w2k3.vmnet1.vm.base dns_name: sub1. pdc_dns_name: w2k3-104. and this will be interpreted like forest: w2k3.vmnet1.vm.base dns_name: sub1.w2k3.vmnet1.vm.base pdc_dns_name: w2k3-104.w2k3.vmnet1.vm.base metze (This used to be commit d18303a0e27643285ffaf100eeddea2f9555c9db)
2007-10-10r8148: - make the PAC generation code a bit more readable and add some outof ↵Stefan Metzmacher1-0/+2
memory checks - move to handmodified pull/push code for PAC_BUFFER to get the _ndr_size field and the subcontext size right - after looking closely to the sample w2k3 PAC in our torture test (and some more in my archive) I found out that the first uint32 before the netr_SamInfo3 was also a pointer, (and we passed a NULL pointer there before, so I think that was the reason why the windows clients doesn't want our PAC) w2k3 uses this for unique pointers: ptr = ndr->ptr_count * 4; ptr |= 0x00020000; ndr->ptr_count; - do one more pull/push round with the sample PAC metze (This used to be commit 0eee17941595e9842a264bf89ac73ca66cea7ed5)
2007-10-10r7865: changed pidl to take a "const void *" instead of a "void *" for theAndrew Tridgell1-4/+3
structure in ndr_push_*() and ndr_print_*(). The push and print functions really should not modify the structure. metze, to make this work I had to change your spoolss hand marshaller. Can you please check it is OK? I think that the IN and OUT sides of that function are not ever called on the same structure, so I think that attempt at remembering the value by assigning to r->in._offered was not doing anything anyway, but please correct me if I have misunderstood it. If you really do need to remember something on those structures I'd suggest the ndr_token_store() and ndr_token_retrieve() functions, which are used by pidl for just this sort of thing. (This used to be commit eee528be97fa43ca53bdc5652b4d29a0a2caf563)
2007-10-10r7186: add [relative_base] property, which is allowed on typedef'sStefan Metzmacher1-0/+6
(maybe we could add them to elements latter...) with this property all relative pointers from inside the struct or union are relative to the struct/union start metze (This used to be commit c0dd18326c058e3e218d43f48ecff418f4b0b51e)