diff options
author | Kai Blin <kai@samba.org> | 2009-04-23 16:37:11 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-02-11 23:56:35 +0100 |
commit | ea055e8c7905ec5d229fd5b50ca9ec8f60073b53 (patch) | |
tree | 1fbb879a3bb2ff7b273c512dbec6e4b86b694521 /source4/libcli/wbclient | |
parent | 86d70ae94425c34fcb7cc7791a6e54b1a47f21cc (diff) | |
download | samba-ea055e8c7905ec5d229fd5b50ca9ec8f60073b53.tar.gz samba-ea055e8c7905ec5d229fd5b50ca9ec8f60073b53.tar.bz2 samba-ea055e8c7905ec5d229fd5b50ca9ec8f60073b53.zip |
s4: Switch to S3-style id mapping data types.
Diffstat (limited to 'source4/libcli/wbclient')
-rw-r--r-- | source4/libcli/wbclient/wbclient.c | 10 | ||||
-rw-r--r-- | source4/libcli/wbclient/wbclient.h | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source4/libcli/wbclient/wbclient.c b/source4/libcli/wbclient/wbclient.c index da7d678da9..ed722788ad 100644 --- a/source4/libcli/wbclient/wbclient.c +++ b/source4/libcli/wbclient/wbclient.c @@ -74,7 +74,7 @@ struct wbc_idmap_state { struct composite_context *ctx; struct winbind_get_idmap *req; struct irpc_request *irpc_req; - struct id_mapping *ids; + struct id_map *ids; }; static void sids_to_xids_recv_ids(struct irpc_request *req); @@ -82,7 +82,7 @@ static void sids_to_xids_recv_ids(struct irpc_request *req); struct composite_context *wbc_sids_to_xids_send(struct wbc_context *wbc_ctx, TALLOC_CTX *mem_ctx, uint32_t count, - struct id_mapping *ids) + struct id_map *ids) { struct composite_context *ctx; struct wbc_idmap_state *state; @@ -128,7 +128,7 @@ static void sids_to_xids_recv_ids(struct irpc_request *req) } NTSTATUS wbc_sids_to_xids_recv(struct composite_context *ctx, - struct id_mapping **ids) + struct id_map **ids) { NTSTATUS status = composite_wait(ctx); DEBUG(5, ("wbc_sids_to_xids_recv called\n")); @@ -147,7 +147,7 @@ static void xids_to_sids_recv_ids(struct irpc_request *req); struct composite_context *wbc_xids_to_sids_send(struct wbc_context *wbc_ctx, TALLOC_CTX *mem_ctx, uint32_t count, - struct id_mapping *ids) + struct id_map *ids) { struct composite_context *ctx; struct wbc_idmap_state *state; @@ -194,7 +194,7 @@ static void xids_to_sids_recv_ids(struct irpc_request *req) } NTSTATUS wbc_xids_to_sids_recv(struct composite_context *ctx, - struct id_mapping **ids) + struct id_map **ids) { NTSTATUS status = composite_wait(ctx); DEBUG(5, ("wbc_xids_to_sids_recv called\n")); diff --git a/source4/libcli/wbclient/wbclient.h b/source4/libcli/wbclient/wbclient.h index 416dc78324..28b2df9b3d 100644 --- a/source4/libcli/wbclient/wbclient.h +++ b/source4/libcli/wbclient/wbclient.h @@ -35,16 +35,16 @@ struct wbc_context *wbc_init(TALLOC_CTX *mem_ctx, struct composite_context *wbc_sids_to_xids_send(struct wbc_context *wbc_ctx, TALLOC_CTX *mem_ctx, uint32_t count, - struct id_mapping *ids); + struct id_map *ids); NTSTATUS wbc_sids_to_xids_recv(struct composite_context *ctx, - struct id_mapping **ids); + struct id_map **ids); struct composite_context *wbc_xids_to_sids_send(struct wbc_context *wbc_ctx, TALLOC_CTX *mem_ctx, uint32_t count, - struct id_mapping *ids); + struct id_map *ids); NTSTATUS wbc_xids_to_sids_recv(struct composite_context *ctx, - struct id_mapping **ids); + struct id_map **ids); |