rpmps.h
Go to the documentation of this file.
#ifndef H_RPMPS
#define H_RPMPS
#include <stdio.h>
#include <rpm/rpmtypes.h>
#include <rpm/rpmprob.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct rpmpsi_s * rpmpsi;
rpmps rpmpsLink (rpmps ps);
int rpmpsNumProblems(rpmps ps);
rpmpsi rpmpsInitIterator(rpmps ps);
rpmpsi rpmpsFreeIterator(rpmpsi psi);
rpmProblem rpmpsiNext(rpmpsi psi);
int rpmpsNextIterator(rpmpsi psi);
rpmProblem rpmpsGetProblem(rpmpsi psi);
rpmps rpmpsCreate(void);
rpmps rpmpsFree(rpmps ps);
void rpmpsPrint(FILE *fp, rpmps ps);
void rpmpsAppendProblem(rpmps ps, rpmProblem prob);
int rpmpsMerge(rpmps dest, rpmps src);
#ifdef __cplusplus
}
#endif
#endif /* H_RPMPS */
rpmpsPrint
void rpmpsPrint(FILE *fp, rpmps ps)
Print problems to file handle.
rpmpsAppendProblem
void rpmpsAppendProblem(rpmps ps, rpmProblem prob)
Append a problem to current set of problems.
rpmpsLink
rpmps rpmpsLink(rpmps ps)
Reference a problem set instance.
rpmpsiNext
rpmProblem rpmpsiNext(rpmpsi psi)
Return next problem from iterator.
rpmpsGetProblem
rpmProblem rpmpsGetProblem(rpmpsi psi)
Return current problem from problem set.
rpmpsFree
rpmps rpmpsFree(rpmps ps)
Destroy a problem set.
rpmpsMerge
int rpmpsMerge(rpmps dest, rpmps src)
Merge problem set into another.
rpmpsInitIterator
rpmpsi rpmpsInitIterator(rpmps ps)
Initialize problem set iterator.
rpmpsCreate
rpmps rpmpsCreate(void)
Create a problem set.
rpmpsi
struct rpmpsi_s * rpmpsi
Problem set iterator.
Definition: rpmps.h:20
rpmpsFreeIterator
rpmpsi rpmpsFreeIterator(rpmpsi psi)
Destroy problem set iterator.
rpmpsNumProblems
int rpmpsNumProblems(rpmps ps)
Return number of problems in set.
rpmpsNextIterator
int rpmpsNextIterator(rpmpsi psi)
Return next problem set iterator index.
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmProblem
struct rpmProblem_s * rpmProblem
Definition: rpmprob.h:16