Where are the qd_* routines defined? If I use the code as generated by the PKbuilder and put the qd_* calls in the files indicated I get errors.
The only place I can find them defined is in the cronjob package. If these routines are to be generally used by non-cronjob packages, shouldn't the qd_* routines be moved into the general query_dispatcher code?
Just a thought...