git.samba.org
/
ddiss
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
winbind: add conditional child dispatch type
[ddiss/samba.git]
/
source3
/
winbindd
/
winbindd_locator.c
diff --git
a/source3/winbindd/winbindd_locator.c
b/source3/winbindd/winbindd_locator.c
index 59e8614fdbcc9a30807a4389d2bfb07cc131af89..11545703d8cf3bc45aea1bd310f60f8a7dcd8a3f 100644
(file)
--- a/
source3/winbindd/winbindd_locator.c
+++ b/
source3/winbindd/winbindd_locator.c
@@
-38,11
+38,13
@@
static const struct winbindd_child_dispatch_table locator_dispatch_table[] = {
{
.name = "PING",
.struct_cmd = WINBINDD_PING,
{
.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,
},{
.name = "NDRCMD",
.struct_cmd = WINBINDD_DUAL_NDRCMD,
- .struct_fn = winbindd_dual_ndrcmd,
+ .type = WINBINDD_CHILD_DISPATCH_SYNC,
+ .sync.struct_fn = winbindd_dual_ndrcmd,
},{
.name = NULL,
}
},{
.name = NULL,
}