If you work using Fortran 90, DB-ALLe comes with an interface file that you can use to enable type checking on all the DB-ALLe API.
To make use of the interface file, just include it at the beginning of your program:
include "dballe/dballef.h"
The Fortran 90 interface also allows to replace all the functions idba_enqi, idba_enqr, idba_enqd and idba_enqc with idba_enq and to replace all the functions idba_seti, idba_setr, idba_setd and idba_setc with idba_set.