Go to the first, previous, next, last section, table of contents.


Device Reply Server

Beside the usual synchronous interface, an asynchronous interface is provided. For this, the caller has to receive and handle the reply messages seperately from the function call.

Function: boolean_t device_reply_server (msg_header_t *in_msg, msg_header_t *out_msg)
The function device_reply_server is produced by the remote procedure call generator to to handle a received message. This function does all necessary argument handling, and actually calls one of the following functions: ds_device_open_reply, ds_device_read_reply, ds_device_read_reply_inband, ds_device_write_reply and ds_device_write_reply_inband.

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 TRUE to indicate that the message in question was applicable to this interface, and that the appropriate routine was called to interpret the message. It returns FALSE to indicate that the message did not apply to this interface, and that no other action was taken.


Go to the first, previous, next, last section, table of contents.