solvable.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2007, Novell Inc.
00003  *
00004  * This program is licensed under the BSD license, read LICENSE.BSD
00005  * for further information
00006  */
00007 
00008 /*
00009  * solvable.h
00010  * 
00011  * A solvable represents an object with name-epoch:version-release.arch and dependencies
00012  */
00013 
00014 #ifndef SATSOLVER_SOLVABLE_H
00015 #define SATSOLVER_SOLVABLE_H
00016 
00017 #include "pooltypes.h"
00018 
00019 struct _Repo;
00020 
00021 typedef struct _Solvable {
00022   Id name;
00023   Id arch;
00024   Id evr;                       /* epoch:version-release */
00025   Id vendor;
00026 
00027   struct _Repo *repo;           /* repo we belong to */
00028 
00029   /* dependencies are offsets into idarray of repo */
00030   Offset provides;                      /* terminated with Id 0 */
00031   Offset obsoletes;
00032   Offset conflicts;
00033 
00034   Offset requires;
00035   Offset recommends;
00036   Offset suggests;
00037 
00038   Offset supplements;
00039   Offset enhances;
00040 
00041 } Solvable;
00042 
00043 #endif /* SATSOLVER_SOLVABLE_H */
Generated on Mon Dec 12 11:44:12 2011 for satsolver by  doxygen 1.6.3