The declarations in this header file correspond to the definitions in test_dynamic.c.
More...
#include <stdbool.h>
#include "test_args.h"
#include "test_configuration.h"
#include "test_control.h"
Go to the source code of this file.
|
typedef struct TestDynamicState | TestDynamicState |
| Forward reference of structure to create pointers later.
|
|
typedef struct TestDynamicState * | TestDynamicHandle |
| Type used as the handle (pointer to an opaque structure) for managing dynamic tests.
|
|
The declarations in this header file correspond to the definitions in test_dynamic.c.
◆ TestDynamicCreate()
Create an instance of the test dynamic component for the specified connection.
- Parameters
-
connection_info_ptr | Pointer to connection state data. |
return_handle_ptr | Address where to write returned handle. |
- Returns
- true if successful, otherwise false is returned.
◆ TestDynamicDestroy()
Free all resources related to the specified test dynamic component.
- Parameters
-
handle | Handle of the test dynamic component. |
◆ TestDynamicEndpoints()
◆ TestDynamicIsEndpointEnabled()
Determine if dynamic endpoint is enabled or not.
- Parameters
-
handle | Handle of the test dynamic component. |
stream_index | Zero-based index of the stream to check. |
- Returns
- true If enabled is enabled, otherwise false is returned.
◆ TestDynamicPollStatsReconfigure()
Dynamically test statistics configuration changes by using the SDK CdiCoreStatsReconfigure() API function.
- Parameters
-
handle | Handle of the test dynamic component. |
- Returns
- true if successful, otherwise false is returned.