-var states = map[int]string {
- RMR_OK : "state is good",
- RMR_ERR_BADARG : "argument passd to function was unusable",
- RMR_ERR_NOENDPT : "send/call could not find an endpoint based on msg type",
- RMR_ERR_EMPTY : "msg received had no payload; attempt to send an empty message",
- RMR_ERR_NOHDR : "message didn't contain a valid header",
- RMR_ERR_SENDFAILED : "send failed; errno has nano reason",
- RMR_ERR_CALLFAILED : "unable to send call() message",
- RMR_ERR_NOWHOPEN : "no wormholes are open",
- RMR_ERR_WHID : "wormhole id was invalid",
- RMR_ERR_OVERFLOW : "operation would have busted through a buffer/field size",
- RMR_ERR_RETRY : "request (send/call/rts) failed, but caller should retry (EAGAIN for wrappers)",
- RMR_ERR_RCVFAILED : "receive failed (hard error)",
- RMR_ERR_TIMEOUT : "message processing call timed out",
- RMR_ERR_UNSET : "the message hasn't been populated with a transport buffer",
- RMR_ERR_TRUNC : "received message likely truncated",
- RMR_ERR_INITFAILED : "initialisation of something (probably message) failed",
+var states = map[int]string{
+ RMR_OK: "state is good",
+ RMR_ERR_BADARG: "argument passd to function was unusable",
+ RMR_ERR_NOENDPT: "send/call could not find an endpoint based on msg type",
+ RMR_ERR_EMPTY: "msg received had no payload; attempt to send an empty message",
+ RMR_ERR_NOHDR: "message didn't contain a valid header",
+ RMR_ERR_SENDFAILED: "send failed; errno has nano reason",
+ RMR_ERR_CALLFAILED: "unable to send call() message",
+ RMR_ERR_NOWHOPEN: "no wormholes are open",
+ RMR_ERR_WHID: "wormhole id was invalid",
+ RMR_ERR_OVERFLOW: "operation would have busted through a buffer/field size",
+ RMR_ERR_RETRY: "request (send/call/rts) failed, but caller should retry (EAGAIN for wrappers)",
+ RMR_ERR_RCVFAILED: "receive failed (hard error)",
+ RMR_ERR_TIMEOUT: "message processing call timed out",
+ RMR_ERR_UNSET: "the message hasn't been populated with a transport buffer",
+ RMR_ERR_TRUNC: "received message likely truncated",
+ RMR_ERR_INITFAILED: "initialisation of something (probably message) failed",