mirror of
https://github.com/samba-team/samba.git
synced 2025-01-26 10:04:02 +03:00
s3-dcerpc: make a few local functions as static
This commit is contained in:
parent
9a9a38c666
commit
7b12513d12
@ -4742,10 +4742,6 @@ NTSTATUS rpc_pipe_register_commands(int version, const char *clnt,
|
||||
const struct ndr_syntax_id *interface,
|
||||
const struct api_struct *cmds, int size);
|
||||
bool is_known_pipename(const char *cli_filename, struct ndr_syntax_id *syntax);
|
||||
bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt);
|
||||
bool api_pipe_alter_context(struct pipes_struct *p, struct ncacn_packet *pkt);
|
||||
void free_pipe_rpc_context( PIPE_RPC_FNS *list );
|
||||
bool api_pipe_request(struct pipes_struct *p, struct ncacn_packet *pkt);
|
||||
|
||||
/* The following definitions come from rpc_server/srv_pipe_hnd.c */
|
||||
|
||||
|
@ -982,7 +982,8 @@ static bool pipe_ntlmssp_auth_bind(struct pipes_struct *p,
|
||||
Respond to a pipe bind request.
|
||||
*******************************************************************/
|
||||
|
||||
bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt)
|
||||
static bool api_pipe_bind_req(struct pipes_struct *p,
|
||||
struct ncacn_packet *pkt)
|
||||
{
|
||||
struct dcerpc_auth auth_info;
|
||||
uint16 assoc_gid;
|
||||
@ -1263,7 +1264,8 @@ bool api_pipe_bind_req(struct pipes_struct *p, struct ncacn_packet *pkt)
|
||||
SPNEGO calls.
|
||||
****************************************************************************/
|
||||
|
||||
bool api_pipe_alter_context(struct pipes_struct *p, struct ncacn_packet *pkt)
|
||||
static bool api_pipe_alter_context(struct pipes_struct *p,
|
||||
struct ncacn_packet *pkt)
|
||||
{
|
||||
struct dcerpc_auth auth_info;
|
||||
uint16 assoc_gid;
|
||||
@ -1481,7 +1483,7 @@ static PIPE_RPC_FNS* find_pipe_fns_by_context( PIPE_RPC_FNS *list, uint32 contex
|
||||
Memory cleanup.
|
||||
****************************************************************************/
|
||||
|
||||
void free_pipe_rpc_context( PIPE_RPC_FNS *list )
|
||||
static void free_pipe_rpc_context( PIPE_RPC_FNS *list )
|
||||
{
|
||||
PIPE_RPC_FNS *tmp = list;
|
||||
PIPE_RPC_FNS *tmp2;
|
||||
@ -1504,7 +1506,8 @@ static bool api_rpcTNP(struct pipes_struct *p, struct ncacn_packet *pkt,
|
||||
before doing the call.
|
||||
****************************************************************************/
|
||||
|
||||
bool api_pipe_request(struct pipes_struct *p, struct ncacn_packet *pkt)
|
||||
static bool api_pipe_request(struct pipes_struct *p,
|
||||
struct ncacn_packet *pkt)
|
||||
{
|
||||
bool ret = False;
|
||||
bool changed_user = False;
|
||||
|
Loading…
x
Reference in New Issue
Block a user