1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
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