The ts_get_typeid() function

The ts_get_typeid() function returns the type ID of the specified time series.

Syntax

mi_typeid *
ts_get_typeid(MI_CONNECTION *conn,
              ts_timeseries *ts)
conn
A valid connection.
ts
The source time series.

Description

This function returns the type ID of the specified time series. Usually, a time series type ID is located in an MI_FPARAM structure. This function is useful when there is no easy access to an MI_FPARAM structure.

Returns

A pointer to an MI_TYPEID structure that contains the type ID of the specified time series. You must not free this value after use.