Searched refs:slash_pos (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dssh.h138 char *slash_pos; /* used by the SFTP_CREATE_DIRS state */ member in struct:ssh_conn
H A Dftp.c4199 const char *slash_pos; /* position of the first '/' char in curpos */ local
4240 slash_pos=strrchr(cur_pos, '/');
4241 if(slash_pos || !*cur_pos) {
4242 size_t dirlen = slash_pos-cur_pos;
4251 ftpc->dirs[0] = curl_easy_unescape(conn->data, slash_pos ? cur_pos : "/",
4252 slash_pos ? curlx_uztosi(dirlen) : 1,
4259 filename = slash_pos ? slash_pos+1 : cur_pos; /* rest is file name */
4281 while((slash_pos = strchr(cur_pos, '/')) != NULL) {
4287 if(slash_pos
[all...]
H A Dssh.c1764 sshc->slash_pos = sftp_scp->path + 1; /* ignore the leading '/' */
1773 if((sshc->slash_pos = strchr(sshc->slash_pos, '/')) != NULL) {
1774 *sshc->slash_pos = 0;
1793 *sshc->slash_pos = '/';
1794 ++sshc->slash_pos;

Completed in 70 milliseconds