8 #include "CFGled_scfg.h"
11 static struct STRUprm
prm;
enum HIPC_errno hipcUsocAcceptSimple(struct HIPC_usoc *const so_p, const struct HIPC_scfg *const cfg_p)
Accepts a HIPC session of cfg_p.
void hipcsvsLedInit(void)
enum HIPC_errno hipcUsocRead(struct HIPC_usoc *so_p, void *buf, const size_t size)
Reads exactly size bytes from so_p.
enum HIPC_errno hipcGenmdSuccessToGet(hipc_msgd *const mds_p, hipc_msgd const *const mdr_p, void *const stru_p, const size_t stru_size)
Initializes mds_p as a response to mdr_p whose type must be GET.
enum HIPC_errno hipcUsocWriteMsgd(struct HIPC_usoc *const so_p, hipc_msgd const *const md_p)
Writes md_p to so_p.
unsigned char hipcMsgdStruno(hipc_msgd const *const md_p)
Returns structure number of a HIPC message data.
enum HIPC_errno hipcMsgdSetBdyForPut(hipc_msgd *const mdr_p, void *const stru_p, const size_t stru_size)
Sets a body to a HIPC message data that contains a header of a PUT message.
unsigned char hipcMsgdBdySize(hipc_msgd const *const md_p)
Returns body size of a HIPC message data.
#define hipcGenmdQuit(md_p, hipc_errno, errdtlstr)
Initializes a HIPC message data as a QUIT message.
#define hipcGenmdSuccess(md_p)
Initializes a HIPC message data as a SUCCESS message.
enum HIPC_errno hipcsvsLedRun(struct HIPC_usoc *const so_p, hipc_msgd *const mdq_p)
void hipcMain(struct HIPC_usoc *const so_p)
#define hipcMsgdBdyPtr(md_p)
Returns a pointer to a body of a HIPC message data.
unsigned char hipcMsgdType(hipc_msgd const *const md_p)
Returns type of a HIPC message data.
#define hipcMsgdHdrPtr(md_p)
Returns a pointer to a header of a HIPC message data.
void hipcsvsLedUpdate(struct STRUprm *prm_p)
static struct STRUprm prm