#include "db.h" Dbptr dbnojoin(Dbptr db1, Dbptr db2, Tbl **keys1p, Tbl **keys2p, char *view_name)
The join keys may be explicitly specified with keys1p and keys2p; or if these are pointers to zero, the inferred joined keys are returned; or if these are zero, the join keys are inferred, but not returned.
A name may be specified with view_name; if this is zero, a name is generated.
As with dbjoin(3), if the keys1p and keys2p pointers are non-zero, but point to zero, then the inferred join keys are returned, and the caller is responsible for freeing the lists, with a call like:
freetbl(keys1,0);
dbjoin(3) dbnojoin(1)