diff options
author | Günther Deschner <gd@samba.org> | 2011-04-06 15:16:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-04-12 12:20:43 +0200 |
commit | 9c6f78aae195c286818f91405b983b127ae17402 (patch) | |
tree | b93ffaef05407f0ed9711ad0ec9d8b1ebe679d0b | |
parent | 7ea03840fc817b21d7d333aebc6bbaeded9a0485 (diff) | |
download | samba-9c6f78aae195c286818f91405b983b127ae17402.tar.gz samba-9c6f78aae195c286818f91405b983b127ae17402.tar.bz2 samba-9c6f78aae195c286818f91405b983b127ae17402.zip |
s3: add some forward declarations.
Guenther
-rw-r--r-- | libcli/samsync/samsync.h | 2 | ||||
-rw-r--r-- | source3/include/proto.h | 5 | ||||
-rw-r--r-- | 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 df76f1b17b..0cd55e494c 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 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); |