summaryrefslogtreecommitdiffstats
path: root/source/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
commit4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf (patch)
tree0899d0919ff63069b8422ad3f7335f32b85ee4e4 /source/winbindd/winbindd_locator.c
parentde31913f0a4fd407d935ec4e27a6123ab7847ab5 (diff)
downloadsamba-4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf.tar.gz
samba-4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf.tar.xz
samba-4ab9a8aab72a8406659a72e87b2d2a1ec2a2eabf.zip
winbindd: rename child table struct elements
Add struct_ prefix to struct based protocol specific elemetens struct winbindd_child_dispatch_table. metze
Diffstat (limited to 'source/winbindd/winbindd_locator.c')
-rw-r--r--source/winbindd/winbindd_locator.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source/winbindd/winbindd_locator.c b/source/winbindd/winbindd_locator.c
index 7db2e2ada06..67bafc7c075 100644
--- a/source/winbindd/winbindd_locator.c
+++ b/source/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,
+ }
};