FACT++  1.0
conn_handler.c File Reference
#include <dim.h>
+ Include dependency graph for conn_handler.c:

Go to the source code of this file.

Classes

struct  id_item
 

Macros

#define DIMLIB
 

Typedefs

typedef struct id_item ID_ITEM
 

Functions

void conn_arr_create (SRC_TYPES type)
 
int conn_get ()
 
void conn_free (int conn_id)
 
void * arr_increase (void *conn_ptr, int conn_size, int n_conns)
 
void id_arr_create ()
 
void * id_arr_increase (void *id_ptr, int id_size, int n_ids)
 
int id_get (void *ptr, SRC_TYPES type)
 
void * id_get_ptr (int id, SRC_TYPES type)
 
void id_free (int id, SRC_TYPES type)
 

Variables

static SRC_TYPES My_type
 
DllExp DIM_NOSHARE DNS_CONNECTIONDns_conns = 0
 
DIM_NOSHARE DIC_CONNECTIONDic_conns = 0
 
DllExp DIM_NOSHARE DNA_CONNECTIONDna_conns = 0
 
DllExp DIM_NOSHARE NET_CONNECTIONNet_conns = 0
 
DllExp DIM_NOSHARE int Curr_N_Conns = 0
 
static ID_ITEMId_arr
 
static int Curr_N_Ids = 0
 
static int Curr_id = 1