Elektra
0.8.24
|
Elektra-I/O functions and declarations for the I/O binding test suite. More...
#include "kdbio.h"
Typedefs | |
typedef ElektraIoInterface *(* | ElektraIoTestSuiteCreateBinding) (void) |
Create and initialize I/O binding. More... | |
typedef void(* | ElektraIoTestSuiteStart) (void) |
Start I/O processing (for example event loop). More... | |
typedef void(* | ElektraIoTestSuiteStop) (void) |
Stop I/O processing (for example event loop). More... | |
Functions | |
void | elektraIoTestSuite (ElektraIoTestSuiteCreateBinding createBinding, ElektraIoTestSuiteStart start, ElektraIoTestSuiteStop stop) |
Test-Suite for I/O Bindings. More... | |
Elektra-I/O functions and declarations for the I/O binding test suite.
typedef ElektraIoInterface*(* ElektraIoTestSuiteCreateBinding) (void) |
Create and initialize I/O binding.
Used by elektraIoTestSuite between tests to get a fresh binding instance.
typedef void(* ElektraIoTestSuiteStart) (void) |
Start I/O processing (for example event loop).
Used by elektraIoTestSuite.
Should not return until processing is stopped (e.g. by calling ElektraIoTestSuiteStop)
typedef void(* ElektraIoTestSuiteStop) (void) |
Stop I/O processing (for example event loop).
Used by elektraIoTestSuite
void elektraIoTestSuite | ( | ElektraIoTestSuiteCreateBinding | createBinding, |
ElektraIoTestSuiteStart | start, | ||
ElektraIoTestSuiteStop | stop | ||
) |
Test-Suite for I/O Bindings.
createBinding | Create and initialize a new I/O binding instance |
start | Pointer to the start function |
stop | Pointer to the stop function |