NeoMutt  2021-02-05-666-ge300cd
Teaching an old dog new tricks
DOXYGEN
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 
29 struct Connection;
30 
31 int raw_socket_close(struct Connection *conn);
32 int raw_socket_open (struct Connection *conn);
33 int raw_socket_poll (struct Connection *conn, time_t wait_secs);
34 int raw_socket_read (struct Connection *conn, char *buf, size_t len);
35 int raw_socket_write(struct Connection *conn, const char *buf, size_t count);
36 
37 void mutt_tunnel_socket_setup(struct Connection *conn);
38 
39 #endif /* MUTT_CONN_PRIVATE_H */
int raw_socket_write(struct Connection *conn, const char *buf, size_t count)
Write data to a socket - Implements Connection::write() -.
Definition: raw.c:297
int raw_socket_open(struct Connection *conn)
Open a socket - Implements Connection::open() -.
Definition: raw.c:120
void mutt_tunnel_socket_setup(struct Connection *conn)
sets up tunnel connection functions
Definition: tunnel.c:233
int raw_socket_poll(struct Connection *conn, time_t wait_secs)
Checks whether reads would block - Implements Connection::poll() -.
Definition: raw.c:327
int raw_socket_close(struct Connection *conn)
Close a socket - Implements Connection::close() -.
Definition: raw.c:365
int raw_socket_read(struct Connection *conn, char *buf, size_t len)
Read data from a socket - Implements Connection::read() -.
Definition: raw.c:267