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

329 Commits

Author SHA1 Message Date
Jelmer Vernooij
6890a01dbf r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
30c1de30bb r24815: Support cpp_quote(). 2007-10-10 15:03:14 -05:00
Jelmer Vernooij
ff6684adfd r24812: Fix headers for external users. 2007-10-10 15:03:13 -05:00
Jelmer Vernooij
2d049c8d30 r24721: Avoid True and False because they are only available within Samba. 2007-10-10 15:02:55 -05:00
Jelmer Vernooij
fc8771fb6a r24717: Some more easy bool conversions, update TODO for registry 2007-10-10 15:02:55 -05:00
Stefan Metzmacher
fa577a1294 r24596: - talloc request structure for the samba3 server bindings
and make that the primary context for the request
  which the implementations can also use.
- go via functions pointers in the ndr_interface_table
  instead of calling functions directly.

metze
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
9b59534a14 r24592: pass down the ndr_interface_table in the samba3 client bindings
instead of the pull and push functions

metze
2007-10-10 15:02:22 -05:00
Stefan Metzmacher
2dbf89e223 r24563: remove unused DCERPC specific stuff from the generated NDR code
metze
2007-10-10 15:02:16 -05:00
Stefan Metzmacher
f874eca5da r24560: rename some DCERPC_ prefixes into NDR_
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
84651aee81 r24557: rename 'dcerpc_table_' -> 'ndr_table_'
metze
2007-10-10 15:02:15 -05:00
Stefan Metzmacher
4adbebef5d r24551: rename dcerpc_interface_table -> ndr_interface_table
rename dcerpc_interface_list  -> ndr_interface_list

and move them to libndr.h

metze
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
473bca74dc r24540: rename struct dcerpc_endpoint_list/struct dcerpc_authservice_list
into ndr_interface_string_array and move it to libndr.h

metze
2007-10-10 15:02:12 -05:00
Stefan Metzmacher
abd5551aab r24535: rename struct dcerpc_interface_call -> struct ndr_interface_call
and move it to librpc/ndr/libndr.h

metze
2007-10-10 15:02:11 -05:00
Stefan Metzmacher
701aa31d14 r24524: make use of ElementStars()
metze
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
ff11f2ce0c r24523: we don't support multi-dimentional [out] arrays
for the samba3 server stubs yet, so bail out.

metze
2007-10-10 15:02:10 -05:00
Stefan Metzmacher
a698fb1857 r24522: make the "skip pointer to an array" logic a bit easier
metze
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
66d4d6f196 r24521: we don't yet have optional args to DeclLong()
metze
2007-10-10 15:02:09 -05:00
Stefan Metzmacher
fad5af2f20 r24520: make use of the new ElementStars() and ArrayBrackets()
functions

metze
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
ff7fa11e70 r24518: get rid of using ->{ORIGINAL} and move stuff
into subfunctions

metze
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
ee92d47b53 r24517: move skipping pointer before an array logic into the
pointer loop as we do in other places

metze
2007-10-10 15:02:08 -05:00
Stefan Metzmacher
98d8753d37 r24516: don't use ->{ORIGINAL}
metze
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
d90a0d3ba1 r24515: use fatal() wrapper instead of die() directly
metze
2007-10-10 15:02:07 -05:00
Stefan Metzmacher
b7d6ac5215 r24514: IS_* elemements sound be perl integers consistantly...
metze
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
82cc41c558 r24511: pass the correct thing to fatal()
metze
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
e8ebee2698 r24509: pass down the full ndr elements instead of the old pidl elements
from ->{ORIGINAL}

