46 char const *
const str,
50 void *),
void *
const arg);
53 char const *
const str,
void *
const cimg);
56 char const *
const str,
void *
const cimg);
60 char const *
const filename,
const int lineno);
72 #define HIPC_ERRCHECK(sess_p) hipcERRCHECK(sess_p, __FILE__, __LINE__)
enum HIPC_errno hipcRecvMsg(hipc_session *const sess_p, hipc_msg msgR)
Receives a HIPC message.
unsigned char hipc_msg[HIPC_MSG_ALLOCSIZE]
enum HIPC_errno hipcSendMsg(hipc_session *const sess_p, hipc_msg msgS)
Sends a HIPC message.
enum HIPC_errno hipcGet(hipc_session *const sess_p, char const *const str, void *const cimg)
Gets data specified by str from a HIPC server.
enum HIPC_errno(* wfnc_p)(void *, const hipc_msg)
enum HIPC_errno hipcPut(hipc_session *const sess_p, char const *const str, void *const cimg)
Puts data specified by str from a HIPC server.
enum HIPC_errno hipcOpen(hipc_session *const sess_p, struct HIPC_client const *const clbase_p, enum HIPC_errno(*rfnc_p)(void *, hipc_msg), void *rarg, enum HIPC_errno(*wfnc_p)(void *, const hipc_msg), void *warg)
Open a session to a HIPC server.
void hipcERRCHECK(hipc_session const *const sess_p, char const *const filename, const int lineno)
Checks whether an error has occurred.
enum HIPC_session_state state
enum HIPC_errno hipcWaitReturn(hipc_session *const sess_p, hipc_msg msgR)
Waits a return message from a HIPC server.
enum HIPC_errno hipcClose(hipc_session *const sess_p)
Closes a session.
enum HIPC_errno hipcSetHandler(hipc_session *const sess_p, char const *const str, void *const cimg, enum HIPC_errno(*hndlr_p)(struct HIPC_client *, const hipc_msg, void *, void *), void *const arg)
Set a handler to a structure type.
enum HIPC_errno(* rfnc_p)(void *, hipc_msg)