rpm  4.11.1-rc1
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 
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 */