1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-14 20:23:54 +03:00
Commit Graph

37 Commits

Author SHA1 Message Date
Jelmer Vernooij
bf072c6fb3 r26427: Avoid global_smb_iconv_convenience. 2007-12-21 05:49:53 +01:00
Jelmer Vernooij
f6420d933b r26316: Use contexts for conversion functions. 2007-12-21 05:48:30 +01:00
Jelmer Vernooij
06233de54b r26261: Use enum type. 2007-12-21 05:47:35 +01:00
Stefan Metzmacher
adda63122e r26051: ndr_string: don't use ndr_pull_save anymore
metze
2007-12-21 05:45:48 +01:00
Stefan Metzmacher
7e157bbcfd r25916: ndr: change NTSTAUS into enum ndr_err_code (basic stuff)
librpc/ndr/

metze
2007-12-21 05:44:55 +01:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Stefan Metzmacher
07fe22f82e r21405: add support for [flag(STR_NOTERM|NDR_REMAINING)] string_array foo;
this is handles the content of the 'Packages' element in the supplementalCredetials

metze
2007-10-10 14:48:26 -05:00
Stefan Metzmacher
9fcfa65843 r21391: add supporting for
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
2007-10-10 14:48:25 -05:00
Stefan Metzmacher
dd81e7e5c7 r16996: use the correct types, merge from samba3
metze
2007-10-10 14:10:07 -05:00
Andrew Tridgell
0617aebbbc r14958: fixed big-endian dcerpc connections for the new string handling code 2007-10-10 14:00:45 -05:00
Andrew Tridgell
28d9a4d1a7 r14917: fixed length strings don't count any trailing nulls in the length 2007-10-10 14:00:16 -05:00
Andrew Tridgell
9569bf5374 r14904: fixed LIBNDR_FLAG_STR_CHARLEN (thanks to Metze for noticing this) 2007-10-10 14:00:13 -05:00
Andrew Tridgell
73ba1215e0 r14903: rewrote ndr_push_string() to be much simpler, and correctly handle
UTF8 strings. This should fix the german umlaut problem reported by
michael@drueing.de
2007-10-10 14:00:13 -05:00
Jelmer Vernooij
51b4270513 r14542: Remove librpc, libndr and libnbt from includes.h 2007-10-10 13:58:42 -05:00
Jelmer Vernooij
aac1b99b36 r13842: Make some more functions public. 2007-10-10 13:52:15 -05:00
Jelmer Vernooij
8e95aee6fb r12651: Remove STR_LARGE_SIZE as it's no longer used 2007-10-10 13:49:35 -05:00
Jelmer Vernooij
aa880bf196 r12650: Remove support for NULLTERM flag (is already covered by tridge's
fixes to [validate])
2007-10-10 13:49:34 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Jelmer Vernooij
2e5a6eb219 r12558: Support [flag(NULLTERM)] on [charset()] arrays 2007-10-10 13:47:57 -05:00
Jelmer Vernooij
55805b5ed9 r11141: Re-add paranoid string terminator check 2007-10-10 13:44:54 -05:00
Jelmer Vernooij
407df9628e r11107: Include 0 byte 2007-10-10 13:44:50 -05:00
Jelmer Vernooij
7596c708ba r11105: Warn if conformant arrays are not at the end of a struct
Support conformant [string] arrays
Eliminate utf8string

This breaks xattr binary compatibility with previous versions - is that a
problem?
2007-10-10 13:44:50 -05:00
Stefan Metzmacher
afd9dda577 r10637: use the correct memory context in the ndr_pull_* function
to build the talloc hierachie correct

metze
2007-10-10 13:39:14 -05:00
Stefan Metzmacher
8eb75bd5ac r9795: fix the ndr_pull_string code to handle, some special cases,
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
2007-10-10 13:35:02 -05:00
Jelmer Vernooij
a0e63c2691 r9441: Use "const char *" for fixed-size arrays with charset() because
these can require more elements in the local charset (usually UTF8) then
in the wire one.
2007-10-10 13:34:15 -05:00
Jelmer Vernooij
9be03c057e r9440: Fix bug introduced by new zero-padding code. Caught by the buildfarm. 2007-10-10 13:34:14 -05:00
Jelmer Vernooij
70b52e26f3 r9439: Make sure the remainder of the array is always initialized if the buffer is
larger then the string to be pushed.
2007-10-10 13:34:14 -05:00
Andrew Tridgell
1ae255aba4 r9300: cope with zero length in ndr_pull_charset() 2007-10-10 13:33:22 -05:00
Andrew Tridgell
aa0e1d6699 r8261: charset style strings in pidl should be const, just like old style ndr strings 2007-10-10 13:19:27 -05:00
Stefan Metzmacher
cdd03fe87d r8227: add STR_LARGE_SIZE flag, to support strings where the size is length+1,
metze
2007-10-10 13:19:22 -05:00
Stefan Metzmacher
d8175b01db r8045: fix valgrind warning, add zero padding when the string doesn't fill the full FIXLEN
metze
2007-10-10 13:19:02 -05:00
Jelmer Vernooij
72efb69529 r7706: Move ParseExpr() to util. 2007-10-10 13:18:24 -05:00
Jelmer Vernooij
7012e10bb6 r7702: Implement [charset()] attribute. 2007-10-10 13:18:23 -05:00
Jelmer Vernooij
a73a35cfc7 r7695: Add support for the [string] attribute that works in the traditional sense. Not
used anywhere yet.
2007-10-10 13:18:23 -05:00
Stefan Metzmacher
23b529ee09 r6572: add "string_array" as new scalar type for handling SPOOLSS string array's
metze
2007-10-10 13:16:26 -05:00
Stefan Metzmacher
a29d52817c r6519: move string handling functions to a seperate file
metze
2007-10-10 13:16:21 -05:00