#include "typedefs.h"
#include "f_his_hist.h"
#include "f_his_toupper.h"
#include "f_his_swpbas.h"
#include "f_stccomm.h"
#include "f_swaplw.h"
#include "f_ut_compress.h"
#include "portnum_def.h"
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
INTS4 | f_his_getbas (CHARS *pc_server, INTS4 l_port, CHARS *pc_base, CHARS *pc_access, INTS4 **p_buffer) |
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_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) |
INTS4 | f_his_server (CHARS *pc_base, CHARS *pc_access, INTS4 *pl_port) |
INTS4 | f_his_wait (INTS4 *pl_action, CHARS *pc_histo) |
INTS4 | f_his_senddir (s_his_head *ps_head, INTS4 l_histos) |
INTS4 | f_his_sendhis (s_his_head *ps_head, INTS4 l_histos, CHARS *pc_histo, INTS4 *pl_data) |
INTS4 | f_his_close () |
Variables | |
static CHARS | c_gl_serv_access [64] |
static CHARS | c_gl_serv_base [32] |
static INTS4 | l_gl_serv_port |
static INTS4 | l_gl_serv_chan |
static INTS4 | l_gl_serv_verb |
struct s_tcpcomm * | ps_tcpserv |
s_his_comm | s_his_comm_serv |
INTS4 f_his_close | ( | ) |
Definition at line 706 of file f_his_hist.c.
References COMM__SUCCESS, and f_stc_close().
Referenced by TGo4HistogramServer::~TGo4HistogramServer().
INTS4 f_his_getbas | ( | CHARS * | pc_server, | |
INTS4 | l_port, | |||
CHARS * | pc_base, | |||
CHARS * | pc_access, | |||
INTS4 ** | p_buffer | |||
) |
Definition at line 82 of file f_his_hist.c.
References s_his_comm::c_access, s_his_comm::c_base, s_his_comm::c_histo, COMM__SUCCESS, f_his_swpbas(), f_stc_close(), f_stc_connectserver(), f_stc_discclient(), f_stc_read(), f_stc_write(), f_swaplw(), f_ut_compr_unpack(), s_compress::l_full_bytes, s_compress::l_masks, s_his_comm::l_status, l_status, s_his_comm::lu_action, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
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 | |||
) |
Definition at line 189 of file f_his_hist.c.
References s_his_comm::c_access, s_his_comm::c_base, s_his_comm::c_histo, COMM__SUCCESS, f_stc_close(), f_stc_connectserver(), f_stc_discclient(), f_stc_read(), f_stc_write(), f_swaplw(), s_his_comm::l_status, l_status, s_his_comm::lu_action, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
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 | |||
) |
Definition at line 311 of file f_his_hist.c.
References s_his_comm::c_access, s_his_comm::c_base, s_his_comm::c_histo, COMM__SUCCESS, f_stc_close(), f_stc_connectserver(), f_stc_discclient(), f_stc_read(), f_stc_write(), f_swaplw(), s_his_comm::l_status, l_status, s_his_comm::lu_action, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
INTS4 f_his_senddir | ( | s_his_head * | ps_head, | |
INTS4 | l_histos | |||
) |
Definition at line 563 of file f_his_hist.c.
References s_his_comm::c_histo, COMM__ERROR, COMM__SUCCESS, f_stc_discclient(), f_stc_write(), l_gl_serv_chan, l_gl_serv_verb, s_his_comm::l_status, l_status, s_his_comm::lu_action, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
Referenced by TGo4HisConnectorRunnable::Run().
INTS4 f_his_sendhis | ( | s_his_head * | ps_head, | |
INTS4 | l_histos, | |||
CHARS * | pc_histo, | |||
INTS4 * | pl_data | |||
) |
Definition at line 626 of file f_his_hist.c.
References s_his_head::c_name, COMM__ERROR, COMM__NOHIST, COMM__SUCCESS, f_stc_discclient(), f_stc_write(), s_his_head::l_bins_1, s_his_head::l_bins_2, l_gl_serv_chan, l_gl_serv_verb, s_his_comm::l_status, l_status, s_his_comm::lu_action, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
Referenced by TGo4HisConnectorRunnable::Run().
Definition at line 418 of file f_his_hist.c.
References c_gl_serv_access, c_gl_serv_base, COMM__ERROR, f_his_toupper(), f_stc_createserver(), l_gl_serv_port, l_status, PORT__HIST_SERV, and STC__SUCCESS.
Referenced by TGo4HistogramServer::TGo4HistogramServer().
Definition at line 478 of file f_his_hist.c.
References s_his_comm::c_access, s_his_comm::c_base, c_gl_serv_access, c_gl_serv_base, COMM__ERROR, COMM__NOACCESS, COMM__NOBASE, COMM__SUCCESS, f_his_toupper(), f_stc_acceptclient(), f_stc_discclient(), f_stc_read(), f_stc_write(), f_swaplw(), l_gl_serv_chan, l_gl_serv_port, l_gl_serv_verb, s_his_comm::l_status, l_status, s_his_comm::lu_endian, s_his_comm::lu_histos, s_his_comm::lu_size, and STC__SUCCESS.
Referenced by TGo4HisConnectorRunnable::Run().
CHARS c_gl_serv_access[64] [static] |
Definition at line 27 of file f_his_hist.c.
Referenced by f_his_server(), and f_his_wait().
CHARS c_gl_serv_base[32] [static] |
Definition at line 28 of file f_his_hist.c.
Referenced by f_his_server(), and f_his_wait().
INTS4 l_gl_serv_chan [static] |
Definition at line 30 of file f_his_hist.c.
Referenced by f_his_senddir(), f_his_sendhis(), and f_his_wait().
INTS4 l_gl_serv_port [static] |
Definition at line 29 of file f_his_hist.c.
Referenced by f_his_server(), and f_his_wait().
INTS4 l_gl_serv_verb [static] |
Definition at line 31 of file f_his_hist.c.
Referenced by f_his_senddir(), f_his_sendhis(), and f_his_wait().
struct s_tcpcomm* ps_tcpserv |
Definition at line 32 of file f_his_hist.c.
Definition at line 33 of file f_his_hist.c.