summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-10-08 12:25:57 +0000
committerStefan Metzmacher <metze@sernet.de>2007-10-22 08:46:11 +0200
commit3d9a578064d46e595a51af5896a51db47bd2da4e (patch)
tree5d6a43d76c899d203c83a7f42df12ec0f468c551 /source3/winbindd/winbindd.h
parent6ded271f7719483faee19aba502d787a279c1689 (diff)
downloadsamba-3d9a578064d46e595a51af5896a51db47bd2da4e.tar.gz
samba-3d9a578064d46e595a51af5896a51db47bd2da4e.tar.bz2
samba-3d9a578064d46e595a51af5896a51db47bd2da4e.zip
r25571: split up child_dispatch_table into domain, idmap and locator tables
metze (cherry picked from commit abbb36a37c1dba2218a6c7ec31739eba5f250127) (This used to be commit 5af1b45ed31043f952ec141d0f5f2973aec69d1a)
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 5fc083f7a9..e4b1396cac 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 */