rpm
4.16.1.2
|
Problem Set API. More...
Files | |
file | rpmps.h |
Structures and prototypes used for an "rpmps" problem set. | |
Typedefs | |
typedef struct rpmpsi_s * | rpmpsi |
Problem set iterator. More... | |
Functions | |
rpmps | rpmpsLink (rpmps ps) |
Reference a problem set instance. More... | |
int | rpmpsNumProblems (rpmps ps) |
Return number of problems in set. More... | |
rpmpsi | rpmpsInitIterator (rpmps ps) |
Initialize problem set iterator. More... | |
rpmpsi | rpmpsFreeIterator (rpmpsi psi) |
Destroy problem set iterator. More... | |
rpmProblem | rpmpsiNext (rpmpsi psi) |
Return next problem from iterator. More... | |
int | rpmpsNextIterator (rpmpsi psi) |
Return next problem set iterator index. More... | |
rpmProblem | rpmpsGetProblem (rpmpsi psi) |
Return current problem from problem set. More... | |
rpmps | rpmpsCreate (void) |
Create a problem set. More... | |
rpmps | rpmpsFree (rpmps ps) |
Destroy a problem set. More... | |
void | rpmpsPrint (FILE *fp, rpmps ps) |
Print problems to file handle. More... | |
void | rpmpsAppendProblem (rpmps ps, rpmProblem prob) |
Append a problem to current set of problems. More... | |
int | rpmpsMerge (rpmps dest, rpmps src) |
Merge problem set into another. More... | |
Problem Set API.
void rpmpsAppendProblem | ( | rpmps | ps, |
rpmProblem | prob | ||
) |
Append a problem to current set of problems.
ps | problem set |
prob | rpmProblem |
rpmps rpmpsCreate | ( | void | ) |
Create a problem set.
Destroy problem set iterator.
psi | problem set iterator |
rpmProblem rpmpsGetProblem | ( | rpmpsi | psi | ) |
Return current problem from problem set.
psi | problem set iterator |
rpmProblem rpmpsiNext | ( | rpmpsi | psi | ) |
Return next problem from iterator.
psi | problem set iterator |
Initialize problem set iterator.
ps | problem set |
Reference a problem set instance.
ps | transaction set |
Merge problem set into another.
dest | destination problem set |
src | source problem set |
int rpmpsNextIterator | ( | rpmpsi | psi | ) |
Return next problem set iterator index.
psi | problem set iterator |
int rpmpsNumProblems | ( | rpmps | ps | ) |
Return number of problems in set.
ps | problem set |
void rpmpsPrint | ( | FILE * | fp, |
rpmps | ps | ||
) |
Print problems to file handle.
fp | file handle (NULL uses stderr) |
ps | problem set |