40 hipcUsocSendSysmsg(
struct HIPC_usoc *
const so_p,
 
   46     for (i = 0; i < (cfg_p)->n_sysmsg; ++i) {
 
   48                                (cfg_p)->sysmsg_p[i].ptr,
 
   49                                (cfg_p)->sysmsg_p[i].size);
 
   73                const struct HIPC_scfg *
const *
const cfg_ary,
 
   74                const unsigned int n_cfg,
 
   75                unsigned char *
const buf, 
const size_t buf_size)
 
   78     unsigned char body_size;
 
   83     if (NULL == cfg_ary) {
 
  105     for (i = 0; i < n_cfg; ++i) {
 
  106         if (NULL == cfg_ary[i]) {
 
  114             *cfg_pp = cfg_ary[i];
 
  118     if (NULL == *cfg_pp) {
 
  123     retval = hipcUsocSendSysmsg(so_p, *cfg_pp);
 
  145     unsigned char body_size;
 
  164     for (i = 0; i < body_size; ++i) {
 
  169         if (cfg_p->
cfgid[i] != c) {
 
  175     retval = hipcUsocSendSysmsg(so_p, cfg_p);
 
enum HIPC_errno hipcUsocRead(struct HIPC_usoc *so_p, void *buf, const size_t size)
Reads exactly size bytes from so_p. 
 
unsigned char cfgid_header[HIPC_MSGHDR_SIZE]
 
void hipcScfgInit(const struct HIPC_scfg *const cfg_p)
Initializes a server-side configuration. 
 
enum HIPC_errno hipcUsocWrite(struct HIPC_usoc *so_p, const void *buf, const size_t size)
Writes exactly size bytes to so_p. 
 
enum HIPC_errno hipcUsocWriteMsgd(struct HIPC_usoc *const so_p, hipc_msgd const *const md_p)
Writes md_p to so_p. 
 
unsigned char hipcMsgdBdySize(hipc_msgd const *const md_p)
Returns body size of a HIPC message data. 
 
enum HIPC_errno hipcUsocAcceptSimple(struct HIPC_usoc *const so_p, const struct HIPC_scfg *const cfg_p)
Accepts a HIPC session of cfg_p. 
 
enum HIPC_errno hipcUsocAccept(struct HIPC_usoc *const so_p, const struct HIPC_scfg **const cfg_pp, const struct HIPC_scfg *const *const cfg_ary, const unsigned int n_cfg, unsigned char *const buf, const size_t buf_size)
Accepts a HIPC session if cfg_ary includes a configuration of coming HELLO message. 
 
const unsigned char * cfgid
 
unsigned char hipcMsghdrBdysize(unsigned char const *const msghdr)
Returns message size determined by a message header. 
 
#define hipcMsgdBdyPtr(md_p)
Returns a pointer to a body of a HIPC message data. 
 
#define hipcMsgdHdrPtr(md_p)
Returns a pointer to a header of a HIPC message data. 
 
enum HIPC_errno hipcScfgCheckStrusize(const struct HIPC_scfg *const cfg_p)
Checks structure sizes.