summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-10 19:50:03 +0000
committerJeremy Allison <jra@samba.org>2000-03-10 19:50:03 +0000
commit5e22394654eba2ed5d01e81b165a044a59dd65ab (patch)
tree5d2e03370ee24200bbe8b47b13109c47dc58e1c7 /source3/include/proto.h
parent83ee9372fc18eaef6d00fbc7c1fb68747e2303bb (diff)
downloadsamba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.gz
samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.tar.bz2
samba-5e22394654eba2ed5d01e81b165a044a59dd65ab.zip
Fixups for compiles with gcc flags -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual
Partially implemented rpc daemon redirect (needs more work). Jeremy. (This used to be commit a462191698fa589ceac4afd14c652adf699eccad)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6a09935226..d65c5a5d64 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -812,7 +812,7 @@ int setup_dfs_referral(char* pathname, int max_referral_level,
int dfs_path_error(char* inbuf, char* outbuf);
int setup_dfs_referral(char* pathname, int max_referral_level,
char** ppdata);
-int unistr_to_dos(char* dst,uint16* src) ;
+void unistr_to_dos(char* dst,uint16* src) ;
/*The following definitions come from msdfs/msdfs_tdb.c */
@@ -2609,11 +2609,10 @@ BOOL api_rpcTNP(pipes_struct *p, char *rpc_name, struct api_struct *api_rpc_cmds
void set_pipe_handle_offset(int max_open_files);
void reset_chain_p(void);
void init_rpc_pipe_hnd(void);
-BOOL pipe_init_outgoing_data(output_data *o_data);
pipes_struct *open_rpc_pipe_p(char *pipe_name,
connection_struct *conn, uint16 vuid);
ssize_t write_to_pipe(pipes_struct *p, char *data, size_t n);
-int read_from_pipe(pipes_struct *p, char *data, int n);
+ssize_t read_from_pipe(pipes_struct *p, char *data, size_t n);
BOOL wait_rpc_pipe_hnd_state(pipes_struct *p, uint16 priority);
BOOL set_rpc_pipe_hnd_state(pipes_struct *p, uint16 device_state);
BOOL close_rpc_pipe_hnd(pipes_struct *p, connection_struct *conn);