Function swbus_init

Function Documentation

struct swbus * swbus_init (struct swbus *swb_in, const struct swbus_params *params) RCSW_WUR

Initialize a swbus instance.

Parameters:
  • swb_in – The swb handle to be filled (can be NULL if RCSW_NOALLOC_HANDLE not passed).

  • params – The initialization parameters.

Returns:

Initialized swb instance, or NULL if an error occurred.