summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_string.c
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)Stefan Metzmacher1-21/+21
librpc/ndr/ metze (This used to be commit 7e157bbcfd416c3d5c32c1e9fdc746bbee5967bb)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij1-2/+2
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
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-10r21405: add support for [flag(STR_NOTERM|NDR_REMAINING)] string_array foo;Stefan Metzmacher1-22/+105
this is handles the content of the 'Packages' element in the supplementalCredetials metze (This used to be commit 07fe22f82ebe66464ef73274a109d1e21a0d7f0f)
2007-10-10r21391: add supporting forStefan Metzmacher1-0/+31
uint16 size; [relative,subcontext(0),subcontext_size(size),flag(STR_NOTERM|NDR_REMAINING)] string *string; as uint16 size; [relative,charset(UTF16)] uint8 *string[size]; isn't supported by pidl yet... metze (This used to be commit 9fcfa658430f04658c692eb26db9280fda6e4e25)
2007-10-10r16996: use the correct types, merge from samba3Stefan Metzmacher1-3/+3
metze (This used to be commit dd81e7e5c71af36499746ba100ce48fedd240dce)
2007-10-10r14958: fixed big-endian dcerpc connections for the new string handling codeAndrew Tridgell1-0/+8
(This used to be commit 0617aebbbcd27126aab71bc0502a736d7eee1d72)
2007-10-10r14917: fixed length strings don't count any trailing nulls in the lengthAndrew Tridgell1-1/+4
(This used to be commit 28d9a4d1a7aab0852f7f718621830f06cd7ff39b)
2007-10-10r14904: fixed LIBNDR_FLAG_STR_CHARLEN (thanks to Metze for noticing this)Andrew Tridgell1-1/+4
(This used to be commit 9569bf5374f92815ce1940f752aaff4a6913b4c0)
2007-10-10r14903: rewrote ndr_push_string() to be much simpler, and correctly handleAndrew Tridgell1-111/+35
UTF8 strings. This should fix the german umlaut problem reported by michael@drueing.de (This used to be commit 73ba1215e0c9283296c16f36c91f5a966f3cc9f4)
2007-10-10r14542: Remove librpc, libndr and libnbt from includes.hJelmer Vernooij1-0/+1
(This used to be commit 51b4270513752d2eafbe77f9de598de16ef84a1f)
2007-10-10r13842: Make some more functions public.Jelmer Vernooij1-19/+21
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
2007-10-10r12651: Remove STR_LARGE_SIZE as it's no longer usedJelmer Vernooij1-12/+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-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+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-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-10r10637: use the correct memory context in the ndr_pull_* functionStefan Metzmacher1-15/+27
to build the talloc hierachie correct metze (This used to be commit afd9dda5773d381550bdb061a8e345b33e1fc371)
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-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-10r9300: cope with zero length in ndr_pull_charset()Andrew Tridgell1-0/+4
(This used to be commit 1ae255aba44f4444486ae5bc634c8ab1a6328c87)
2007-10-10r8261: charset style strings in pidl should be const, just like old style ↵Andrew Tridgell1-4/+4
ndr strings (This used to be commit aa0e1d6699959571963d6e6fb455b33c4436dcdf)
2007-10-10r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,Stefan Metzmacher1-1/+16
metze (This used to be commit cdd03fe87d0120ab3e18566bfc20df5955f9fb3c)
2007-10-10r8045: fix valgrind warning, add zero padding when the string doesn't fill ↵Stefan Metzmacher1-1/+5
the full FIXLEN metze (This used to be commit d8175b01db69436d8af64b97d7b7beca4ba4b552)
2007-10-10r7706: Move ParseExpr() to util.Jelmer Vernooij1-4/+3
(This used to be commit 72efb695291f0ad3cdc80daa9f979454f6a81c04)
2007-10-10r7702: Implement [charset()] attribute.Jelmer Vernooij1-1/+37
(This used to be commit 7012e10bb6252a7e602e80f05c914a783610088c)
2007-10-10r7695: Add support for the [string] attribute that works in the traditional ↵Jelmer Vernooij1-0/+27
sense. Not used anywhere yet. (This used to be commit a73a35cfc7b5b92cd95bd0d0fbd64d04acecccf3)
2007-10-10r6572: add "string_array" as new scalar type for handling SPOOLSS string array'sStefan Metzmacher1-0/+72
metze (This used to be commit 23b529ee090e1858fc18794b949f7e466fa82b0e)
2007-10-10r6519: move string handling functions to a seperate fileStefan Metzmacher1-0/+499
metze (This used to be commit a29d52817ce943c15f6896b74273df739867c8f7)