summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-02-20 10:11:40 +0000
committerAndrew Tridgell <tridge@samba.org>2001-02-20 10:11:40 +0000
commitc565c98723f1fab04d47ae6076d742c8ee2dcb49 (patch)
tree6666eba5ae7ab3feb4d18133df65d4cac4675908 /source3/include/proto.h
parent6492d6b2f6a2743f5e794447911cbbba7e031d5d (diff)
downloadsamba-c565c98723f1fab04d47ae6076d742c8ee2dcb49.tar.gz
samba-c565c98723f1fab04d47ae6076d742c8ee2dcb49.tar.bz2
samba-c565c98723f1fab04d47ae6076d742c8ee2dcb49.zip
pipe opening now works with unicode
(This used to be commit ba3ce3404e1cd2e9da3ba1708f6fc8a12c085ef2)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 2e3800256d..6efb6f99e4 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -859,7 +859,7 @@ int cli_printjob_del(struct cli_state *cli, int job);
/*The following definitions come from libsmb/clirap.c */
-BOOL cli_api_pipe(struct cli_state *cli, char *pipe_name, int pipe_name_len,
+BOOL cli_api_pipe(struct cli_state *cli, char *pipe_name,
uint16 *setup, uint32 setup_count, uint32 max_setup_count,
char *params, uint32 param_count, uint32 max_param_count,
char *data, uint32 data_count, uint32 max_data_count,
@@ -906,7 +906,7 @@ BOOL cli_set_secdesc(struct cli_state *cli,int fd, SEC_DESC *sd);
/*The following definitions come from libsmb/clistr.c */
int clistr_push(struct cli_state *cli, void *dest, char *src, int dest_len, int flags);
-int clistr_push_size(struct cli_state *cli, char *src, int dest_len, int flags);
+int clistr_push_size(struct cli_state *cli, void *dest, char *src, int dest_len, int flags);
int clistr_pull(struct cli_state *cli, char *dest, void *src, int dest_len, int src_len, int flags);
int clistr_pull_size(struct cli_state *cli, void *src, int src_len);
int clistr_align(struct cli_state *cli, int offset);
@@ -914,7 +914,7 @@ int clistr_align(struct cli_state *cli, int offset);
/*The following definitions come from libsmb/clitrans.c */
BOOL cli_send_trans(struct cli_state *cli, int trans,
- char *name, int pipe_name_len,
+ char *pipe_name,
int fid, int flags,
uint16 *setup, int lsetup, int msetup,
char *param, int lparam, int mparam,