diff options
author | Volker Lendecke <vl@samba.org> | 2009-08-24 00:13:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-08-27 15:04:09 +0200 |
commit | f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb (patch) | |
tree | ded7ed669abc08a5329f21edc9a879a42ae1d45d /source3/winbindd/winbindd_proto.h | |
parent | 3532c8b9d831c8122de871db62d17608ff24f409 (diff) | |
download | samba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.tar.gz samba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.tar.bz2 samba-f3d71d3e8c1e9c98df38ef5f8c547ff2780e9cfb.zip |
s3:winbind: Add a generic cache for NDR based parent-child requests
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r-- | source3/winbindd/winbindd_proto.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index 5ef61ded42..3ab95c1ba6 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -210,6 +210,10 @@ NTSTATUS nss_get_info_cached( struct winbindd_domain *domain, ADS_STRUCT *ads, LDAPMessage *msg, const char **homedir, const char **shell, const char **gecos, gid_t *p_gid); +bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain, + uint32_t opnum, const DATA_BLOB *req, DATA_BLOB *resp); +void wcache_store_ndr(struct winbindd_domain *domain, uint32_t opnum, + const DATA_BLOB *req, const DATA_BLOB *resp); /* The following definitions come from winbindd/winbindd_ccache_access.c */ @@ -324,7 +328,7 @@ void sendto_child(struct winbindd_cli_state *state, struct winbindd_child *child); void sendto_domain(struct winbindd_cli_state *state, struct winbindd_domain *domain); -void setup_child(struct winbindd_child *child, +void setup_child(struct winbindd_domain *domain, struct winbindd_child *child, const struct winbindd_child_dispatch_table *table, const char *logprefix, const char *logname); @@ -641,6 +645,7 @@ enum winbindd_result winbindd_dual_ping(struct winbindd_domain *domain, struct winbindd_cli_state *state); struct rpc_pipe_client *wbint_rpccli_create(TALLOC_CTX *mem_ctx, + struct winbindd_domain *domain, struct winbindd_child *child); enum winbindd_result winbindd_dual_ndrcmd(struct winbindd_domain *domain, struct winbindd_cli_state *state); |