Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

batch.h

Go to the documentation of this file.
00001 
00023 #ifndef _LIBPACKMAN_BATCH_H_
00024 #define _LIBPACKMAN_BATCH_H_
00025 
00026 #ifdef __cplusplus
00027 extern "C" {
00028 #endif
00029 
00030 typedef struct _PmBatch PmBatch; 
00032 #include <libpackman/package.h>
00033 
00044 struct _PmBatch
00045 {
00046     PmPackage *firstPackage;   
00047     PmPackage *lastPackage;    
00049     unsigned int count;        
00051     unsigned char _checkingDeps; 
00052     unsigned char _curStep;      
00053     unsigned char _totalSteps;   
00054 };
00055 
00056 /**************************************************************************/
00058 /**************************************************************************/
00066 PmBatch *pmNewBatch(void);
00067 
00076 void pmDestroyBatch(PmBatch *batch);
00077 
00081 /**************************************************************************/
00083 /**************************************************************************/
00095 void pmBatchAddPackage(PmBatch *batch, PmPackage *package);
00096 
00099 #ifdef __cplusplus
00100 }
00101 #endif
00102 
00103 #endif /* _LIBPACKMAN_BATCH_H_ */
00104 

Generated on Tue Jul 2 03:15:23 2002 for libpackman by doxygen1.2.15-20020430