Beside the usual synchronous interface, an asynchronous interface is provided. For this, the caller has to receive and handle the reply messages separately from the function call.
device_reply_serveris produced by the remote procedure call generator to handle a received message. This function does all necessary argument handling, and actually calls one of the following functions:
The in_msg argument is the message that has been received from the kernel. The out_msg is a reply message, but this is not used for this server.
The function returns
TRUEto indicate that the message in question was applicable to this interface, and that the appropriate routine was called to interpret the message. It returns
FALSEto indicate that the message did not apply to this interface, and that no other action was taken.