svn commit: samba r5801 - in trunk/source: . include rpc_client
rpc_parse rpc_server
jerry at samba.org
jerry at samba.org
Tue Mar 15 16:32:16 GMT 2005
Author: jerry
Date: 2005-03-15 16:32:15 +0000 (Tue, 15 Mar 2005)
New Revision: 5801
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5801
Log:
large commit.
* abstract the pointers from [in,out] rpc params to
prs_XXX_p so we no longer have to worry about declaring
silly things like XXX_ptr in the rpc_*.h top level structs.
(see prs_uint32_p() and prs_rpcbuffer_p() for examples).
* reuse the NEW_BUFFER from the spoolss for for the svcctl pipe.
(renamed to RPC_BUFFER and moved to separate rpc_buffer.c)
also had to change parsing to use prs_rpcbuffer_p() in spoolss
code.
* add minimal working version of EnumServicesStatus()
(note that I think the IDL in Samba4 is wrong here).
C:\WINNT\> enumerate \\rain
Opening the Service Control Manager on \\rain...ok
Enumerating services....ok
Spooler (Spooler)
type = 0x110
state = 0x4
controls accepted = 0x0
win32 exit code = 0x0
svc exit code = 0x0
check point = 0x0
wait hont = 0x0
Net Logon (Netlogon)
type = 0x20
state = 0x4
controls accepted = 0x0
win32 exit code = 0x0
svc exit code = 0x0
check point = 0x0
wait hont = 0x0
Closing Service Control Manager handle...ok
Added:
trunk/source/include/rpc_buffer.h
trunk/source/rpc_parse/parse_buffer.c
Modified:
trunk/source/Makefile.in
trunk/source/include/ntdomain.h
trunk/source/include/rpc_misc.h
trunk/source/include/rpc_spoolss.h
trunk/source/include/rpc_svcctl.h
trunk/source/rpc_client/cli_spoolss.c
trunk/source/rpc_parse/parse_misc.c
trunk/source/rpc_parse/parse_prs.c
trunk/source/rpc_parse/parse_sec.c
trunk/source/rpc_parse/parse_spoolss.c
trunk/source/rpc_parse/parse_svcctl.c
trunk/source/rpc_server/srv_spoolss_nt.c
trunk/source/rpc_server/srv_svcctl.c
trunk/source/rpc_server/srv_svcctl_nt.c
Changeset:
Sorry, the patch is too large (3628 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5801
More information about the samba-cvs
mailing list