mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:rpcclient: Use C99 initializer for cmd_set in cmd_wkssvc
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
8cb851ffb9
commit
2bec9593ba
@ -215,13 +215,60 @@ static WERROR cmd_wkssvc_enumerateusers(struct rpc_pipe_client *cli,
|
|||||||
|
|
||||||
struct cmd_set wkssvc_commands[] = {
|
struct cmd_set wkssvc_commands[] = {
|
||||||
|
|
||||||
{ "WKSSVC" },
|
{
|
||||||
{ "wkssvc_wkstagetinfo", RPC_RTYPE_WERROR, NULL, cmd_wkssvc_wkstagetinfo, &ndr_table_wkssvc, NULL, "Query WKSSVC Workstation Information", "" },
|
.name = "WKSSVC",
|
||||||
{ "wkssvc_getjoininformation", RPC_RTYPE_WERROR, NULL, cmd_wkssvc_getjoininformation, &ndr_table_wkssvc, NULL, "Query WKSSVC Join Information", "" },
|
},
|
||||||
{ "wkssvc_messagebuffersend", RPC_RTYPE_WERROR, NULL, cmd_wkssvc_messagebuffersend, &ndr_table_wkssvc, NULL, "Send WKSSVC message", "" },
|
{
|
||||||
{ "wkssvc_enumeratecomputernames", RPC_RTYPE_WERROR, NULL, cmd_wkssvc_enumeratecomputernames, &ndr_table_wkssvc, NULL, "Enumerate WKSSVC computer names", "" },
|
.name = "wkssvc_wkstagetinfo",
|
||||||
{ "wkssvc_enumerateusers", RPC_RTYPE_WERROR, NULL,
|
.returntype = RPC_RTYPE_WERROR,
|
||||||
cmd_wkssvc_enumerateusers, &ndr_table_wkssvc, NULL,
|
.ntfn = NULL,
|
||||||
"Enumerate WKSSVC users", "" },
|
.wfn = cmd_wkssvc_wkstagetinfo,
|
||||||
{ NULL }
|
.table = &ndr_table_wkssvc,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Query WKSSVC Workstation Information",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "wkssvc_getjoininformation",
|
||||||
|
.returntype = RPC_RTYPE_WERROR,
|
||||||
|
.ntfn = NULL,
|
||||||
|
.wfn = cmd_wkssvc_getjoininformation,
|
||||||
|
.table = &ndr_table_wkssvc,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Query WKSSVC Join Information",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "wkssvc_messagebuffersend",
|
||||||
|
.returntype = RPC_RTYPE_WERROR,
|
||||||
|
.ntfn = NULL,
|
||||||
|
.wfn = cmd_wkssvc_messagebuffersend,
|
||||||
|
.table = &ndr_table_wkssvc,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Send WKSSVC message",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "wkssvc_enumeratecomputernames",
|
||||||
|
.returntype = RPC_RTYPE_WERROR,
|
||||||
|
.ntfn = NULL,
|
||||||
|
.wfn = cmd_wkssvc_enumeratecomputernames,
|
||||||
|
.table = &ndr_table_wkssvc,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Enumerate WKSSVC computer names",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "wkssvc_enumerateusers",
|
||||||
|
.returntype = RPC_RTYPE_WERROR,
|
||||||
|
.ntfn = NULL,
|
||||||
|
.wfn = cmd_wkssvc_enumerateusers,
|
||||||
|
.table = &ndr_table_wkssvc,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Enumerate WKSSVC users",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name =NULL,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user