summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij6-0/+7
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
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-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2-0/+2
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+5
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14384: Remove orpc code from includes.hJelmer Vernooij1-40/+0
(This used to be commit 206d182cfb78ec2258ceca1be2dd5e3c06649312)
2007-10-10r14362: Only include ndr_compression.h when necessary.Jelmer Vernooij1-0/+1
(This used to be commit 4fced6dbbdc06233e5cf69f90c099fafee9baa34)
2007-10-10r14349: Kill proto.h!Jelmer Vernooij1-0/+2
Prototypes are now spread over multiple headers, usually one per subsystem. This change is required to allow proper header dependencies later on, without recompiling Samba each time the mtime of any source file changes. (This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10r14310: length needs to be initialisedAndrew Tridgell1-1/+1
(This used to be commit 20d7f2ae35761533613f9d6dcf941a5ef3c7e07b)
2007-10-10r13842: Make some more functions public.Jelmer Vernooij2-33/+38
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
2007-10-10r13840: Mark some functions as public.Jelmer Vernooij2-137/+137
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
2007-10-10r13741: make the pointer type in pidl handle any size pointer, just in case weAndrew Tridgell1-8/+13
have a 128 bit machine out there somewhere (This used to be commit 4a1b7580a7ea5db7d10c8ee6a5b3950313b7d273)
2007-10-10r13738: added support for a "pointer" type in pidl. This will be used in theAndrew Tridgell1-0/+27
opendb work that will be committed shortly. The pointer type assumes that pointers fit in 64 bits, which is probably OK on all our supported architectures. (This used to be commit d2a2057ea5af140ca88a9c305a38fc5dca9eaafd)
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-10r12651: Remove STR_LARGE_SIZE as it's no longer usedJelmer Vernooij2-13/+2
(This used to be commit 8e95aee6fba4d3632f4718428bdb1f07cb58fab4)
2007-10-10r12650: Remove support for NULLTERM flag (is already covered by tridge'sJelmer Vernooij1-6/+0
fixes to [validate]) (This used to be commit aa880bf1966889b1cd0b0b7d4d837dff79f0447e)
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-10r12608: Remove some unused #include lines.Jelmer Vernooij3-3/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12558: Support [flag(NULLTERM)] on [charset()] arraysJelmer Vernooij1-0/+10
(This used to be commit 2e5a6eb219feab3208f63d727340a852bfdb0b3f)
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 Vernooij2-0/+13
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-10r12016: fixed a valgrind errorAndrew Tridgell1-1/+1
(This used to be commit 482548031e69ba4bddac999ca9f2cb6ad8359953)
2007-10-10r11973: make it easier to find bugsStefan Metzmacher2-2/+7
metze (This used to be commit 247f90c28d845fd2224cb07ed30d3e8122ba5644)
2007-10-10r11676: as tridge uses 0x%llx in his latest commits...Stefan Metzmacher1-8/+2
try to use it every where and see how portable it is metze (This used to be commit 66a94de5ddd09df858a515555c01aa3d4f7d3e96)
2007-10-10r11141: Re-add paranoid string terminator checkJelmer Vernooij1-6/+9
(This used to be commit 55805b5ed9493160ff17c26d2e1361947f368707)
2007-10-10r11107: Include 0 byteJelmer Vernooij1-1/+2
(This used to be commit 407df9628e383822680af766dd94532e59397382)
2007-10-10r11105: Warn if conformant arrays are not at the end of a structJelmer Vernooij1-0/+7
Support conformant [string] arrays Eliminate utf8string This breaks xattr binary compatibility with previous versions - is that a problem? (This used to be commit 7596c708ba6642473319a1b699a5a910a639e50d)
2007-10-10r10873: check the complete payload headerStefan Metzmacher1-3/+11
metze (This used to be commit 27f8d82231f2978ff15719e4b23912ae7f910638)
2007-10-10r10872: fix the length of the dummy XPRESS decompressed bufferStefan Metzmacher1-1/+1
metze (This used to be commit 0a1e4498a3550721b214716d1106843bf1ff4597)
2007-10-10r10869: add dummy functions and dummy parsing of XPRESS decompression,Stefan Metzmacher2-8/+87
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-10r10868: make flag(NDR_PAHEX) possible to use and show the union level in hexStefan Metzmacher1-1/+5
metze (This used to be commit 7efb92adc057ad8a993eb9de66c3806608747104)
2007-10-10r10637: use the correct memory context in the ndr_pull_* functionStefan Metzmacher2-17/+29
to build the talloc hierachie correct metze (This used to be commit afd9dda5773d381550bdb061a8e345b33e1fc371)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-1/+1
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10346: here are only real ip-addresses valid, prevent dns lookups,Stefan Metzmacher1-1/+3
when the input is invalid metze (This used to be commit 1083204c1f89d9b918015113b6cc2ea423372fe0)
2007-10-10r10339: fix ndr_push_udlongrStefan Metzmacher1-2/+2
metze (This used to be commit a34d0771ce60d4c590c8bc14449cc23d31a6dd2c)
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)
2007-10-10r9795: fix the ndr_pull_string code to handle, some special cases,Stefan Metzmacher1-51/+51
where the idl was something like this: uint32 size; [size_is(size+1)] wchar_t *string; we always need a pair of NDR_PULL_NEEDED_BYTES() and ndr_pull_advance(), with the same size passed in. metze (This used to be commit 8eb75bd5ac5869f11f930ec872ec8a46fba9361b)
2007-10-10r9518: - remove the subcontext_size() hack from rev 9509Stefan Metzmacher1-15/+0
as it isn't needed - parse some more DsAddEntry() errors - add some more attid constands so that all attribute that are needed for a DsAddEntry in the DC Domain Join are mapped - add value() for __ndr_size, to more attribute container, so that the caller doesn't need to fill them in, that was the reason for getting an NDR_FAULT metze (This used to be commit a9a1a6f861c8db626b3232f057ef0b9c3d0ad1b0)
2007-10-10r9509: start to fix the pushing of drsuapi_DsAttributeValueDNString structs,Stefan Metzmacher1-0/+15
this uses a trick with talloc_get_type() to workaround using [value()] vars in [subcontext_size()] metze (This used to be commit 93065f2d3439bceeaa7c2a09679cc6d81472150d)
2007-10-10r9441: Use "const char *" for fixed-size arrays with charset() becauseJelmer Vernooij1-1/+1
these can require more elements in the local charset (usually UTF8) then in the wire one. (This used to be commit a0e63c2691f596cdacbc2e15404829ebca075429)
2007-10-10r9440: Fix bug introduced by new zero-padding code. Caught by the buildfarm.Jelmer Vernooij1-6/+9
(This used to be commit 9be03c057e229e9cf7fe8b1db04adb9d2f1efc64)
2007-10-10r9439: Make sure the remainder of the array is always initialized if the ↵Jelmer Vernooij1-1/+7
buffer is larger then the string to be pushed. (This used to be commit 70b52e26f31b00637ed7f90f77ff0b2794dad729)
2007-10-10r9373: - create a hierachical memory tree with recursiv ndr_pull_* functionsStefan Metzmacher5-13/+42
- 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-10r9372: - make the subcontext handling autogenerated code look nicer,Stefan Metzmacher4-59/+121
- unify the handling of subcontext, compression and obfucation metze (This used to be commit 09de7e0af7f9f7539cf63791baf90ac202536176)
2007-10-10r9356: a better way of coping with NULL arrays in the array bounds checking. ↵Andrew Tridgell1-8/+0
This copes with the case of size_is(*size) where size is NULL, and the array is NULL (This used to be commit 56769b4b1d900cce60cd35298b642a85e4eddfee)
2007-10-10r9347: this array bounds checking is harder than it looks ...Andrew Tridgell1-0/+8
this copes with 2 more situations: 1) where the array is NULL, which would previously be coped with by a if (ptr) check, but now in the deferred array bounds checking needs to look at the array variable in the ndr code. Not nice. 2) nest the array checking along with the SCALARS vs BUFFERS checks, ensuring we don't do array bounds checking for a buffer when in scalars only mode (This used to be commit ad1b9867a5a14bc9ed2e1a5eb8f05bb2046bc645)
2007-10-10r9300: cope with zero length in ndr_pull_charset()Andrew Tridgell1-0/+4
(This used to be commit 1ae255aba44f4444486ae5bc634c8ab1a6328c87)
2007-10-10r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed itAndrew Tridgell1-2/+0
(This used to be commit b9b8714297401664fcf8380d4c90ee22b7341d35)
2007-10-10r8614: Add COMRESULT/HRESULT scalar typeJelmer Vernooij1-0/+2
(This used to be commit 8637a85e6a349cce15a298154500921e9a0183a3)