99strcpy(s_his_comm_cli.
c_histo,
"*");
100strcpy(s_his_comm_cli.
c_access,pc_access);
101strcpy(s_his_comm_cli.
c_base,pc_base);
114l_buffer = s_his_comm_cli.
lu_size;
118l_buffer=l_buffer%16384;
194INTS4 i_j,i_l,
l_status,l_chan,l_swap,l_buffer,l_histos,l_size;
206strcpy(s_his_comm_cli.
c_histo,pc_histo);
207strcpy(s_his_comm_cli.
c_access,pc_access);
208strcpy(s_his_comm_cli.
c_base,pc_base);
224 pl_all = (
INTS4 *)malloc(l_size);
232*pl_histos = l_histos;
233l_buffer = s_his_comm_cli.
lu_size;
237l_buffer=l_buffer%16384;
243for(i_j=0;i_j<s_his_comm_cli.
lu_histos;i_j++)
328strcpy(s_his_comm_cli.
c_histo,pc_histo);
329strcpy(s_his_comm_cli.
c_access,pc_access);
330strcpy(s_his_comm_cli.
c_base,pc_base);
345 pl_all = (
INTS4 *)malloc(l_size);
357 *p_head = ps_his_head;
359else ps_his_head = *p_head;
370l_buffer=l_buffer%16384;
434 printf(
"Error creating histogram server\n");
494 printf(
"Client connected with wrong password [%s]. \n",
s_his_comm_serv.c_access);
506 printf(
"Client connected for wrong base [%s]. \n",
s_his_comm_serv.c_base);
578pl_l=(
INTS4 *)ps_head;
581l_buffer=l_buffer%16384;
634ps_his_head = ps_head;
635for(ll=0;ll<l_histos;ll++)
638 if(strcmp(ps_his_head->
c_name,pc_histo) == 0)
654 l_buffer=l_buffer%16384;
665 if(
l_gl_serv_verb == 1) {printf(
"Histogram %s not found\n",pc_histo);}
708 printf(
"Exit histogram server\n");
INTS4 f_his_gethis(CHARS *pc_server, INTS4 l_port, CHARS *pc_base, CHARS *pc_access, CHARS *pc_histo, s_his_head **p_head, INTS4 **p_buffer, INTS4 *pl_size)
static INTS4 l_gl_serv_port
INTS4 f_his_wait(INTS4 *pl_action, CHARS *pc_histo)
INTS4 f_his_senddir(s_his_head *ps_head, INTS4 l_histos)
static INTS4 l_gl_serv_chan
static CHARS c_gl_serv_access[64]
struct s_tcpcomm * ps_tcpserv
s_his_comm s_his_comm_serv
INTS4 f_his_getbas(CHARS *pc_server, INTS4 l_port, CHARS *pc_base, CHARS *pc_access, INTS4 **p_buffer)
INTS4 f_his_server(CHARS *pc_base, CHARS *pc_access, INTS4 *pl_port)
INTS4 f_his_getdir(CHARS *pc_server, INTS4 l_port, CHARS *pc_base, CHARS *pc_access, CHARS *pc_histo, INTS4 **p_buffer, INTS4 *pl_histos)
INTS4 f_his_sendhis(s_his_head *ps_head, INTS4 l_histos, CHARS *pc_histo, INTS4 *pl_data)
static CHARS c_gl_serv_base[32]
static INTS4 l_gl_serv_verb
INTS4 f_his_swpbas(s_head *ps_head)
void f_his_toupper(CHARS *c, INTS4 i)
INTS4 f_stc_write(void *p_buffer, INTS4 i_buflen, INTS4 i_channel)
INTS4 f_stc_read(void *p_buffer, INTS4 i_buflen, INTS4 i_channel, INTS4 i_timeout)
INTS4 f_stc_connectserver(CHARS *c_node, INTS4 l_port, INTS4 *pi_channel, struct s_tcpcomm *ps_client)
INTS4 f_stc_discclient(INTS4 i_channel)
INTS4 f_stc_createserver(INTS4 *pl_port, struct s_tcpcomm *ps_server)
INTS4 f_stc_acceptclient(struct s_tcpcomm *ps_server, INTS4 *pi_channel)
INTS4 f_stc_close(struct s_tcpcomm *ps_tcp)
int f_swaplw(int *pp_source, int l_len, int *pp_dest)
INTS4 f_ut_compr_unpack(INTU1 *pc_input, INTU1 *pc_output, INTS4 l_outlen)