example_server.h File Reference


Detailed Description

Server stubs for the example protocol.

Go to the source code of this file.

Data Structures

struct  example_server_operations
 Pointers to handlers for messages received from the remote system. More...

Functions

int example_server_set_operations (struct mrpc_connection *conn, const struct example_server_operations *ops)
 Set the message handlers to be used by a connection.
mrpc_status_t example_choose_color_send_async_reply (struct mrpc_message *request)
 Send an asynchronous reply to a choose_color procedure call.
mrpc_status_t example_get_num_colors_send_async_reply (struct mrpc_message *request, example_count *out)
 Send an asynchronous reply to a get_num_colors procedure call.
mrpc_status_t example_choose_color_send_async_reply_error (struct mrpc_message *request, mrpc_status_t status)
 Send an asynchronous error reply to a choose_color procedure call.
mrpc_status_t example_get_num_colors_send_async_reply_error (struct mrpc_message *request, mrpc_status_t status)
 Send an asynchronous error reply to a get_num_colors procedure call.

Variables

struct mrpc_protocol *const example_server
 The role definition for the example server.


miniRPC 0.3.3
Documentation generated by Doxygen 1.5.6