init
Functions
ts_finish, ts_init
public
LIBEXPORT int ts_init(struct subsystem** subsys, int count) LIBEXPORT void ts_finish(void)
Types
subsystem_state_t
typedef enum { SS_UNINITIALIZED, SS_OK, SS_ERROR } subsystem_state_t;
struct subsystem
struct subsystem { char* s_name; int s_state; int s_error_code; int (*s_init)(void); void (*s_fini)(void); };