summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-08 12:25:57 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:15 -0500
commit3c3b9afe7f229a69d051db8a08ece6ec9349e0a0 (patch)
treef766b0c27a3897ce0d7c0109d3ec63ba59d9c049 /source3/winbindd/winbindd.h
parent971cc997debc82a86a653757d0fb16c8d748345f (diff)
downloadsamba-3c3b9afe7f229a69d051db8a08ece6ec9349e0a0.tar.gz
samba-3c3b9afe7f229a69d051db8a08ece6ec9349e0a0.tar.bz2
samba-3c3b9afe7f229a69d051db8a08ece6ec9349e0a0.zip
r25571: split up child_dispatch_table into domain, idmap and locator tables
metze (This used to be commit abbb36a37c1dba2218a6c7ec31739eba5f250127)
Diffstat (limited to 'source3/winbindd/winbindd.h')
-rw-r--r--source3/winbindd/winbindd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd.h b/source3/winbindd/winbindd.h
index e7119c332f..d61254af4a 100644
--- a/source3/winbindd/winbindd.h
+++ b/source3/winbindd/winbindd.h
@@ -134,6 +134,17 @@ struct winbindd_async_request;
/* Async child */
+struct winbindd_domain;
+
+struct winbindd_child_dispatch_table {
+ enum winbindd_cmd cmd;
+ enum winbindd_result (*fn)(struct winbindd_domain *domain,
+ struct winbindd_cli_state *state);
+ const char *winbindd_cmd_name;
+};
+
+extern const struct winbindd_child_dispatch_table domain_dispatch_table[];
+
struct winbindd_child {
struct winbindd_child *next, *prev;
@@ -144,6 +155,8 @@ struct winbindd_child {
struct fd_event event;
struct timed_event *lockout_policy_event;
struct winbindd_async_request *requests;
+
+ const struct winbindd_child_dispatch_table *table;
};
/* Structures to hold per domain information */