The basic API provides both unattended and attended queries,
suitable for batch or online pro-cessing. The function init() need
to be only called once. The user database is organized in stages
and partitions, which have the values -1 and “system” during
start-up. The init() function will set the current stage to 0 and
the current partition to “user”.
The following console specific calls are provided: