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

351 Commits

Author SHA1 Message Date
Jelmer Vernooij
77748c6a9f r26455: Use new talloctype macro in generated SWIG code as well. 2007-12-21 05:50:23 +01:00
Günther Deschner
2f69329288 r26257: Get rid of "uninitialized value" warning in the samba3 pidl generator.
Jelmer, please check.

Guenther
2007-12-21 05:47:31 +01:00
Günther Deschner
cf55365177 r26256: When generating Samba3 pidl output for WERROR based functions, make sure the
client caller can retrieve the WERROR.

Jelmer, no idea how to add a test for that...

Guenther
2007-12-21 05:47:31 +01:00
Jelmer Vernooij
9b5b77c399 r26110: Create separate function for connecting, add helper for creating result typemaps. 2007-12-21 05:46:08 +01:00
Jelmer Vernooij
3e04846b3f r26109: Use new SWIG helpers in autogenerated DCE/RPC SWIG files. 2007-12-21 05:46:07 +01:00
Stefan Metzmacher
d361bb1741 r26049: pidl: don't use ndr_pull_save anymore
metze
2007-12-21 05:45:47 +01:00
Stefan Metzmacher
7106f21de8 r25915: ndr/pidl: change NTSTAUS into enum ndr_err_code (pidl code)
Samba4/NDR/Parser.pm
Samba4/NDR/Server.pm
Samba3/ServerNDR.pm
tests/

metze
2007-12-21 05:44:54 +01:00
Stefan Metzmacher
c97fe5b54c r25806: let libndr.h include needed stuff and remove pidl magic
for choosing common required headers

metze
2007-12-21 05:44:07 +01:00
Stefan Metzmacher
18fce11741 r25805: pidl: include libndr.h as first header in ndr_foo.h
metze
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
2aecc1e9fd r25804: move including ndr_compression.h into HeaderInterface()
metze
2007-12-21 05:44:06 +01:00
Stefan Metzmacher
14ca6a8bf9 r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs code
metze
2007-12-21 05:43:43 +01:00
Stefan Metzmacher
76b628df53 r25745: [pidl] ndr_pull/push_error(ndr, NDR_ERR_INVALID_POINTER,..)
instead NT_STATUS_INVALID_PARAMETER_MIX

metze
2007-12-21 05:43:40 +01:00
Jeremy Allison
ad0b9792f2 r25700: Now BOOL no longer exists in Samba 3.2, use bool instead.
Jeremy.
2007-12-21 05:43:20 +01:00
Stefan Metzmacher
7203f717a6 r25674: fix crash bug in pidl generated client code, this
could have happend with [in,out,unique] pointers
when the clients sends a valid pointer, but the server
reponse with a NULL pointer (as samba-3.0.26a do for some calls).

I've tested with midl to see how windows handles this situation
and also the reverse case where the client sends NULL and
the server reposnse with non-NULL.

It appears that midl generated code just ignores this
and only copies the result if both pointers are non-NULL.

metze
2007-12-21 05:43:08 +01:00
Jelmer Vernooij
aa089378a0 r25457: use different location for out-of-tree builds 2007-10-10 15:07:39 -05:00
Jelmer Vernooij
3c2d06d8fc r25453: Fix include for NTSTATUS. 2007-10-10 15:07:38 -05:00
Jelmer Vernooij
37425495f3 r25301: Merge my includes.h cleanups. 2007-10-10 15:07:09 -05:00
Jelmer Vernooij
9e804e0c21 r25185: Check that can_contain_deferred returns true if one of the members of a type can contain deferred data. 2007-10-10 15:06:47 -05:00
Jelmer Vernooij
160c0013dc r25168: Fix include for gen_ndr/misc.h. Patch by Julien Kerihuel. 2007-10-10 15:06:45 -05:00
Jelmer Vernooij
1afc7dd4d3 r25166: Simplify can_contain_deferred and add tests for it. 2007-10-10 15:06:45 -05:00
Stefan Metzmacher
3e0f22c857 r25114: handle structs and unions without typedefs better
in can_contain_deffered()

jelmer: we need to handle this more genericly, I assume
        we have a lot of other related bugs

metze
2007-10-10 15:06:42 -05:00
Stefan Metzmacher
678de9ce60 r24983: setup the correct talloc name for structures used in the generated
server stubs

metze
2007-10-10 15:03:44 -05:00
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