1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

s3-proto: remove duplicate prototypes.

Guenther
This commit is contained in:
Günther Deschner 2011-04-29 16:20:27 +02:00
parent 487cb0c96e
commit bc781bf7d9
6 changed files with 9 additions and 29 deletions

View File

@ -2619,34 +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 rpc_server/rpc_ncacn_np.c */
struct auth_serversupplied_info;
struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
const struct ndr_syntax_id *syntax,
struct client_address *client_id,
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,
const struct auth_serversupplied_info *session_info,
struct messaging_context *msg_ctx,
struct dcerpc_binding_handle **binding_handle);
NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
const struct ndr_syntax_id *abstract_syntax,
const struct auth_serversupplied_info *serversupplied_info,
struct client_address *client_id,
struct messaging_context *msg_ctx,
struct rpc_pipe_client **presult);
NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
const struct ndr_syntax_id *syntax,
const struct auth_serversupplied_info *session_info,
struct client_address *client_id,
struct messaging_context *msg_ctx,
struct rpc_pipe_client **cli_pipe);
/* The following definitions come from rpc_server/srv_rpc_register.c */
struct rpc_srv_callbacks {
@ -2656,6 +2628,8 @@ struct rpc_srv_callbacks {
};
struct api_struct;
struct ndr_interface_table;
struct pipes_struct;
NTSTATUS rpc_srv_register(int version, const char *clnt,
const char *srv,
const struct ndr_interface_table *iface,

View File

@ -29,6 +29,8 @@
} \
return fn ## _r(ctx, r);
struct dcerpc_binding_handle;
struct libnetapi_private_ctx {
struct {
const char *domain_name;

View File

@ -23,6 +23,7 @@
#include "../librpc/gen_ndr/ndr_epmapper_c.h"
#include "rpc_client/cli_pipe.h"
#include "auth.h"
#include "rpc_server/rpc_ncacn_np.h"
#define EPM_MAX_ANNOTATION_SIZE 64

View File

@ -23,6 +23,7 @@
#define CLI_WINREG_INT_H
struct auth_serversupplied_info;
struct dcerpc_binding_handle;
/**
* @brief Connect to the interal winreg server and open the given key.

View File

@ -20,6 +20,8 @@
#ifndef _RPC_NCACN_NP_H_
#define _RPC_NCACN_NP_H_
struct dcerpc_binding_handle;
struct np_proxy_state {
uint16_t file_type;
uint16_t device_state;
@ -57,5 +59,4 @@ NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
struct client_address *client_id,
struct messaging_context *msg_ctx,
struct rpc_pipe_client **cli_pipe);
#endif /* _RPC_NCACN_NP_H_ */

View File

@ -42,6 +42,7 @@
#include "printing.h"
#include "passdb/machine_sid.h"
#include "auth.h"
#include "rpc_server/rpc_ncacn_np.h"
#ifdef CHECK_TYPES
#undef CHECK_TYPES