metze
2007-10-10 15:02:06 -05:00
Stefan Metzmacher
0eba05b6a6 r24508: add HeaderTypeNew() which will go if everything is converted
metze
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
0edec25af8 r24507: pass $d down to HeaderTypedef
metze
2007-10-10 15:02:05 -05:00
Stefan Metzmacher
8cc3fd09ff r24506: pass $fn down one more layer
metze
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
0bad3f0619 r24505: pass down $fn one level
metze
2007-10-10 15:02:04 -05:00
Stefan Metzmacher
5f1f50cd27 r24493: - it turns out that
foreach my $e (@{$union->{ELEMENTS}}) {
  changes $union->{ELEMENTS} from undef into an empty array.
  this removes the difference between
  struct foo { }; and struct foo;
  So we need to explicit return before.
- we should return the same element for layout for
  structs and unions with no elements.
- fix the testsuite to match

metze
2007-10-10 15:02:01 -05:00
Stefan Metzmacher
13144bdea9 r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn().

Also the base_type() property isn't standard IDL and we should not support it.

This changes TDR enum to also to default to uint16 (as with NDR enums).

metze
2007-10-10 15:02:00 -05:00
Stefan Metzmacher
65f3bb8c19 r24489: only typedef enum { ... } foo; enum's should look
for has_properties() of $enum->{PARENT}

metze
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
47fb2d42df r24488: enum's and bitmap's not have nested types
metze
2007-10-10 15:01:59 -05:00
Stefan Metzmacher
212e8ec8d5 r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pm
metze
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
8a23db61e4 r24482: white space cleanup only...
metze
2007-10-10 15:01:57 -05:00
Stefan Metzmacher
a79129a4ae r24463: we have a function to correctly create an $env object
so don't try it manually and introduce bugs:-)

metze
2007-10-10 15:01:54 -05:00
Stefan Metzmacher
ca50b1ad3a r24454: when level 0 is a pointer we need to look for an array in level 1...
metze
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
8aacab6f6a r24452: bail out instead of only giving a warning on
incorrect idl files

metze
2007-10-10 15:01:53 -05:00
Stefan Metzmacher
0c5be644ba r24446: We only need one genric GenerateFunctionInEnv
function

metze
2007-10-10 15:01:51 -05:00
Stefan Metzmacher
89ea0339b5 r24407: $element->{ARRAY_LEN} doesn't exist...
and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN}
I assume it was just forgotten in the update.

metze
2007-10-10 15:01:51 -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
Ronnie Sahlberg
22945854d9 r23721: For unions, The TAG and the ARM are aligned independently.
Move emitting ALIGN_TO_x_BYTES to after the tag has been dissected so the
alignment only affects the ARM.
2007-10-10 14:59:08 -05:00
Jelmer Vernooij
7240c2d7e3 r22742: Fix tests. 2007-10-10 14:52:08 -05:00
Jelmer Vernooij
40d6235b24 r22741: Add MSVC-specific pragma's for Wireshark. Patch from Ronnie. 2007-10-10 14:52:08 -05:00
Stefan Metzmacher
b5c84460fc r22667: revert revision 22640 as it breaks nested structs in idl
metze
2007-10-10 14:51:59 -05:00
Stefan Metzmacher
715060187f r22640: - generate nicer output
- fix compiler warning about unused ';'

metze
2007-10-10 14:51:57 -05:00
Stefan Metzmacher
3b3344f1df r22618: handle the properties related to the type
and not to 'declare' to avoid a pidl warning with:

declare [switch_type(uint16)] union netr_Validation;

void foo([in] uint16 level, [in,switch_is(level)] netrValidation info);

metze
2007-10-10 14:51:53 -05:00
Stefan Metzmacher
5abbb4673a r22617: assume we have defered elements if the type is just provides via
'declare' this should fix the problem with the winbind IRPC calls

metze
2007-10-10 14:51:52 -05:00
Jelmer Vernooij
b81b0d3308 r22520: Fix the TYPE command. 2007-10-10 14:51:37 -05:00
Jelmer Vernooij
d491e60c70 r22462: Fix test suite for ndr parser without using 'our' 2007-10-10 14:51:23 -05:00