Spread 3.17.3 C API

libspread - Spread Group Communication Client Library

The Spread libspread library implements the client SP interface to the Spread group communication or multicast message bus system.

Header Files

sp.h is the main header and includes necessary defines and types. It also includes the other header files sp_events.h and sp_func.h.
sp_events.h declares the types and functions that make up the E Event-management library.
sp_func.h declares the functions of the SP interface. Since sp.h includes this you should not include this directly.

Versions & Thread Safety

libspread is the default client library which exposes the Spread API. It is not thread safe.
libtspread is the same as libspread, however this is the thread safe version.

Error Handling

The library will not output any debugging information except in fatal errors. The SP_error function can be used to print an informative error message when SP functions return an error code.