23#ifndef NODE_CONNECTION_H
24#define NODE_CONNECTION_H
28#ifndef XCOM_WITHOUT_OPENSSL
34#include <openssl/ssl.h>
41#include "xdr_gen/xcom_vp.h"
48#ifndef XCOM_WITHOUT_OPENSSL
59#ifndef XCOM_WITHOUT_OPENSSL
enum_transport_protocol
Enum that describes the available XCom Communication Stacks.
Definition: network_provider.h:42
con_state
Definition: node_connection.h:43
@ CON_NULL
Definition: node_connection.h:43
@ CON_PROTO
Definition: node_connection.h:43
@ CON_FD
Definition: node_connection.h:43
static void set_connected(connection_descriptor *con, con_state val)
Definition: node_connection.h:85
static int proto_done(connection_descriptor *con)
Definition: node_connection.h:81
struct connection_descriptor connection_descriptor
Definition: node_connection.h:57
static int is_connected(connection_descriptor *con)
Definition: node_connection.h:77
static void set_protocol_stack(connection_descriptor *con, enum_transport_protocol val)
Definition: node_connection.h:89
static connection_descriptor * new_connection(int fd, SSL *ssl_fd)
Definition: node_connection.h:60
Definition: node_connection.h:46
xcom_proto x_proto
Definition: node_connection.h:53
enum_transport_protocol protocol_stack
Definition: node_connection.h:54
con_state connected_
Definition: node_connection.h:51
int fd
Definition: node_connection.h:47
SSL * ssl_fd
Definition: node_connection.h:49
unsigned int snd_tag
Definition: node_connection.h:52
static void * xcom_calloc(size_t nmemb, size_t size)
Definition: xcom_memory.h:53