rpm  4.10.0
rpmps.h
Go to the documentation of this file.
00001 #ifndef H_RPMPS
00002 #define H_RPMPS
00003 
00009 #include <stdio.h>
00010 #include <rpm/rpmtypes.h>
00011 #include <rpm/rpmprob.h>
00012 
00013 #ifdef __cplusplus
00014 extern "C" {
00015 #endif
00016 
00020 typedef struct rpmpsi_s * rpmpsi;
00021 
00027 rpmps rpmpsLink (rpmps ps);
00028 
00034 int rpmpsNumProblems(rpmps ps);
00035 
00041 rpmpsi rpmpsInitIterator(rpmps ps);
00042 
00048 rpmpsi rpmpsFreeIterator(rpmpsi psi);
00049 
00055 rpmProblem rpmpsiNext(rpmpsi psi);
00056 
00062 int rpmpsNextIterator(rpmpsi psi);
00063 
00069 rpmProblem rpmpsGetProblem(rpmpsi psi);
00070 
00075 rpmps rpmpsCreate(void);
00076 
00082 rpmps rpmpsFree(rpmps ps);
00083 
00089 void rpmpsPrint(FILE *fp, rpmps ps);
00090 
00096 void rpmpsAppendProblem(rpmps ps, rpmProblem prob);
00097 
00104 int rpmpsMerge(rpmps dest, rpmps src);
00105 
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109 
00110 #endif  /* H_RPMPS */