#include "my_net.h"
Ir al código fuente de este archivo.
Clases |
struct | st_vio |
'defines' |
#define | HANDLE void * |
Enumeraciones |
enum | enum_vio_type {
VIO_CLOSED,
VIO_TYPE_TCPIP,
VIO_TYPE_SOCKET,
VIO_TYPE_NAMEDPIPE,
VIO_TYPE_SSL,
VIO_TYPE_SHARED_MEMORY,
VIO_CLOSED,
VIO_TYPE_TCPIP,
VIO_TYPE_SOCKET,
VIO_TYPE_NAMEDPIPE,
VIO_TYPE_SSL,
VIO_TYPE_SHARED_MEMORY
} |
enum | SSL_type {
SSL_TYPE_NOT_SPECIFIED = -1,
SSL_TYPE_NONE,
SSL_TYPE_ANY,
SSL_TYPE_X509,
SSL_TYPE_SPECIFIED,
SSL_TYPE_NOT_SPECIFIED = -1,
SSL_TYPE_NONE,
SSL_TYPE_ANY,
SSL_TYPE_X509,
SSL_TYPE_SPECIFIED
} |
Funciones |
Vio * | vio_new (my_socket sd, enum enum_vio_type type, my_bool localhost) |
void | vio_delete (Vio *vio) |
int | vio_close (Vio *vio) |
void | vio_reset (Vio *vio, enum enum_vio_type type, my_socket sd, HANDLE hPipe, my_bool localhost) |
int | vio_read (Vio *vio, gptr buf, int size) |
int | vio_write (Vio *vio, const gptr buf, int size) |
int | vio_blocking (Vio *vio, my_bool onoff, my_bool *old_mode) |
my_bool | vio_is_blocking (Vio *vio) |
int | vio_fastsend (Vio *vio) |
int | vio_keepalive (Vio *vio, my_bool onoff) |
my_bool | vio_should_retry (Vio *vio) |
my_bool | vio_was_interrupted (Vio *vio) |
const char * | vio_description (Vio *vio) |
enum enum_vio_type | vio_type (Vio *vio) |
int | vio_errno (Vio *vio) |
my_socket | vio_fd (Vio *vio) |
my_bool | vio_peer_addr (Vio *vio, char *buf, uint16 *port) |
void | vio_in_addr (Vio *vio, struct in_addr *in) |
my_bool | vio_poll_read (Vio *vio, uint timeout) |
void | vio_timeout (Vio *vio, uint which, uint timeout) |
Documentación de los 'defines'
Documentación de las enumeraciones
- Valores de enumeraciones:
VIO_CLOSED |
|
VIO_TYPE_TCPIP |
|
VIO_TYPE_SOCKET |
|
VIO_TYPE_NAMEDPIPE |
|
VIO_TYPE_SSL |
|
VIO_TYPE_SHARED_MEMORY |
|
VIO_CLOSED |
|
VIO_TYPE_TCPIP |
|
VIO_TYPE_SOCKET |
|
VIO_TYPE_NAMEDPIPE |
|
VIO_TYPE_SSL |
|
VIO_TYPE_SHARED_MEMORY |
|
- Valores de enumeraciones:
SSL_TYPE_NOT_SPECIFIED |
|
SSL_TYPE_NONE |
|
SSL_TYPE_ANY |
|
SSL_TYPE_X509 |
|
SSL_TYPE_SPECIFIED |
|
SSL_TYPE_NOT_SPECIFIED |
|
SSL_TYPE_NONE |
|
SSL_TYPE_ANY |
|
SSL_TYPE_X509 |
|
SSL_TYPE_SPECIFIED |
|
Documentación de las funciones
void vio_delete |
( |
Vio * |
vio | ) |
|
const char* vio_description |
( |
Vio * |
vio | ) |
|
void vio_in_addr |
( |
Vio * |
vio, |
|
|
struct in_addr * |
in |
|
) |
| |
void vio_timeout |
( |
Vio * |
vio, |
|
|
uint |
which, |
|
|
uint |
timeout |
|
) |
| |