- bug fix in coc_server.c
- bug fixes in tecs - new system to determine host:port in six and tecs_client
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
#ifndef _INSTR_HOSTS_H_
|
||||
#define _INSTR_HOSTS_H_
|
||||
|
||||
int InstrHost(char *input, char *instr, char *host, char *user, char *pcod
|
||||
, int instr_len, int host_len, int user_len, int pcod_len);
|
||||
|
||||
/* input may be a host of instrument name
|
||||
output is: instrument name, host name, user name and pcod (the code needed to enter...)
|
||||
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
|
||||
*/
|
||||
|
||||
#endif /* _INSTR_HOSTS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user