Home
last modified time | relevance | path

Searched refs:sftp_conn (Results 1 – 7 of 7) sorted by relevance

/freebsd/crypto/openssh/
H A Dsftp-client.h73 struct sftp_conn *sftp_init(int, int, u_int, u_int, u_int64_t);
75 u_int sftp_proto_version(struct sftp_conn *);
78 int sftp_get_limits(struct sftp_conn *, struct sftp_limits *);
81 int sftp_close(struct sftp_conn *, const u_char *, u_int);
84 int sftp_readdir(struct sftp_conn *, const char *, SFTP_DIRENT ***);
90 int sftp_rm(struct sftp_conn *, const char *);
93 int sftp_mkdir(struct sftp_conn *, const char *, Attrib *, int);
96 int sftp_rmdir(struct sftp_conn *, const char *);
99 int sftp_stat(struct sftp_conn *, const char *, int, Attrib *);
102 int sftp_lstat(struct sftp_conn *, const char *, int, Attrib *);
[all …]
H A Dsftp-client.c90 struct sftp_conn { struct
123 get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, argument
164 send_msg(struct sftp_conn *conn, struct sshbuf *m) in send_msg()
188 get_msg_extended(struct sftp_conn *conn, struct sshbuf *m, int initial) in get_msg_extended()
227 get_msg(struct sftp_conn *conn, struct sshbuf *m) in get_msg()
233 send_string_request(struct sftp_conn *conn, u_int id, u_int code, const char *s, in send_string_request()
251 send_string_attrs_request(struct sftp_conn *conn, u_int id, u_int code, in send_string_attrs_request()
271 get_status(struct sftp_conn *conn, u_int expected_id) in get_status()
301 get_handle(struct sftp_conn *conn, u_int expected_id, size_t *len, in get_handle()
346 get_decode_stat(struct sftp_conn *conn, u_int expected_id, int quiet, Attrib *a) in get_decode_stat()
[all …]
H A Dsftp-usergroup.h20 void get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g);
21 void get_remote_user_groups_from_dirents(struct sftp_conn *conn, SFTP_DIRENT **d);
H A Dsftp-glob.c35 int sftp_glob(struct sftp_conn *, const char *, int,
44 struct sftp_conn *conn;
137 sftp_glob(struct sftp_conn *conn, const char *pattern, int flags, in sftp_glob()
H A Dsftp-usergroup.c102 lookup_and_record(struct sftp_conn *conn, in lookup_and_record()
175 get_remote_user_groups_from_glob(struct sftp_conn *conn, glob_t *g) in get_remote_user_groups_from_glob()
214 get_remote_user_groups_from_dirents(struct sftp_conn *conn, SFTP_DIRENT **d) in get_remote_user_groups_from_dirents()
H A Dscp.c189 int sftp_glob(struct sftp_conn *, const char *, int,
466 void source_sftp(int, char *, char *, struct sftp_conn *);
467 void sink_sftp(int, char *, const char *, struct sftp_conn *);
468 void throughlocal_sftp(struct sftp_conn *, struct sftp_conn *,
1017 static struct sftp_conn *
1043 struct sftp_conn *conn = NULL, *conn2 = NULL; in toremote()
1239 struct sftp_conn *conn = NULL; in tolocal()
1315 prepare_remote_path(struct sftp_conn *conn, const char *path) in prepare_remote_path()
1338 source_sftp(int argc, char *src, char *targ, struct sftp_conn *conn) in source_sftp()
1552 sink_sftp(int argc, char *dst, const char *src, struct sftp_conn *conn) in sink_sftp()
[all …]
H A Dsftp.c109 struct sftp_conn *conn;
113 int sftp_glob(struct sftp_conn *, const char *, int,
649 process_get(struct sftp_conn *conn, const char *src, const char *dst, in process_get()
734 process_put(struct sftp_conn *conn, const char *src, const char *dst, in process_put()
849 do_ls_dir(struct sftp_conn *conn, const char *path, in do_ls_dir()
970 do_globbed_ls(struct sftp_conn *conn, const char *path, in do_globbed_ls()
1080 do_df(struct sftp_conn *conn, const char *path, int hflag, int iflag) in do_df()
1551 parse_dispatch_command(struct sftp_conn *conn, const char *cmd, char **pwd, in parse_dispatch_command()
2001 complete_match(EditLine *el, struct sftp_conn *conn, char *remote_path, in complete_match()
2208 interactive_loop(struct sftp_conn *conn, char *file1, char *file2) in interactive_loop()
[all …]