summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-19 04:01:16 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-19 04:01:16 +0000
commit612682354fa978d7b883028b3aace52a2882adca (patch)
tree9c0067c0162178774ce251422370991663fd85aa /source3/include
parentd2db520692898c317acc2eba78f88f8398a1fd21 (diff)
downloadsamba-612682354fa978d7b883028b3aace52a2882adca.tar.gz
samba-612682354fa978d7b883028b3aace52a2882adca.tar.bz2
samba-612682354fa978d7b883028b3aace52a2882adca.zip
- got rid of the "passive" option
- cleaned up the standard_sub_*() calls a lot (This used to be commit 2c2d95d77d3667eaa9252506a82b9054b0d0e01c)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9d1c158cef..8432073915 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -197,10 +197,11 @@ int smbrun(char *cmd,char *outfile,BOOL shared);
/*The following definitions come from lib/substitute.c */
-void standard_sub_basic(char *str);
-void standard_sub_advanced(int snum, char *user, char *connectpath, gid_t gid, char *str);
-void standard_sub(connection_struct *conn, char *str);
+void standard_sub_conn(connection_struct *conn, char *str);
void standard_sub_snum(int snum, char *str);
+void standard_sub_basic(char *str);
+void standard_sub_vuser(char *str, user_struct *vuser);
+void standard_sub_vsnum(char *str, user_struct *vuser, int snum);
/*The following definitions come from lib/system.c */
@@ -567,6 +568,15 @@ smb_ucs2_t *string_truncate_w(smb_ucs2_t *s, size_t length);
int cli_set_port(struct cli_state *cli, int port);
char *cli_errstr(struct cli_state *cli);
+void cli_safe_smb_errstr(struct cli_state *cli, char *msg, size_t len);
+BOOL get_safe_rap_errstr(int rap_error, char *err_msg, size_t msglen);
+void cli_safe_errstr(struct cli_state *cli, char *err_msg, size_t msglen);
+BOOL cli_send_trans(struct cli_state *cli, int trans,
+ char *name, int pipe_name_len,
+ int fid, int flags,
+ uint16 *setup, int lsetup, int msetup,
+ char *param, int lparam, int mparam,
+ char *data, int ldata, int mdata);
BOOL cli_api_pipe(struct cli_state *cli, char *pipe_name, int pipe_name_len,
uint16 *setup, uint32 setup_count, uint32 max_setup_count,
char *params, uint32 param_count, uint32 max_param_count,