diff options
author | Luke Leighton <lkcl@samba.org> | 1999-10-31 05:23:32 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-10-31 05:23:32 +0000 |
commit | e7a9b398c79cb77678de18f3fc448131e1d6eb25 (patch) | |
tree | afe7bc2d01eeeccfea36d075a4d74c178a718c65 /source3/include/rpc_svcctl.h | |
parent | ce31503de55ffeaa6e694b9177890943442e41c0 (diff) | |
download | samba-e7a9b398c79cb77678de18f3fc448131e1d6eb25.tar.gz samba-e7a9b398c79cb77678de18f3fc448131e1d6eb25.tar.bz2 samba-e7a9b398c79cb77678de18f3fc448131e1d6eb25.zip |
added yet another rpcclient command: svcstart <service name> [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)
Diffstat (limited to 'source3/include/rpc_svcctl.h')
-rw-r--r-- | source3/include/rpc_svcctl.h | 5 |
1 files changed, 3 insertions, 2 deletions
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; |