PYTHON. -
file hash.c
file hash.h
file rpmmodule.c
file upgrade.c
file upgrade.h
class header
A python header object represents an RPM package header.
class rpmtrans
A python rpmtrans object represents an RPM transaction set.
class rpmtrans
A python rpmtrans object represents an RPM transaction set.
struct rpmtransObject_s
struct rpmtransObject_s
struct tsCallbackType
PyObject * rpmtransAdd (rpmtransObject *s, PyObject *args)
PyObject * rpmtransRemove (rpmtransObject *s, PyObject *args)
PyObject * rpmtransDepCheck (rpmtransObject *s, PyObject *args)
PyObject * rpmtransOrder (rpmtransObject *s, PyObject *args)
PyObject * py_rpmtransGetKeys (rpmtransObject *s, PyObject *args)
void * tsCallback (const void *hd, const rpmCallbackType what, const unsigned long amount, const unsigned long total, const void *pkgKey, rpmCallbackData data)
PyObject * rpmtransRun (rpmtransObject *s, PyObject *args)
PyObject * rpmtransGetAttr (rpmtransObject *o, char *name)
void rpmtransDealloc (PyObject *o)
int rpmtransSetAttr (rpmtransObject *o, char *name, PyObject *val)
Header transactionSetHeader = NULL
PyMethodDef rpmtransMethods []
PyTypeObject rpmtransType
PyObject * rpmtransCreate (PyObject *self, PyObject *args)
typedef rpmtransObject_s rpmtransObject
Definition at line 43 of file rpmmodule.c.
Definition at line 342 of file rpmmodule.c.
References rpmtransGetKeys(), and rpmtransObject_s::ts.
Definition at line 212 of file rpmmodule.c.
References rpmtransObject_s::keyList, rpmtransAddPackage(), rpmtransAvailablePackage(), and rpmtransObject_s::ts.
Definition at line 558 of file rpmmodule.c.
References rpmtransObject_s::dbo, rpmtransObject_s::keyList, rpmtransCreateSet(), rpmtransType, rpmtransObject_s::scriptFd, and rpmtransObject_s::ts.
Definition at line 493 of file rpmmodule.c.
References rpmtransObject_s::dbo, Fclose(), rpmtransObject_s::keyList, rpmtransFree(), rpmtransObject_s::scriptFd, and rpmtransObject_s::ts.
Definition at line 280 of file rpmmodule.c.
References rpmdepCheck(), rpmdepFreeConflicts(), rpmDependencyConflict_s::suggestedPackages, and rpmtransObject_s::ts.
Definition at line 487 of file rpmmodule.c.
Definition at line 331 of file rpmmodule.c.
References rpmdepOrder(), and rpmtransObject_s::ts.
Definition at line 249 of file rpmmodule.c.
References rpmtransObject_s::dbo, rpmdbFreeIterator(), rpmdbGetIteratorCount(), rpmdbGetIteratorOffset(), RPMDBI_LABEL, rpmdbInitIterator(), rpmdbNextIterator(), rpmtransRemovePackage(), and rpmtransObject_s::ts.
Definition at line 427 of file rpmmodule.c.
References tsCallbackType::cb, tsCallbackType::data, rpmProblemSet_s::numProblems, rpmProblemSet_s::probs, tsCallbackType::pythonError, rpmProblemSetFree(), rpmProblemString(), rpmRunTransactions(), rpmProblem_s::str1, rpmtransObject_s::ts, tsCallback(), rpmProblem_s::type, and rpmProblem_s::ulong1.
Definition at line 509 of file rpmmodule.c.
References fdDup(), rpmtransSetScriptFd(), rpmtransObject_s::scriptFd, and rpmtransObject_s::ts.
Definition at line 381 of file rpmmodule.c.
References tsCallbackType::cb, tsCallbackType::data, Fclose(), fdDup(), tsCallbackType::pythonError, RPMCALLBACK_INST_CLOSE_FILE, RPMCALLBACK_INST_OPEN_FILE, rpmCallbackData, and rpmCallbackType.
Initial value:
{ {'add', (PyCFunction) rpmtransAdd, 1 }, {'remove', (PyCFunction) rpmtransRemove, 1 }, {'depcheck', (PyCFunction) rpmtransDepCheck, 1 }, {'order', (PyCFunction) rpmtransOrder, 1 }, {'getKeys', (PyCFunction) py_rpmtransGetKeys, 1 }, {'run', (PyCFunction) rpmtransRun, 1 }, {NULL, NULL} }
Definition at line 475 of file rpmmodule.c.
Referenced by rpmtransGetAttr().
Initial value:
{ PyObject_HEAD_INIT(NULL) 0, 'rpmtrans', sizeof(rpmtransObject), 0, (destructor) rpmtransDealloc, 0, (getattrfunc) rpmtransGetAttr, (setattrfunc) rpmtransSetAttr, 0, 0, 0, 0, 0, }
Definition at line 532 of file rpmmodule.c.
Referenced by initrpm(), and rpmtransCreate().
Todo:
Remove, there's no headerLink refcount on the pointer.
Definition at line 377 of file rpmmodule.c.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |