From f7eaf17216c91c66719b2393c7a8716fc55e4e5f Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Thu, 18 Mar 1999 09:36:43 +0000 Subject: Added SVC_START_SERVICE rpc. An NT PDC will attempt to start the NETLOGON service on its BDC's prior to initiating SAM replication. For now just return success. (This used to be commit 113d03a38a34e5c4115dab59349078093bcd4888) --- source3/include/rpc_svcctl.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'source3/include/rpc_svcctl.h') diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index c32ba87ba9..8a2a771d64 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -31,6 +31,7 @@ #define SVC_QUERY_SVC_CONFIG 0x11 #define SVC_QUERY_DISP_NAME 0x14 #define SVC_OPEN_SERVICE 0x10 +#define SVC_START_SERVICE 0x13 #define SVC_CLOSE 0x00 @@ -72,6 +73,27 @@ typedef struct r_svc_open_service_info } SVC_R_OPEN_SERVICE; +#define MAX_SVC_ARGS 4 + +/* SVC_Q_START_SERVICE */ +typedef struct q_svc_start_service_info +{ + POLICY_HND pol; + + uint32 argc; + uint32 ptr_argv; + uint32 argc2; + UNISTR2 argv[MAX_SVC_ARGS]; + +} SVC_Q_START_SERVICE; + +/* SVC_R_START_SERVICE */ +typedef struct r_svc_start_service_info +{ + uint32 status; + +} SVC_R_START_SERVICE; + /* QUERY_SERVICE_CONFIG */ typedef struct query_service_config_info -- cgit