00001
00002 #ifndef DAQC_NDS2_H
00003 #define DAQC_NDS2_H
00004
00005
00006
00007
00008
00009 int
00010 nds2_connect (daq_t *daq, const char* host, int port);
00011
00012
00013
00014
00015 int
00016 nds2_recv_channel_list(daq_t *daq, daq_channel_t *channel, int num_channels,
00017 int *num_channels_received, time_t gps,
00018 enum chantype type);
00019
00020
00021
00022
00023 int
00024 nds2_recv_source_list(daq_t *daq, char* list, size_t max_len,
00025 time_t gps, long* str_len);
00026
00027
00028
00029
00030
00031
00032 int
00033 nds2_disconnect (daq_t *daq);
00034
00035
00036
00037
00038
00039 int nds2_request_data(daq_t* daq, time_t start, time_t end, time_t dt);
00040
00041
00042
00043
00044
00045
00046
00047 int
00048 nds2_receive_reconfigure(daq_t* daq, size_t block_len);
00049
00050
00051
00052
00053
00054 int
00055 nds2_startup(void);
00056
00057 #endif