rtf_get_type(3)

rtf_get_type3

Gets the input or output data type of a filter

Usage

#include <rtfilter.h>

int rtf_get_type(hfilter filt, int in);

Overview

This function returns the data type of the input or output of the filter filt depending on in. If in is zero, then the returned type is the output data type. If in is non-zero, the function returns the input data type of the filter.

In case of the success, the returned type will be one of the constants (RTF_FLOAT, RTF_DOUBLE, RTF_CFLOAT or RTF_CDOUBLE) defined in the man page of rtf_create_filter(3).

Return value

Returns the requested data type in case of success, -1 otherwise.

Releases

Unchanged in 7 releases since Debian 7 (Wheezy).

  1. 7–13

From librtfilter-dev 1.1-4+b3 in Debian 13 (Trixie). Parsed by carta from the page's man source.