summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/rpc_svcctl.h22
2 files changed, 24 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 46dc35b2aa..e64a7a92aa 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2591,6 +2591,8 @@ void svc_io_q_open_service(char *desc, SVC_Q_OPEN_SERVICE *q_u, prs_struct *ps,
void make_svc_r_open_service(SVC_R_OPEN_SERVICE *r_u, POLICY_HND *hnd,
uint32 status) ;
void svc_io_r_open_service(char *desc, SVC_R_OPEN_SERVICE *r_u, prs_struct *ps, int depth);
+void svc_io_q_start_service(char *desc, SVC_Q_START_SERVICE *q_s, prs_struct *ps, int depth);
+void svc_io_r_start_service(char *desc, SVC_R_START_SERVICE *r_s, prs_struct *ps, int depth);
void make_svc_query_svc_cfg(QUERY_SERVICE_CONFIG *q_u,
uint32 service_type, uint32 start_type,
uint32 error_control,
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