/
githubmirror
/
rpm
Обзор
Документация
Войти
/
githubmirror
/
rpm
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/fsm.hh
34 строки
911 B
Panu Matilainen
Eliminate all uses of now redundant RPM_GNUC_INTERNAL
09 авг 2026, 23:36
09 авг 2026, 23:36
3f3cc23
Код
Авторство
О чём код?
#ifndef H_FSM #define H_FSM /** \ingroup payload * \file fsm.h * File state machine to handle a payload within an rpm package. */ #include <rpm/rpmfi.h> #include <rpm/rpmcallback.h> typedef struct rpmpsm_s * rpmpsm; /** * Execute a file actions for package * @param ts transaction set * @param te transaction set element * @param files transaction element file info * @param psm owner psm (or NULL) * @param[out] failedFile pointer to first file name that failed (malloced) * @return 0 on success */ int rpmPackageFilesInstall(rpmts ts, rpmte te, rpmfiles files, rpmpsm psm, char ** failedFile); int rpmPackageFilesRemove(rpmts ts, rpmte te, rpmfiles files, rpmpsm psm, char ** failedFile); int rpmfiArchiveReadToFilePsm(rpmfi fi, FD_t fd, int nodigest, rpmpsm psm); void rpmpsmNotify(rpmpsm psm, rpmCallbackType what, rpm_loff_t amount); #endif /* H_FSM */