summaryrefslogtreecommitdiff
path: root/lib/rpmps.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-13Eliminate all fooUnlink() functions out of the APIPanu Matilainen1-7/+0
- These are internal helpers only, all refcount users need to use fooFree() or similar for correct operation. Add fwd declarations where necessary to avoid moving code around unnecessarily. - We could add these back later as aliases to fooFree() but for now, just get them out of the way.
2010-04-21Eliminate unused "known problems" based filtering from rpmtsRun()Rakesh Pandit1-17/+0
- This mechanism has never been used by anything at all, which suggests its not a particularly useful feature - Removing unused rpmpsTrim() from rpmps - Marking okProbs parameter of rpmtsRun() function as unused to avoid unnecessary breakage
2010-03-26Eliminate rpmpsAppend() from the APIPanu Matilainen1-14/+0
- This was only a convenience function that shouldn't really have been exported to begin with, and is not necessary at all - bury it inside rpmte.c for now to hide lazy problem set allocation - In the other news of the day... According to git, this happens to be the 10000th commit to the master branch of this codebase. Happy anniversary to rpm :P
2010-03-26Push problem creation argument sanitation to the level belowPanu Matilainen1-7/+3
- rpmpsAppend() and rpmProblemCreate() have no use for fn/dn either, its just stored in one string internally - this is kinda unnecessary API break but these aren't used outside rpm so it doesn't make much difference
2010-03-26Add a simple and dumb rpmpsMerge() function to merge two problem setsPanu Matilainen1-0/+8
2010-03-26Add a saner rpmps iteration interfacePanu Matilainen1-0/+7
- simply return the actual problem objects from the iterator instead of "index" which is not usable for anything outside rpmps.c - implement rpmpsNexIterator() on top of the new rpmpsiNext() as backwards compatibility for now
2010-03-25Split rpm problem type + its "methods" to separate source + headerPanu Matilainen1-138/+1
- rpmps is just something that stores rpm problems, problems themselves are individual and opaque "objects", deserving their own module
2010-03-25Add public function for testing problem equalityPanu Matilainen1-0/+8
- turn around sameProblem() return, pay more attention to details and make it public - use it in rpmpsTrim() too
2010-03-22Lose the useless rpmps refcounting debug junkPanu Matilainen1-7/+2
- get the debug messages out of API, this is what should've been in commit dbdbe8010cd944f026a5a4e5d071eb31d29d81c4
2010-03-18Add a new problem type for obsoletesPanu Matilainen1-0/+1
2010-03-12Move rpmps typedef into rpmtypes.h, its common enufPanu Matilainen1-3/+1
2009-07-09Add reference counting to rpmProblemsPanu Matilainen1-0/+14
2008-06-11Make rpmps generic number field 64bit, rename getter methodPanu Matilainen1-8/+10
- rename the parameters + internal use to more generic "number" - rename ugly and dumb rpmProblemGetLong() to rpmProblemGetDiskNeed() and return rpm_loff_t - the number field is used for some other purposes too (whether dep problem is for installed package), work around this for now by just defining rpmProblemGetDiskNeed() result value as undefined on non-disk related problems ;)
2008-04-24Remove meaningless extern on function declarations in headersPanu Matilainen1-1/+1
2008-01-30Remove bunch of unnecessary rpmlib.h includesPanu Matilainen1-1/+1
- replace with rpmtypes.h where needed
2008-01-28More missing system includes for size_t & friendsPanu Matilainen1-0/+1
2007-12-15Remove bogus const from rpmProblemString() return typePanu Matilainen1-1/+1
- its malloced so it needs to be freed - fix all users to actually free
2007-12-08Switch to <rpm/foo.h> style for public headersPanu Matilainen1-1/+1
- adjust include paths accordingly
2007-12-04Eliminate debug junk from the APIPanu Matilainen1-10/+0
- add some helper macros to accomplish the same, easy to enable / disable as needed
2007-12-02Move rpmprobFilterFlag enums to rpmps where they logically belongPanu Matilainen1-0/+16
2007-12-01Add separate public header for callback declarationsPanu Matilainen1-1/+1
- rpmmessages is empty, lose it - adjust includes
2007-11-23Add doxygen grouping to rpmps methodsPanu Matilainen1-24/+24
2007-11-23Use #include <x.h> syntax to include public headers.Ralf Corsépius1-1/+1
2007-10-19Rename rpmpsProblem() -> rpmpsGetProblem() to make purpose clearerPanu Matilainen1-1/+1
2007-10-19Make rpmProblem standalone "object"Panu Matilainen1-0/+32
- problem set contains array of pointers to problems, not problems themselves - add functions for creating and destroying problems - use iterators for freeing the problems in rpmpsFree() - new rpmpsAppendProblem() API for appending existing problem item to problem set - implement rpmpsAppend using the new methods
2007-10-19Eliminate rpmps and rpmProblem structure details from the APIPanu Matilainen1-26/+0
2007-10-19Add methods for accessing rpmProblem dataPanu Matilainen1-0/+43
2007-10-18Add API for iterating over rpmps problemsPanu Matilainen1-0/+35
2007-10-16Remove unimplemented, unused RPMPROB_BADPRETRANSPanu Matilainen1-1/+0
- leftover from pretrans syscall hack before %pretrans script days
2007-10-08Make headers self-contained.Ralf Corsépius1-0/+2
2007-10-08'Adjust extern C {} blocks.'Ralf Corsépius1-4/+4
2007-09-11Remove splint tags.Ralf Corsépius1-50/+20
2003-12-30- spelling corrections (#112728).jbj1-1/+1
CVS patchset: 7047 CVS date: 2003/12/30 13:14:49
2002-07-28- python: don't segfault in ts.GetKeys() on erased packages.jbj1-0/+5
resurrect build modes. add undocumented debugging options. CVS patchset: 5577 CVS date: 2002/07/28 14:52:33
2002-06-30- warn only once for each NOKEY/UNTRUSTED key id.jbj1-1/+2
- factor common options into table, add rpmcliInit() and rpmcliFini(). - add preliminary rpmgraph(8) and rpmcache(8) executables to rpm-devel. CVS patchset: 5535 CVS date: 2002/06/30 22:47:32
2002-06-28- disambiguate added/installed dependency failures (#50388).jbj1-29/+9
CVS patchset: 5532 CVS date: 2002/06/28 21:54:24
2002-06-15- beecrypt: merge changes from beecrypt-2.3.0.jbj1-1/+1
- beecrypt: merge doxygen markup with rpmapi doco. - beecrypt: revert cpu/arch compile option mixup (#66752). CVS patchset: 5495 CVS date: 2002/06/15 19:43:41
2002-06-12- fix: separate existence and number checks for problems found.jbj1-0/+9
CVS patchset: 5481 CVS date: 2002/06/12 14:52:59
2002-05-19- fix: synthesize unpacking progress callbacks for packages w/o files.jbj1-0/+6
CVS patchset: 5440 CVS date: 2002/05/19 23:37:24
2002-05-19- Grand Renaming of rpm data types.jbj1-0/+193
CVS patchset: 5439 CVS date: 2002/05/19 18:42:25