mirror of
https://github.com/samba-team/samba.git
synced 2025-09-06 17:44:20 +03:00
s3:rpcclient: Use C99 initializer for cmd_set in cmd_epmapper
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
committed by
Andreas Schneider
parent
328cb7aa9a
commit
5701586d53
@@ -240,11 +240,31 @@ static NTSTATUS cmd_epmapper_lookup(struct rpc_pipe_client *p,
|
|||||||
|
|
||||||
struct cmd_set epmapper_commands[] = {
|
struct cmd_set epmapper_commands[] = {
|
||||||
|
|
||||||
{ "EPMAPPER" },
|
{
|
||||||
|
.name = "EPMAPPER",
|
||||||
|
},
|
||||||
|
|
||||||
{ "epmmap", RPC_RTYPE_NTSTATUS, cmd_epmapper_map, NULL,
|
{
|
||||||
&ndr_table_epmapper, NULL, "Map a binding", "" },
|
.name = "epmmap",
|
||||||
{ "epmlookup", RPC_RTYPE_NTSTATUS, cmd_epmapper_lookup, NULL,
|
.returntype = RPC_RTYPE_NTSTATUS,
|
||||||
&ndr_table_epmapper, NULL, "Lookup bindings", "" },
|
.ntfn = cmd_epmapper_map,
|
||||||
{ NULL }
|
.wfn = NULL,
|
||||||
|
.table = &ndr_table_epmapper,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Map a binding",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = "epmlookup",
|
||||||
|
.returntype = RPC_RTYPE_NTSTATUS,
|
||||||
|
.ntfn = cmd_epmapper_lookup,
|
||||||
|
.wfn = NULL,
|
||||||
|
.table = &ndr_table_epmapper,
|
||||||
|
.rpc_pipe = NULL,
|
||||||
|
.description = "Lookup bindings",
|
||||||
|
.usage = "",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
.name = NULL,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user