rpm 4.11.90

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmps.h
Go to the documentation of this file.
1 #ifndef H_RPMPS
2 #define H_RPMPS
3
9 #include <stdio.h>
10 #include <rpm/rpmtypes.h>
11 #include <rpm/rpmprob.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
20 typedef struct rpmpsi_s * rpmpsi;
21
27 rpmps rpmpsLink (rpmps ps);
28
34 int rpmpsNumProblems(rpmps ps);
35
41 rpmpsi rpmpsInitIterator(rpmps ps);
42
48 rpmpsi rpmpsFreeIterator(rpmpsi psi);
49
55 rpmProblem rpmpsiNext(rpmpsi psi);
56
62 int rpmpsNextIterator(rpmpsi psi);
63
69 rpmProblem rpmpsGetProblem(rpmpsi psi);
70
75 rpmps rpmpsCreate(void);
76
82 rpmps rpmpsFree(rpmps ps);
83
89 void rpmpsPrint(FILE *fp, rpmps ps);
90
96 void rpmpsAppendProblem(rpmps ps, rpmProblem prob);
97
104 int rpmpsMerge(rpmps dest, rpmps src);
105
106 #ifdef __cplusplus
107 }
108 #endif
109
110 #endif /* H_RPMPS */
rpmpsNumProblems
int rpmpsNumProblems(rpmps ps)
Return number of problems in set.
rpmps
struct rpmps_s * rpmps
Definition: rpmtypes.h:71
rpmpsFreeIterator
rpmpsi rpmpsFreeIterator(rpmpsi psi)
Destroy problem set iterator.
rpmpsAppendProblem
void rpmpsAppendProblem(rpmps ps, rpmProblem prob)
Append a problem to current set of problems.
rpmpsNextIterator
int rpmpsNextIterator(rpmpsi psi)
Return next problem set iterator index.
rpmpsFree
rpmps rpmpsFree(rpmps ps)
Destroy a problem set.
rpmpsCreate
rpmps rpmpsCreate(void)
Create a problem set.
rpmpsLink
rpmps rpmpsLink(rpmps ps)
Reference a problem set instance.
rpmProblem
struct rpmProblem_s * rpmProblem
Definition: rpmprob.h:16
rpmpsi
struct rpmpsi_s * rpmpsi
Problem set iterator.
Definition: rpmps.h:20
rpmpsGetProblem
rpmProblem rpmpsGetProblem(rpmpsi psi)
Return current problem from problem set.
rpmpsInitIterator
rpmpsi rpmpsInitIterator(rpmps ps)
Initialize problem set iterator.
rpmpsiNext
rpmProblem rpmpsiNext(rpmpsi psi)
Return next problem from iterator.
rpmpsMerge
int rpmpsMerge(rpmps dest, rpmps src)
Merge problem set into another.
rpmpsPrint
void rpmpsPrint(FILE *fp, rpmps ps)
Print problems to file handle.