Skip to main content

rt_init

Description

The rt_init function must be called before calling any other API functions to create an RTTP engine instance.

Syntax:

RTEngine rt_init(const char* init_str);

Parameters:

init_str: The initialization string, reserved for future use; can be set to NULL or an empty string.

Return Value:

rt_init returns a pointer to the RTTP engine instance. All subsequent API calls must use this engine pointer. If initialization fails, NULL is returned.