24#ifndef NODE_CONNECTION_H 
   25#define NODE_CONNECTION_H 
   29#ifndef XCOM_WITHOUT_OPENSSL 
   35#include <openssl/ssl.h> 
   42#include "xdr_gen/xcom_vp.h" 
   49#ifndef XCOM_WITHOUT_OPENSSL 
   60#ifndef XCOM_WITHOUT_OPENSSL 
   71                                                    void *
p [[maybe_unused]]) {
 
const char * p
Definition: ctype-mb.cc:1227
 
#define free(A)
Definition: lexyy.cc:915
 
enum_transport_protocol
Enum that describes the available XCom Communication Stacks.
Definition: network_provider.h:45
 
con_state
Definition: node_connection.h:44
 
@ CON_NULL
Definition: node_connection.h:44
 
@ CON_PROTO
Definition: node_connection.h:44
 
@ CON_FD
Definition: node_connection.h:44
 
static void free_connection(connection_descriptor *&con)
Free a connection_descriptor created with new_connection.
Definition: node_connection.h:88
 
static void set_connected(connection_descriptor *con, con_state val)
Definition: node_connection.h:103
 
static int proto_done(connection_descriptor *con)
Definition: node_connection.h:99
 
struct connection_descriptor connection_descriptor
Definition: node_connection.h:58
 
static int is_connected(connection_descriptor *con)
Definition: node_connection.h:95
 
static void set_protocol_stack(connection_descriptor *con, enum_transport_protocol val)
Definition: node_connection.h:107
 
static connection_descriptor * new_connection(int fd, SSL *ssl_fd)
Definition: node_connection.h:61
 
Definition: node_connection.h:47
 
xcom_proto x_proto
Definition: node_connection.h:54
 
enum_transport_protocol protocol_stack
Definition: node_connection.h:55
 
con_state connected_
Definition: node_connection.h:52
 
int fd
Definition: node_connection.h:48
 
SSL * ssl_fd
Definition: node_connection.h:50
 
unsigned int snd_tag
Definition: node_connection.h:53
 
static void * xcom_calloc(size_t nmemb, size_t size)
Definition: xcom_memory.h:54