int zpm_exec(struct zpm *z, const char *sql, int(*callback)(void *, int, char **, char**), void *arg, char **errmsg);
int zpm_foreach_path(struct zpm *zpm, char *pkgid, char *where,
int zpm_exec(struct zpm *z, const char *sql, int(*callback)(void *, int, char **, char**), void *arg, char **errmsg);
int zpm_foreach_path(struct zpm *zpm, char *pkgid, char *where,