NeoMutt  2024-10-02-37-gfa9146
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
private.h
Go to the documentation of this file.
1
23#ifndef MUTT_CONN_PRIVATE_H
24#define MUTT_CONN_PRIVATE_H
25
26#include <stddef.h>
27#include <time.h>
28
29struct Connection;
30
31int raw_socket_close(struct Connection *conn);
32int raw_socket_open (struct Connection *conn);
33int raw_socket_poll (struct Connection *conn, time_t wait_secs);
34int raw_socket_read (struct Connection *conn, char *buf, size_t len);
35int raw_socket_write(struct Connection *conn, const char *buf, size_t count);
36
37void mutt_tunnel_socket_setup(struct Connection *conn);
38
39#endif /* MUTT_CONN_PRIVATE_H */
void mutt_tunnel_socket_setup(struct Connection *conn)
Sets up tunnel connection functions.
Definition: tunnel.c:242
int raw_socket_close(struct Connection *conn)
Close a socket - Implements Connection::close() -.
Definition: raw.c:393
int raw_socket_open(struct Connection *conn)
Open a socket - Implements Connection::open() -.
Definition: raw.c:148
int raw_socket_poll(struct Connection *conn, time_t wait_secs)
Check if any data is waiting on a socket - Implements Connection::poll() -.
Definition: raw.c:355
int raw_socket_read(struct Connection *conn, char *buf, size_t len)
Read data from a socket - Implements Connection::read() -.
Definition: raw.c:295
int raw_socket_write(struct Connection *conn, const char *buf, size_t count)
Write data to a socket - Implements Connection::write() -.
Definition: raw.c:325