From e7a9b398c79cb77678de18f3fc448131e1d6eb25 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Sun, 31 Oct 1999 05:23:32 +0000 Subject: added yet another rpcclient command: svcstart [arg0] [arg1] ... works with command-line completion on the service name (ohh yesss, this is becoming my favourite bit of functionality-on-the-side hee hee :) had to fix the svc_io_q_start_service() code which was missing the ptr_argv[] array in between the array-size and the UNISTR2-array. i.e it's actually an array of _pointers_ to unicode strings... (This used to be commit 2903f22e7ed9306229035accfa757fd810645820) --- source3/include/rpc_svcctl.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/include/rpc_svcctl.h') diff --git a/source3/include/rpc_svcctl.h b/source3/include/rpc_svcctl.h index 8a2a771d64..e72f7df376 100644 --- a/source3/include/rpc_svcctl.h +++ b/source3/include/rpc_svcctl.h @@ -73,7 +73,7 @@ typedef struct r_svc_open_service_info } SVC_R_OPEN_SERVICE; -#define MAX_SVC_ARGS 4 +#define MAX_SVC_ARGS 10 /* SVC_Q_START_SERVICE */ typedef struct q_svc_start_service_info @@ -81,8 +81,9 @@ typedef struct q_svc_start_service_info POLICY_HND pol; uint32 argc; - uint32 ptr_argv; + uint32 ptr_args; uint32 argc2; + uint32 ptr_argv[MAX_SVC_ARGS]; UNISTR2 argv[MAX_SVC_ARGS]; } SVC_Q_START_SERVICE; -- cgit