diff options
author | wangbiao <biao716.wang@samsung.com> | 2023-11-16 18:17:42 +0900 |
---|---|---|
committer | wangbiao <biao716.wang@samsung.com> | 2023-11-16 18:17:42 +0900 |
commit | c30d127e8780dc678168ee121b9f2eeb1a8aaafa (patch) | |
tree | cdc9ddc3123edd5741e5151f3076c9bfc9535916 /lib/fsm.h | |
parent | 258ff2bdb80c458b743417c427f66fa5f27bf7c5 (diff) | |
download | librpm-tizen-c30d127e8780dc678168ee121b9f2eeb1a8aaafa.tar.gz librpm-tizen-c30d127e8780dc678168ee121b9f2eeb1a8aaafa.tar.bz2 librpm-tizen-c30d127e8780dc678168ee121b9f2eeb1a8aaafa.zip |
Upgrade version to 4.14tizen/4.14.1.1.tizen20230628
Change-Id: I21bf1a3a7c25cbec43022202cf2e5865b603a309
Signed-off-by: wangbiao <biao716.wang@samsung.com>
Diffstat (limited to 'lib/fsm.h')
-rw-r--r-- | lib/fsm.h | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -17,22 +17,21 @@ typedef struct rpmpsm_s * rpmpsm; /** * Execute a file actions for package * @param ts transaction set - * @param fi transaction element file info - * @param cfd + * @param te transaction set element + * @param files transaction element file info * @param psm owner psm (or NULL) - * @retval archiveSize pointer to archive size * @retval failedFile pointer to first file name that failed (malloced) * @return 0 on success */ -int rpmPackageFilesInstall(rpmts ts, rpmte te, rpmfi fi, FD_t cfd, +int rpmPackageFilesInstall(rpmts ts, rpmte te, rpmfiles files, rpmpsm psm, char ** failedFile); -int rpmPackageFilesRemove(rpmts ts, rpmte te, rpmfi fi, +int rpmPackageFilesRemove(rpmts ts, rpmte te, rpmfiles files, rpmpsm psm, char ** failedFile); -int rpmPackageFilesArchive(rpmfi fi, int isSrc, FD_t cfd, - rpm_loff_t * archiveSize, char ** failedFile); +RPM_GNUC_INTERNAL +int rpmfiArchiveReadToFilePsm(rpmfi fi, FD_t fd, int nodigest, rpmpsm psm); RPM_GNUC_INTERNAL void rpmpsmNotify(rpmpsm psm, int what, rpm_loff_t amount); |