11 int nds2_connect( daq_t* daq,
const char* host,
int port );
17 int nds2_get_last_message( daq_t* daq,
char* buf,
size_t max_len,
int* len );
22 int nds2_recv_channel_hash(
23 daq_t* daq,
void* hash,
int* length, time_t gps,
enum chantype type );
28 int nds2_recv_hash_by_pattern( daq_t* daq,
38 int nds2_recv_channels_by_pattern( daq_t* daq,
39 daq_channel_t* channel,
41 int* num_channels_received,
49 int nds2_recv_channel_list( daq_t* daq,
50 daq_channel_t* channel,
52 int* num_channels_received,
60 nds2_recv_epoch_list( daq_t* daq,
char* epochs,
size_t max_len,
int* str_len );
65 int nds2_recv_source_data(
66 daq_t* daq,
char* list,
size_t max_len, time_t gps,
long* str_len );
71 int nds2_recv_source_list(
72 daq_t* daq,
char* list,
size_t max_len, time_t gps,
long* str_len );
79 int nds2_disconnect( daq_t* daq );
85 int nds2_request_check( daq_t* daq, time_t start, time_t end );
91 int nds2_request_data( daq_t* daq, time_t start, time_t end, time_t dt );
99 int nds2_receive_reconfigure( daq_t* daq,
size_t block_len );
104 int nds2_set_epoch( daq_t* daq,
const char* epoch );
110 int nds2_startup(
void );
115 #define UNSPECIFIED_NDS2_PROTOCOL_VERSION 0
116 #define UNSPECIFIED_NDS2_PROTOCOL_REVISION 0
121 #define MAX_NDS2_PROTOCOL_VERSION 1
122 #define MIN_NDS2_PROTOCOL_VERSION 1
124 #define MAX_NDS2_PROTOCOL_REVISION 6
chantype
Channel type code enumerator.
Definition: channel.h:28