Lines Matching refs:retcode
275 int verbose, int *retcode) in ftpLogin() argument
278 return ftpLoginAf(host, AF_UNSPEC, user, passwd, port, verbose, retcode); in ftpLogin()
280 return ftpLoginAf(host, AF_INET, user, passwd, port, verbose, retcode); in ftpLogin()
286 int port, int verbose, int *retcode) in ftpLoginAf() argument
291 if (retcode) in ftpLoginAf()
292 *retcode = 0; in ftpLoginAf()
301 if (retcode) { in ftpLoginAf()
303 *retcode = (FtpTimedOut ? FTP_TIMED_OUT : -1); in ftpLoginAf()
307 *retcode = FTP_TIMED_OUT; /* Actually no such host, but we have no way of saying that. :-( */ in ftpLoginAf()
311 *retcode = FTP_TIMED_OUT; in ftpLoginAf()
315 *retcode = n->error; in ftpLoginAf()
344 ftpGetURL(const char *url, const char *user, const char *passwd, int *retcode) in ftpGetURL() argument
347 return ftpGetURLAf(url, AF_UNSPEC, user, passwd, retcode); in ftpGetURL()
349 return ftpGetURLAf(url, AF_INET, user, passwd, retcode); in ftpGetURL()
355 int *retcode) in ftpGetURLAf() argument
363 if (retcode) in ftpGetURLAf()
364 *retcode = 0; in ftpGetURLAf()
387 fp = ftpLoginAf(host, af, user, passwd, port, 0, retcode); in ftpGetURLAf()
392 if (retcode) in ftpGetURLAf()
393 *retcode = ftpErrno(fp); in ftpGetURLAf()
406 ftpPutURL(const char *url, const char *user, const char *passwd, int *retcode) in ftpPutURL() argument
409 return ftpPutURLAf(url, AF_UNSPEC, user, passwd, retcode); in ftpPutURL()
411 return ftpPutURLAf(url, AF_INET, user, passwd, retcode); in ftpPutURL()
418 int *retcode) in ftpPutURLAf() argument
425 if (retcode) in ftpPutURLAf()
426 *retcode = 0; in ftpPutURLAf()
433 fp = ftpLoginAf(host, af, user, passwd, port, 0, retcode); in ftpPutURLAf()
437 if (retcode) in ftpPutURLAf()
438 *retcode = ftpErrno(fp); in ftpPutURLAf()