summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_locator.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@sernet.de>2007-12-07 16:00:45 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-11 12:56:24 +0100
commit35608af51d4f01c5fe4ed1d91c9261dcaa49f4af (patch)
tree78aabcabf202b44be2fb19f72c3e162a44b8a3ba /source3/winbindd/winbindd_locator.c
parent92482e5667c9bc5ea99f4ffd1b6eab2847a6805a (diff)
downloadsamba-35608af51d4f01c5fe4ed1d91c9261dcaa49f4af.tar.gz
samba-35608af51d4f01c5fe4ed1d91c9261dcaa49f4af.tar.bz2
samba-35608af51d4f01c5fe4ed1d91c9261dcaa49f4af.zip
winbindd: rename child table struct elements
Add struct_ prefix to struct based protocol specific elemetens struct winbindd_child_dispatch_table. metze (This used to be commit 4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf)
Diffstat (limited to 'source3/winbindd/winbindd_locator.c')
-rw-r--r--source3/winbindd/winbindd_locator.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/winbindd/winbindd_locator.c b/source3/winbindd/winbindd_locator.c
index 7db2e2ada0..67bafc7c07 100644
--- a/source3/winbindd/winbindd_locator.c
+++ b/source3/winbindd/winbindd_locator.c
@@ -96,7 +96,11 @@ static enum winbindd_result dual_dsgetdcname(struct winbindd_domain *domain,
}
static const struct winbindd_child_dispatch_table locator_dispatch_table[] = {
- { WINBINDD_DSGETDCNAME, dual_dsgetdcname, "DSGETDCNAME" },
-
- { WINBINDD_NUM_CMDS, NULL, "NONE" }
+ {
+ .name = "DSGETDCNAME",
+ .struct_cmd = WINBINDD_DSGETDCNAME,
+ .struct_fn = dual_dsgetdcname,
+ },{
+ .name = NULL,
+ }
};