From d201aa13ed21d98b00ba1fd3829515184dcae597 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 6 Apr 2011 15:16:53 +0200 Subject: [PATCH] s3: add some forward declarations. Guenther (cherry picked from commit 9c6f78aae195c286818f91405b983b127ae17402) (cherry picked from commit 897ccdcae91ff4b3a61e6349dd0f7b8ed1ec6fac) --- libcli/samsync/samsync.h | 2 ++ source3/include/proto.h | 5 +++-- source3/winbindd/winbindd_proto.h | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libcli/samsync/samsync.h b/libcli/samsync/samsync.h index df76f1b17bc..0cd55e494c4 100644 --- a/libcli/samsync/samsync.h +++ b/libcli/samsync/samsync.h @@ -22,6 +22,8 @@ #ifndef __SAMSYNC_SAMSYNC_H__ #define __SAMSYNC_SAMSYNC_H__ +struct netlogon_creds_CredentialState; + /** * Fix up the delta, dealing with encryption issues so that the final * callback need only do the printing or application logic diff --git a/source3/include/proto.h b/source3/include/proto.h index 77ad93d21f5..79a5d8bd038 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2723,7 +2723,7 @@ void set_profile_level(int level, struct server_id src); bool profile_setup(struct messaging_context *msg_ctx, bool rdonly); /* The following definitions come from librpc/rpc/rpc_common.c */ - +struct ndr_interface_table; bool smb_register_ndr_interface(const struct ndr_interface_table *interface); const struct ndr_interface_table *get_iface_from_syntax( const struct ndr_syntax_id *syntax); @@ -2737,6 +2737,7 @@ struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx, struct client_address *client_id, const struct auth_serversupplied_info *session_info, struct messaging_context *msg_ctx); +struct dcerpc_binding_handle; NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx, const struct ndr_interface_table *ndr_table, struct client_address *client_id, @@ -2809,7 +2810,7 @@ NTSTATUS rpc_srv_register(int version, const char *clnt, NTSTATUS rpc_srv_unregister(const struct ndr_interface_table *iface); /* The following definitions come from rpc_server/srv_pipe.c */ - +struct ncacn_packet; bool create_next_pdu(struct pipes_struct *p); bool api_pipe_bind_auth3(struct pipes_struct *p, struct ncacn_packet *pkt); bool setup_fault_pdu(struct pipes_struct *p, NTSTATUS status); diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h index e66b675e231..a9d5659f98f 100644 --- a/source3/winbindd/winbindd_proto.h +++ b/source3/winbindd/winbindd_proto.h @@ -334,7 +334,7 @@ void winbindd_netbios_name(struct winbindd_cli_state *state); void winbindd_priv_pipe_dir(struct winbindd_cli_state *state); /* The following definitions come from winbindd/winbindd_ndr.c */ - +struct ndr_print; void ndr_print_winbindd_child(struct ndr_print *ndr, const char *name, const struct winbindd_child *r); -- 2.11.4.GIT