19 lines
624 B
C
19 lines
624 B
C
#ifndef _INSTR_HOSTS_H_
|
|
#define _INSTR_HOSTS_H_
|
|
|
|
int InstrHost(char *service, char *input, char *instr, int instr_len,
|
|
char *host, int host_len, int *port);
|
|
/* service (in) is a service name (tecs, sics, sea)
|
|
input (in) may be a host or instrument name
|
|
instr (out) is the instrument name
|
|
host (out) is the host name
|
|
port (out) is the port name
|
|
the return value is 1, called from a computer related to the instrument,
|
|
0 else
|
|
*/
|
|
|
|
void InstrList(char *service, char *list, int list_len);
|
|
/* get an instrument list supporting named service, separated with blanks */
|
|
|
|
#endif /* _INSTR_HOSTS_H_ */
|