eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc_server_setup.h File Reference
#include "erpc_common.h"
#include "erpc_config_internal.h"
#include "erpc_mbf_setup.h"
#include "erpc_transport_setup.h"
#include <stdbool.h>
#include <stdint.h>
+ Include dependency graph for erpc_server_setup.h:

Go to the source code of this file.

Typedefs

typedef struct ServerType * erpc_server_t
 Opaque server object type.
 

Functions

Server setup
erpc_server_t erpc_server_init (erpc_transport_t transport, erpc_mbf_t message_buffer_factory)
 This function initializes server. More...
 
void erpc_server_deinit (erpc_server_t server)
 This function de-initializes server. More...
 
void erpc_add_service_to_server (erpc_server_t server, void *service)
 This function adds service to server. More...
 
void erpc_remove_service_from_server (erpc_server_t server, void *service)
 This function removes service from server. More...
 
void erpc_server_set_crc (erpc_server_t server, uint32_t crcStart)
 Can be used to set own crcStart number. More...
 
Server control
erpc_status_t erpc_server_run (erpc_server_t server)
 This function calls server implementation until it is stopped. More...
 
erpc_status_t erpc_server_poll (erpc_server_t server)
 This function calls server implementation only once. More...
 
void erpc_server_stop (erpc_server_t server)
 This functions should be used when client is calling quit server. More...