summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_ntsvcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient/cmd_ntsvcs.c')
-rw-r--r--source3/rpcclient/cmd_ntsvcs.c35
1 files changed, 28 insertions, 7 deletions
diff --git a/source3/rpcclient/cmd_ntsvcs.c b/source3/rpcclient/cmd_ntsvcs.c
index a345cdc8bf..88018258df 100644
--- a/source3/rpcclient/cmd_ntsvcs.c
+++ b/source3/rpcclient/cmd_ntsvcs.c
@@ -275,12 +275,33 @@ static WERROR cmd_ntsvcs_get_dev_list(struct rpc_pipe_client *cli,
struct cmd_set ntsvcs_commands[] = {
{ "NTSVCS" },
- { "ntsvcs_getversion", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_get_version, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS version", "" },
- { "ntsvcs_validatedevinst", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_validate_dev_inst, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS device instance", "" },
- { "ntsvcs_hwprofflags", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_hw_prof_flags, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS HW prof flags", "" },
- { "ntsvcs_hwprofinfo", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_get_hw_prof_info, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS HW prof info", "" },
- { "ntsvcs_getdevregprop", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_get_dev_reg_prop, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS device registry property", "" },
- { "ntsvcs_getdevlistsize", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_get_dev_list_size, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS device list size", "" },
- { "ntsvcs_getdevlist", RPC_RTYPE_WERROR, NULL, cmd_ntsvcs_get_dev_list, &ndr_table_ntsvcs.syntax_id, NULL, "Query NTSVCS device list", "" },
+ { "ntsvcs_getversion", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_get_version,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS version", "" },
+ { "ntsvcs_validatedevinst", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_validate_dev_inst,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS device instance", "" },
+ { "ntsvcs_hwprofflags", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_hw_prof_flags,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS HW prof flags", "" },
+ { "ntsvcs_hwprofinfo", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_get_hw_prof_info,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS HW prof info", "" },
+ { "ntsvcs_getdevregprop", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_get_dev_reg_prop,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS device registry property", "" },
+ { "ntsvcs_getdevlistsize", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_get_dev_list_size,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS device list size", "" },
+ { "ntsvcs_getdevlist", RPC_RTYPE_WERROR, NULL,
+ cmd_ntsvcs_get_dev_list,
+ NDR_NTSVCS_UUID, NDR_NTSVCS_VERSION, NULL,
+ "Query NTSVCS device list", "" },
{ NULL }
};