$ret = doris();
The Doris current. If there is a connection
timeout, a 0 is returned but no error is generated.
If the flag FLAG_USE_DORIS_CURRENT is found to
be 0, Online doesn't not contact the server but returns 0.
$ret = doris_is_sync_run();
Returns 1, if DORIS is in the state "Sync Run".
$ret = doris_state();
The DORIS state, e.g.: “Sync Run”. If there is a connection
timeout, an empty string is returned but no error is generated.
$ret = doris_wait_for_sync_run();
Returns 1, if DORIS is in the state "Sync Run".
If not, Online waits for DORIS to enter this state. The
wait procedure may be interrupted by "STOP" (-tki) or
by pressing the space bar. In this case the function
returns 0.
If the wait state ends with "Sync Run", Online waits
for TIME_HEATUP (or 30) seconds before it returns 1.