static rpmRC db3_pkgdbPut(dbiIndex dbi, dbiCursor dbc, unsigned int hdrNum, unsigned char *hdrBlob, unsigned int hdrLen) { DBT hdr; memset(&hdr, 0, sizeof(hdr)); hdr.data = hdrBlob; hdr.size = hdrLen; return updatePackages(dbc, hdrNum, &hdr); }
void DGLAndroidProjectFactory::gotPackages( DGLADBDevice* device, std::vector<std::string> packages) { if (m_ui.selectDevWidget->getCurrentDevice() == device) { m_CurrentPackages = packages; updatePackages(); } }
static rpmRC db3_pkgdbDel(dbiIndex dbi, dbiCursor dbc, unsigned int hdrNum) { return updatePackages(dbc, hdrNum, NULL); }