Home
last modified time | relevance | path

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

/netbsd-src/share/examples/refuse/ian/libfetch/
H A Dftp.c105 static conn_t *cached_connection; variable
591 if (io->cconn == cached_connection && io->cconn->ref == 1) in _ftp_closefn()
592 cached_connection = NULL; in _ftp_closefn()
1018 if (conn == cached_connection && conn->ref == 1) in _ftp_disconnect()
1019 cached_connection = NULL; in _ftp_disconnect()
1029 return (cached_connection in _ftp_isconnected()
1051 e = _ftp_cmd(cached_connection, "NOOP"); in _ftp_cached_connect()
1053 return (_fetch_ref(cached_connection)); in _ftp_cached_connect()
1059 if (cached_connection) in _ftp_cached_connect()
1060 _ftp_disconnect(cached_connection); in _ftp_cached_connect()
[all …]