1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-03 13:47:25 +03:00

s3-proto: move more librpc prototypes to librpc/rpc/dcerpc.h

Guenther
This commit is contained in:
Günther Deschner 2011-04-29 15:13:55 +02:00
parent d6289641f5
commit faf1175125
3 changed files with 10 additions and 8 deletions

View File

@ -2619,14 +2619,6 @@ void set_server_role(void);
uint32 get_int_param( const char* param );
char* get_string_param( const char* param );
/* 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);
const char *get_pipe_name_from_syntax(TALLOC_CTX *mem_ctx,
const struct ndr_syntax_id *syntax);
/* The following definitions come from rpc_server/rpc_ncacn_np.c */
struct auth_serversupplied_info;
struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
@ -2635,6 +2627,7 @@ struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
const struct auth_serversupplied_info *session_info,
struct messaging_context *msg_ctx);
struct dcerpc_binding_handle;
struct ndr_interface_table;
NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
const struct ndr_interface_table *ndr_table,
struct client_address *client_id,

View File

@ -75,4 +75,12 @@ NTSTATUS dcerpc_check_auth(struct pipe_auth_data *auth,
DATA_BLOB *raw_pkt,
size_t *pad_len);
/* The following definitions come from librpc/rpc/rpc_common.c */
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);
const char *get_pipe_name_from_syntax(TALLOC_CTX *mem_ctx,
const struct ndr_syntax_id *syntax);
#endif /* __S3_DCERPC_H__ */

View File

@ -18,6 +18,7 @@
*/
#include "includes.h"
#include "librpc/rpc/dcerpc.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
#include "../librpc/gen_ndr/ndr_dssetup.h"
#include "../librpc/gen_ndr/ndr_samr.h"