From 9c6f78aae195c286818f91405b983b127ae17402 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 6 Apr 2011 15:16:53 +0200 Subject: s3: add some forward declarations. Guenther --- source3/include/proto.h | 5 +++-- source3/winbindd/winbindd_proto.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index c550be212c..a26805a9a4 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2691,7 +2691,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); @@ -2705,6 +2705,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, @@ -2777,7 +2778,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 e66b675e23..a9d5659f98 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); -- cgit