11.1. Datasource input driver registration API #

11.1.1. Register a datasource input driver
11.1.2. Get a datasource input driver

A datasource driver can be implemented and registered with OpenCReports easily. In fact, all the built-in datasource input drivers use the registration interface. A newly registered datasource input driver can also replace the built-in ones.

11.1.1. Register a datasource input driver #

bool
ocrpt_input_register(const ocrpt_input * const input);

11.1.2. Get a datasource input driver #

Get a datasource input driver using its name.

const ocrpt_input * const
ocrpt_input_get(const char *name);