nds2-client - ClientDeveloper  0.16.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions
nds2.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define UNSPECIFIED_NDS2_PROTOCOL_VERSION   0
 
#define UNSPECIFIED_NDS2_PROTOCOL_REVISION   0
 
#define MAX_NDS2_PROTOCOL_VERSION   1
 
#define MIN_NDS2_PROTOCOL_VERSION   1
 
#define MAX_NDS2_PROTOCOL_REVISION   6
 

Functions

int nds2_connect (daq_t *daq, const char *host, int port)
 
int nds2_get_last_message (daq_t *daq, char *buf, size_t max_len, int *len)
 
int nds2_recv_channel_hash (daq_t *daq, void *hash, int *length, time_t gps, enum chantype type)
 
int nds2_recv_hash_by_pattern (daq_t *daq, void *hash, int *length, time_t gps, enum chantype type, const char *pat)
 
int nds2_recv_channels_by_pattern (daq_t *daq, daq_channel_t *channel, int num_channels, int *num_channels_received, time_t gps, enum chantype type, const char *pat)
 
int nds2_recv_channel_list (daq_t *daq, daq_channel_t *channel, int num_channels, int *num_channels_received, time_t gps, enum chantype type)
 
int nds2_recv_epoch_list (daq_t *daq, char *epochs, size_t max_len, int *str_len)
 
int nds2_recv_source_data (daq_t *daq, char *list, size_t max_len, time_t gps, long *str_len)
 
int nds2_recv_source_list (daq_t *daq, char *list, size_t max_len, time_t gps, long *str_len)
 
int nds2_disconnect (daq_t *daq)
 
int nds2_request_check (daq_t *daq, time_t start, time_t end)
 
int nds2_request_data (daq_t *daq, time_t start, time_t end, time_t dt)
 
int nds2_receive_reconfigure (daq_t *daq, size_t block_len)
 
int nds2_set_epoch (daq_t *daq, const char *epoch)
 
int nds2_startup (void)
 

Macro Definition Documentation

#define MAX_NDS2_PROTOCOL_REVISION   6
#define MAX_NDS2_PROTOCOL_VERSION   1
#define MIN_NDS2_PROTOCOL_VERSION   1
#define UNSPECIFIED_NDS2_PROTOCOL_REVISION   0
#define UNSPECIFIED_NDS2_PROTOCOL_VERSION   0

Function Documentation

int nds2_connect ( daq_t daq,
const char *  host,
int  port 
)
int nds2_disconnect ( daq_t daq)
int nds2_get_last_message ( daq_t daq,
char *  buf,
size_t  max_len,
int *  len 
)
int nds2_receive_reconfigure ( daq_t daq,
size_t  block_len 
)
int nds2_recv_channel_hash ( daq_t daq,
void *  hash,
int *  length,
time_t  gps,
enum chantype  type 
)
int nds2_recv_channel_list ( daq_t daq,
daq_channel_t channel,
int  num_channels,
int *  num_channels_received,
time_t  gps,
enum chantype  type 
)
int nds2_recv_channels_by_pattern ( daq_t daq,
daq_channel_t channel,
int  num_channels,
int *  num_channels_received,
time_t  gps,
enum chantype  type,
const char *  pat 
)
int nds2_recv_epoch_list ( daq_t daq,
char *  epochs,
size_t  max_len,
int *  str_len 
)
int nds2_recv_hash_by_pattern ( daq_t daq,
void *  hash,
int *  length,
time_t  gps,
enum chantype  type,
const char *  pat 
)
int nds2_recv_source_data ( daq_t daq,
char *  list,
size_t  max_len,
time_t  gps,
long *  str_len 
)
int nds2_recv_source_list ( daq_t daq,
char *  list,
size_t  max_len,
time_t  gps,
long *  str_len 
)
int nds2_request_check ( daq_t daq,
time_t  start,
time_t  end 
)
int nds2_request_data ( daq_t daq,
time_t  start,
time_t  end,
time_t  dt 
)
int nds2_set_epoch ( daq_t daq,
const char *  epoch 
)
int nds2_startup ( void  )