Shared functions that are private to Connections. More...
#include <stddef.h>
#include <time.h>
Go to the source code of this file.
Functions | |
int | raw_socket_close (struct Connection *conn) |
Close a socket - Implements Connection::close() -. | |
int | raw_socket_open (struct Connection *conn) |
Open a socket - Implements Connection::open() -. | |
int | raw_socket_poll (struct Connection *conn, time_t wait_secs) |
Check if any data is waiting on a socket - Implements Connection::poll() -. | |
int | raw_socket_read (struct Connection *conn, char *buf, size_t len) |
Read data from a socket - Implements Connection::read() -. | |
int | raw_socket_write (struct Connection *conn, const char *buf, size_t count) |
Write data to a socket - Implements Connection::write() -. | |
void | mutt_tunnel_socket_setup (struct Connection *conn) |
Sets up tunnel connection functions. | |
Shared functions that are private to Connections.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file private.h.
void mutt_tunnel_socket_setup | ( | struct Connection * | conn | ) |
Sets up tunnel connection functions.
conn | Connection to assign functions to |
Assign tunnel socket functions to the Connection conn.
Definition at line 242 of file tunnel.c.