[SCM] Samba Shared Repository - branch v3-3-test updated -
release-3-2-0pre2-3417-g256c93a
Volker Lendecke
vlendec at samba.org
Sat Jul 26 09:23:46 GMT 2008
The branch, v3-3-test has been updated
via 256c93a8b3d4d9a4e52a656c91b89a043a087066 (commit)
from fc8641443951dc852dc9cf1e73626df452b815f7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test
- Log -----------------------------------------------------------------
commit 256c93a8b3d4d9a4e52a656c91b89a043a087066
Author: Volker Lendecke <vl at samba.org>
Date: Sat Jul 26 11:25:24 2008 +0200
Make api_rpcTNP static to srv_pipe.c
-----------------------------------------------------------------------
Summary of changes:
source/include/proto.h | 2 --
source/rpc_server/srv_pipe.c | 7 +++++--
2 files changed, 5 insertions(+), 4 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/include/proto.h b/source/include/proto.h
index f31eee8..47986ee 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -8826,8 +8826,6 @@ bool api_pipe_schannel_process(pipes_struct *p, prs_struct *rpc_in, uint32 *p_ss
struct current_user *get_current_user(struct current_user *user, pipes_struct *p);
void free_pipe_rpc_context( PIPE_RPC_FNS *list );
bool api_pipe_request(pipes_struct *p);
-bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
- const struct api_struct *api_rpc_cmds, int n_cmds);
/* The following definitions come from rpc_server/srv_pipe_hnd.c */
diff --git a/source/rpc_server/srv_pipe.c b/source/rpc_server/srv_pipe.c
index 7b066d3..be7d3db 100644
--- a/source/rpc_server/srv_pipe.c
+++ b/source/rpc_server/srv_pipe.c
@@ -2284,6 +2284,9 @@ void free_pipe_rpc_context( PIPE_RPC_FNS *list )
return;
}
+static bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
+ const struct api_struct *api_rpc_cmds, int n_cmds);
+
/****************************************************************************
Find the correct RPC function to call for this request.
If the pipe is authenticated then become the correct UNIX user
@@ -2333,8 +2336,8 @@ bool api_pipe_request(pipes_struct *p)
Calls the underlying RPC function for a named pipe.
********************************************************************/
-bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
- const struct api_struct *api_rpc_cmds, int n_cmds)
+static bool api_rpcTNP(pipes_struct *p, const char *rpc_name,
+ const struct api_struct *api_rpc_cmds, int n_cmds)
{
int fn_num;
fstring name;
--
Samba Shared Repository
More information about the samba-cvs
mailing list