mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +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:
parent
328cb7aa9a
commit
5701586d53
@ -240,11 +240,31 @@ static NTSTATUS cmd_epmapper_lookup(struct rpc_pipe_client *p,
|
||||
|
||||
struct cmd_set epmapper_commands[] = {
|
||||
|
||||
{ "EPMAPPER" },
|
||||
{
|
||||
.name = "EPMAPPER",
|
||||
},
|
||||
|
||||
{ "epmmap", RPC_RTYPE_NTSTATUS, cmd_epmapper_map, NULL,
|
||||
&ndr_table_epmapper, NULL, "Map a binding", "" },
|
||||
{ "epmlookup", RPC_RTYPE_NTSTATUS, cmd_epmapper_lookup, NULL,
|
||||
&ndr_table_epmapper, NULL, "Lookup bindings", "" },
|
||||
{ NULL }
|
||||
{
|
||||
.name = "epmmap",
|
||||
.returntype = RPC_RTYPE_NTSTATUS,
|
||||
.ntfn = cmd_epmapper_map,
|
||||
.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,
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user