noPollOpCode nopoll_msg_opcode ( noPollMsg msg)

Get message OpCode to get the type of message that was received.

Parameters
msgThe message that is being checked for its OpCode
Returns
The op code or -1 in the case NULL reference is received.

References NOPOLL_UNKNOWN_OP_CODE.