[libqb] [PATCH 2/3] hdb: move functions into cfile