Files
source/Y/sock.html
github-actions[bot] 08571174ab Deploy to GitHub Pages
2026-02-01 17:32:02 +00:00

81 lines
12 KiB
HTML

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>sock</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.11' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1608'>sock</a> 1608 lib/vfs/direntry.c vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1616'>sock</a> 1616 lib/vfs/direntry.c if (read (sock, buf, sizeof (char)) &lt;= 0)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1639'>sock</a> 1639 lib/vfs/direntry.c while (read (sock, &amp;c, sizeof (c)) &gt; 0)</span>
<span class='curline'><a href='../S/lib--vfs--xdirentry.h.html#L191'>sock</a> 191 lib/vfs/xdirentry.h int vfs_s_get_line (struct vfs_class *me, int sock, char *buf, int buf_len, char term);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L159'>sock</a> 159 src/vfs/ftpfs/ftpfs.c #define FH_SOCK FTP_FILE_HANDLER (fh)-&gt;sock</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L210'>sock</a> 210 src/vfs/ftpfs/ftpfs.c int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L231'>sock</a> 231 src/vfs/ftpfs/ftpfs.c int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L390'>sock</a> 390 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L396'>sock</a> 396 src/vfs/ftpfs/ftpfs.c if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L418'>sock</a> 418 src/vfs/ftpfs/ftpfs.c if (vfs_s_get_line (me, sock, answer, sizeof (answer), '\n') == 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L444'>sock</a> 444 src/vfs/ftpfs/ftpfs.c int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L446'>sock</a> 446 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_socket (me, super);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L447'>sock</a> 447 src/vfs/ftpfs/ftpfs.c if (sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L451'>sock</a> 451 src/vfs/ftpfs/ftpfs.c close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L452'>sock</a> 452 src/vfs/ftpfs/ftpfs.c ftp_super-&gt;sock = sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L460'>sock</a> 460 src/vfs/ftpfs/ftpfs.c sock = ftpfs_chdir_internal (me, super, cwdir);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L462'>sock</a> 462 src/vfs/ftpfs/ftpfs.c return (sock == COMPLETE);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L507'>sock</a> 507 src/vfs/ftpfs/ftpfs.c status = write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L520'>sock</a> 520 src/vfs/ftpfs/ftpfs.c if (status != 0 &amp;&amp; (write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len) &gt; 0))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L537'>sock</a> 537 src/vfs/ftpfs/ftpfs.c status = ftpfs_get_reply (me, ftp_super-&gt;sock,</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L546'>sock</a> 546 src/vfs/ftpfs/ftpfs.c if (status != 0 &amp;&amp; (write (ftp_super-&gt;sock, cmdstr-&gt;str, cmdstr-&gt;len) &gt; 0))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L568'>sock</a> 568 src/vfs/ftpfs/ftpfs.c arch-&gt;sock = -1;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L583'>sock</a> 583 src/vfs/ftpfs/ftpfs.c if (ftp_super-&gt;sock != -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L587'>sock</a> 587 src/vfs/ftpfs/ftpfs.c close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L662'>sock</a> 662 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp_super-&gt;sock, reply_string, sizeof (reply_string) - 1) == COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L969'>sock</a> 969 src/vfs/ftpfs/ftpfs.c ftp_super-&gt;sock = ftpfs_open_socket (me, super);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L970'>sock</a> 970 src/vfs/ftpfs/ftpfs.c if (ftp_super-&gt;sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L983'>sock</a> 983 src/vfs/ftpfs/ftpfs.c close (ftp_super-&gt;sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1064'>sock</a> 1064 src/vfs/ftpfs/ftpfs.c &amp;&amp; ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, buf, sizeof (buf)) == COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1308'>sock</a> 1308 src/vfs/ftpfs/ftpfs.c result = getpeername (ftp_super-&gt;sock, (struct sockaddr *) data_addr, data_addrlen);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1329'>sock</a> 1329 src/vfs/ftpfs/ftpfs.c result = getsockname (ftp_super-&gt;sock, (struct sockaddr *) data_addr, data_addrlen);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1529'>sock</a> 1529 src/vfs/ftpfs/ftpfs.c if (send (ftp_super-&gt;sock, ipbuf, sizeof (ipbuf), MSG_OOB) != sizeof (ipbuf))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1576'>sock</a> 1576 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) == TRANSIENT) &amp;&amp; (code == 426))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1577'>sock</a> 1577 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1669'>sock</a> 1669 src/vfs/ftpfs/ftpfs.c int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1678'>sock</a> 1678 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (bucket, "LIST -lLa", dir-&gt;remote_path, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1687'>sock</a> 1687 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (bucket, "LIST -lLa", ".", TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1690'>sock</a> 1690 src/vfs/ftpfs/ftpfs.c if (sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1696'>sock</a> 1696 src/vfs/ftpfs/ftpfs.c fp = fdopen (sock, "r");</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1699'>sock</a> 1699 src/vfs/ftpfs/ftpfs.c close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1766'>sock</a> 1766 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1790'>sock</a> 1790 src/vfs/ftpfs/ftpfs.c int sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1817'>sock</a> 1817 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST", 0, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1821'>sock</a> 1821 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", 0, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1828'>sock</a> 1828 src/vfs/ftpfs/ftpfs.c sock = ftpfs_open_data_connection (me, super, "LIST -la", path, TYPE_ASCII, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1832'>sock</a> 1832 src/vfs/ftpfs/ftpfs.c if (sock == -1)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1851'>sock</a> 1851 src/vfs/ftpfs/ftpfs.c while ((res = vfs_s_get_line_interruptible (me, lc_buffer, sizeof (lc_buffer), sock)) != 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1856'>sock</a> 1856 src/vfs/ftpfs/ftpfs.c close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1858'>sock</a> 1858 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1874'>sock</a> 1874 src/vfs/ftpfs/ftpfs.c close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1877'>sock</a> 1877 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) != COMPLETE))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1925'>sock</a> 1925 src/vfs/ftpfs/ftpfs.c int h, sock;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1947'>sock</a> 1947 src/vfs/ftpfs/ftpfs.c sock =</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1949'>sock</a> 1949 src/vfs/ftpfs/ftpfs.c if (sock &lt; 0)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1957'>sock</a> 1957 src/vfs/ftpfs/ftpfs.c setsockopt (sock, SOL_SOCKET, SO_LINGER, (char *) &amp;li, sizeof (li));</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1959'>sock</a> 1959 src/vfs/ftpfs/ftpfs.c setsockopt (sock, SOL_SOCKET, SO_LINGER, &amp;flag_one, sizeof (flag_one));</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L1986'>sock</a> 1986 src/vfs/ftpfs/ftpfs.c while ((n_written = write (sock, w_buf, n_read)) != n_read)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2006'>sock</a> 2006 src/vfs/ftpfs/ftpfs.c close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2010'>sock</a> 2010 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0) != COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2016'>sock</a> 2016 src/vfs/ftpfs/ftpfs.c close (sock);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2020'>sock</a> 2020 src/vfs/ftpfs/ftpfs.c ftpfs_get_reply (me, ftp_super-&gt;sock, NULL, 0);</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2068'>sock</a> 2068 src/vfs/ftpfs/ftpfs.c if ((ftpfs_get_reply (me, FTP_SUPER (super)-&gt;sock, NULL, 0) != COMPLETE))</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2300'>sock</a> 2300 src/vfs/ftpfs/ftpfs.c fh-&gt;sock = -1;</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2395'>sock</a> 2395 src/vfs/ftpfs/ftpfs.c if (ftpfs_get_reply (me, ftp-&gt;sock, NULL, 0) != COMPLETE)</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L245'>sock</a> 245 src/vfs/shell/shell.c shell_get_reply (struct vfs_class *me, int sock, char *string_buf, int string_len)</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L252'>sock</a> 252 src/vfs/shell/shell.c if (!vfs_s_get_line (me, sock, answer, sizeof (answer), '\n'))</span>
</pre>
</body>
</html>