Commit Graph

613 Commits

Author SHA1 Message Date
Dan Hipschman d9c120490f widl: Handle pointers fields that point to structures. 2007-05-14 14:24:16 +02:00
Dan Hipschman ef433e2792 widl: Remove var_t's ptr_level field and start write_pointers. 2007-05-11 12:33:27 +02:00
Rob Shearman 35e99b50f1 rpcrt4: Print the correct values when warning about a bad frag length. 2007-04-30 12:33:19 +02:00
Dan Hipschman ba17c25e62 rpcrt4: Add a testcase for RPCs with fixed-size arrays. 2007-04-26 16:12:23 +02:00
Dan Hipschman cc09b0c19c rpcrt4: Add tests for RPC and widl generated code. 2007-04-26 15:48:13 +02:00
Dan Hipschman 6c5e78fe03 rpcrt4: Add tests for RpcServerListen and friends. 2007-04-13 11:42:42 +02:00
Francois Gouget 0081b430e1 Assorted spelling and English fixes. 2007-04-03 11:23:12 +02:00
Rob Shearman 173590a664 rpcrt4: Fixing the using of the auth_len values the wrong way round - PKT_PRIVACY implies the packet will be encrypted, not just signed. 2007-03-28 12:14:18 +02:00
Rob Shearman 763fe63213 rpcrt4: Use the correct authorization trailer length using information from the security provider.
Previously it was hardcoded to 16, so only the NTLM provider would work correctly.
2007-03-27 13:00:00 +02:00
Rob Shearman 88295b9a02 rpcrt4: Call CompleteAuthToken if InitializeSecurityContext returned a code that says it should be called.
Currently, the only security provider that requires this is the Digest 
one, which we don't really care about, but is supported for completeness.
2007-03-27 12:59:42 +02:00
Rob Shearman 88e9b3fad8 rpcrt4: Call InitializeSecurityContext from only one function.
This reduces the amount of code and ensures that the parameters passed 
to it stay the same, apart from the previous context and the output 
buffer description.
2007-03-27 12:42:05 +02:00
Rob Shearman 7abb647cd3 rpcrt4: Retrieve the maximum token length from the security provider rather than using a hardcoded and rather small limit. 2007-03-27 12:41:54 +02:00
Rob Shearman 7e061e4f64 rpcrt4: Make some parameters of non-exported functions const. 2007-03-27 12:39:18 +02:00
Rob Shearman adb7cca85c rpcrt4: Implement associations which are intermediary objects that track the relationship between the client and a given endpoint on the server.
Use these to encapsulate the connection pool so that the lifetimes of 
connections are properly handled again.
2007-03-27 12:39:05 +02:00
Andrew Talbot 67813450b9 rpcrt4: Replace inline static with static inline. 2007-03-23 12:29:52 +01:00
Rob Shearman 8620d15d39 rpcrt4: Unmarshal NULL OLE interfaces properly by handling the case of a 0 stream size. 2007-03-14 18:49:49 +01:00
Huw Davies 6fcff278b3 rpcrt4: Tests that show that the allocation rules for unmarshaling a conformant array are the same as those for a simple structure. 2007-03-13 11:52:37 +01:00
Francois Gouget d3245723ae rpcrt4: Fix a file handle leak in RPCRT4_RPCSSOnDemandCall().
Also, RPCRT4_RpcssNPConnect() returns a file handle so treat it as
such by checking it against INVALID_HANDLE_VALUE and not NULL.
2007-03-08 21:31:07 +01:00
Alexandre Julliard 9dd1f1e341 Added version information for a number of dlls. 2007-03-07 21:25:16 +01:00
Rob Shearman 55a103ca5c rpcrt4: Use IPPROTO_TCP for SOL_TCP if SOL_TCP isn't defined.
Fixes compilation on *BSD systems.
2007-03-01 20:42:50 +01:00
Rob Shearman 829dfa8052 rpcrt4: Set TCP_NODELAY on the socket for the ncacn_ip_tcp transport to reduce latency. 2007-02-28 13:28:40 +01:00
Rob Shearman ca6fe3fbf2 rpcrt4: Fix a memory leak in I_RpcSendReceive caused by I_RpcReceive overwriting pMsg->Buffer.
(Reported by Huw Davies.)
2007-02-21 19:48:51 +01:00
Rob Shearman b491d926d5 rpcrt4: Add documentation for the I_Rpc* RPC message functions. 2007-02-21 19:48:44 +01:00
Rob Shearman b6d8b27be5 rpcrt4: The format structures used in the marshaling code should have 1-byte alignment. 2007-02-12 15:20:52 +01:00
Alexandre Julliard 639ffbfde7 rpcrt4: Enter new named pipe connections into the protocol connection list. 2007-02-12 14:13:22 +01:00
Francois Gouget 45d5ff01a6 rpcrt4: Better match the PSDK types and fix the winapi_check warnings. 2007-02-07 21:42:02 +01:00
Francois Gouget 62662d21dd rpcrt4: Improve the prototypes Win64 compatibility by replacing long with LONG. 2007-02-06 13:23:53 +01:00
Andrew Talbot 3bc14d9110 rpcrt4: Declare some functions static. 2007-01-25 12:04:18 +01:00
Rob Shearman 399844e9f6 rpcrt4: RPCRT4_strdupWtoA and RPCRT4_strdupAtoW don't change the input string, so make the input const. 2007-01-25 12:00:13 +01:00
Rob Shearman 961455c7f0 rpcrt4: Stash away NetworkOptions passed in from the binding string so that transports can look at the string if needed. 2007-01-25 12:00:10 +01:00
Rob Shearman d05f5f33a4 rpcrt4: When copying quality of service, deep copy TransportCredentials structure too.
Remove some no longer relevant fixmes.
2007-01-24 12:07:24 +01:00
Rob Shearman 2103bca4db rpcrt4: Fix a typo in rpcrt4_conn_open_pipe.
Fix a typo in rpcrt4_conn_open_pipe where the initial setting of dwFlags 
was done inside the switch statement instead of at the indented place of 
at the start of the block (thanks to Jan Zerebecki for noticing this bug).
2007-01-24 12:07:14 +01:00
Huw Davies e3abd2b3ff rpcrt4: Implement NdrSimpleType{Marshall,Unmarshall}. 2007-01-24 11:59:01 +01:00
Rob Shearman e6f4514512 rpcrt4: Try to avoid partial named pipe read/writes by looping. 2007-01-23 11:38:23 +01:00
Rob Shearman 9fb15b4105 rpcrt4: Make the fixme for an unhandled packet type more useful by printing the code of the unhandled packet type. 2007-01-23 11:38:16 +01:00
Rob Shearman 0debcf5b1e rpcrt4: Handle security quality of service flags relevant to the ncacn_np protocol. 2007-01-22 12:01:57 +01:00
Rob Shearman 4b79a0252a rpcrt4: Track the security quality of service settings for bindings and connections. 2007-01-22 12:01:54 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Paul Vriens c21d65cfb2 rpcrt4/tests: Cast-qual warning fixes. 2007-01-12 20:41:22 +01:00
Francois Gouget fa7c32f56c rpcrt4: Give a proper name to some formerly reserved MIDL_STUB_MESSAGE fields.
Define NTDDI_VERSION so we get definitions for the Reserved51_X fields with the PSDK.
This fixes compilation of the ndr_marshall.c with the PSDK.
2007-01-11 11:37:13 +01:00
Francois Gouget f43b549081 rpcrt4/tests: Remove an unneeded '#if 0' and fix the code so it compiles without warnings. 2007-01-08 12:08:03 +01:00
Francois Gouget 9f586f1b79 rpcrt4/tests: Replace some '#if 0's with 'if (0)'s, or remove them if not needed anymore.
Fix the code so it compiles without warnings.
2007-01-08 12:07:59 +01:00
Rob Shearman 98c87d0e70 rpcrt4: Pass WT_EXECUTELONGFUNCTION to QueueUserWorkItem since the
function being called can sometimes take a long time to return and we
almost always want a new thread to be created if there are no free
threads available.
2007-01-04 21:13:49 +01:00
Rob Shearman 776f81b3be rpcrt4: A NULL IfSpec in RpcServerUnregisterIf should remove all interfaces, not crash. 2007-01-02 20:49:04 +01:00
Rob Shearman 48344f505b rpcrt4: Free the resource allocated by InitializeSecurityContext when the connection is closed. 2006-12-18 11:45:51 +01:00
Dmitry Timoshkov 8c3fdfea42 rpcrt4: Make some data const. 2006-12-14 20:11:34 +01:00
Andrew Talbot 82a042d0df rpcrt4/tests: Cast-qual warnings fix. 2006-12-14 12:51:10 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Rob Shearman 06dd3efe2f rpcrt4: RPC_C_AUTHN_LEVEL_NONE and RPC_C_AUTHN_LEVEL_DEFAULT are
handled at the binding level now instead of the message level, so
remove this special handling in RPCRT4_Send.
2006-11-22 11:37:15 +01:00