{
.name = "PING",
.struct_cmd = WINBINDD_PING,
- .struct_fn = winbindd_dual_ping,
+ .type = WINBINDD_CHILD_DISPATCH_SYNC,
+ .sync.struct_fn = winbindd_dual_ping,
},{
.name = "NDRCMD",
.struct_cmd = WINBINDD_DUAL_NDRCMD,
- .struct_fn = winbindd_dual_ndrcmd,
+ .type = WINBINDD_CHILD_DISPATCH_ASYNC,
+ .async.struct_fn_send = winbindd_dual_ndrcmd_send,
+ .async.struct_fn_recv = winbindd_dual_ndrcmd_recv,
},{
.name = NULL,
}