Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
struct cmd_set test_commands[] = {
- { "TESTING" },
-
- { "testme", RPC_RTYPE_NTSTATUS, cmd_testme, NULL,
- NULL, NULL, "Sample test", "testme" },
-
- { NULL }
+ {
+ .name = "TESTING",
+ },
+
+ {
+ .name = "testme",
+ .returntype = RPC_RTYPE_NTSTATUS,
+ .ntfn = cmd_testme,
+ .description = "Sample test",
+ .usage = "testme",
+ },
+
+ {
+ .name = NULL,
+ },
};