\doxysection{comps\+\_\+docgroup.\+h}
\hypertarget{comps__docgroup_8h_source}{}\label{comps__docgroup_8h_source}\index{comps\_docgroup.h@{comps\_docgroup.h}}
\mbox{\hyperlink{comps__docgroup_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*\ libcomps\ -\/\ C\ alternative\ to\ yum.comps\ library}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ Copyright\ (C)\ 2013\ Jindrich\ Luza}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ This\ program\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or\ modify}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ it\ under\ the\ terms\ of\ the\ GNU\ General\ Public\ License\ as\ published\ by}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ the\ Free\ Software\ Foundation;\ either\ version\ 2\ of\ the\ License,\ or}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ any\ later\ version.}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ This\ program\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,\ but}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ See\ the}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *\ GNU\ General\ Public\ License\ for\ more\ details.}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ General\ Public\ License}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ along\ with\ this\ program;\ if\ not,\ write\ to\ \ Free\ Software}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *\ Foundation,\ Inc.,\ 51\ Franklin\ Street,\ Fifth\ Floor,\ Boston,\ MA\ \ 02110-\/1301,}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ USA}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00019\ }
\DoxyCodeLine{00020\ \textcolor{preprocessor}{\#ifndef\ COMPS\_DOCGROUP\_H}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ COMPS\_DOCGROUP\_H}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ "{}comps\_utils.h"{}}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__obj_8h}{comps\_obj.h}}"{}}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__objdict_8h}{comps\_objdict.h}}"{}}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__objlist_8h}{comps\_objlist.h}}"{}}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__docpackage_8h}{comps\_docpackage.h}}"{}}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ "{}comps\_validate.h"{}}}
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ "{}comps\_radix.h"{}}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}comps\_default.h"{}}}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#include\ <stddef.h>}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ <assert.h>}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00049\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00050\ \ \ \ \ \mbox{\hyperlink{comps__obj_8h_a00fd526b6bb8d3a008e65267184d457b}{COMPS\_Object\_HEAD}};}
\DoxyCodeLine{00051\ \ \ \ \ COMPS\_ObjDict\ *\mbox{\hyperlink{structCOMPS__DocGroup_aac5033d920bdf7fde9f14a540763ce7a}{properties}};}
\DoxyCodeLine{00053\ \ \ \ \ COMPS\_ObjDict\ *\mbox{\hyperlink{structCOMPS__DocGroup_a1eb5e2a671689cdc21243df8741710ae}{name\_by\_lang}};}
\DoxyCodeLine{00055\ \ \ \ \ COMPS\_ObjDict\ *\mbox{\hyperlink{structCOMPS__DocGroup_acbf1e2172cf120db72cc1f7bb33df833}{desc\_by\_lang}};}
\DoxyCodeLine{00057\ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *\mbox{\hyperlink{structCOMPS__DocGroup_a98cb7d4ffefe55acffbed90ccfb44e66}{packages}};}
\DoxyCodeLine{00059\ \}\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}};}
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{comment}{//HEAD\_COMPS\_CREATE\_u(docgroup,\ COMPS\_DocGroup)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00062\ \textcolor{comment}{//HEAD\_COMPS\_COPY\_u(docgroup,\ COMPS\_DocGroup)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00063\ \textcolor{comment}{//HEAD\_COMPS\_DESTROY\_u(docgroup,\ COMPS\_DocGroup)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00074\ HEAD\_COMPS\_STRPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00081\ HEAD\_COMPS\_STRPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ name)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00088\ HEAD\_COMPS\_STRPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ desc)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00095\ HEAD\_COMPS\_NUMPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ def)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00096\ }
\DoxyCodeLine{00102\ HEAD\_COMPS\_NUMPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ uservisible)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00109\ HEAD\_COMPS\_NUMPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ biarchonly)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00116\ HEAD\_COMPS\_NUMPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ display\_order)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00123\ HEAD\_COMPS\_STRPROP\_SETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ langonly)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00136\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00137\ HEAD\_COMPS\_PROP\_GETTER\_OBJ(group,\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00138\ }
\DoxyCodeLine{00144\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ name)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00151\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ desc)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00152\ }
\DoxyCodeLine{00158\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ def)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00159\ }
\DoxyCodeLine{00165\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ uservisible)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00172\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ biarchonly)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00179\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ display\_order)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00180\ }
\DoxyCodeLine{00186\ HEAD\_COMPS\_PROP\_GETTER(group,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ langonly)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00188\ }
\DoxyCodeLine{00193\ }
\DoxyCodeLine{00199\ HEAD\_COMPS\_DOCOBJ\_GETOBJLIST(docgroup,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ packages,\ packages)}
\DoxyCodeLine{00201\ }
\DoxyCodeLine{00206\ }
\DoxyCodeLine{00213\ HEAD\_COMPS\_DOCOBJ\_SETOBJLIST(docgroup,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}},\ packages,\ packages)}
\DoxyCodeLine{00215\ }
\DoxyCodeLine{00216\ HEAD\_COMPS\_DOCOBJ\_GETARCHES(docgroup,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}})}
\DoxyCodeLine{00217\ HEAD\_COMPS\_DOCOBJ\_SETARCHES(docgroup,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}})}
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00219\ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{char}\ comps\_docgroup\_cmp\_u(\mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *group1,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *group2);}
\DoxyCodeLine{00220\ \textcolor{keywordtype}{char}\ \_\_comps\_docgroup\_idcmp(\textcolor{keywordtype}{void}\ *g1,\ \textcolor{keywordtype}{void}\ *g2);}
\DoxyCodeLine{00221\ }
\DoxyCodeLine{00227\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__docgroup_8h_ae9378b68e8e013c4af98d4008dc08bfa}{comps\_docgroup\_add\_package}}(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *group,}
\DoxyCodeLine{00228\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__DocGroupPackage}{COMPS\_DocGroupPackage}}\ *package);}
\DoxyCodeLine{00229\ }
\DoxyCodeLine{00238\ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}*\ \mbox{\hyperlink{comps__docgroup_8h_a3a6e6808b6cb3c0fb137f3f26f4dd1ab}{comps\_docgroup\_get\_packages}}(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *group,\ \textcolor{keywordtype}{char}\ *name,}
\DoxyCodeLine{00239\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{comps__docpackage_8h_ab1316a92e5193f11bf9e1a0d6f228a6e}{COMPS\_PackageType}}\ type);}
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00246\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}*\ \mbox{\hyperlink{comps__docgroup_8h_ae3d251d0f475296e1859c265f307199a}{comps\_docgroup\_union}}(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *g1,\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *g2);}
\DoxyCodeLine{00247\ }
\DoxyCodeLine{00253\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}*\ \mbox{\hyperlink{comps__docgroup_8h_aebc906ded34ffdf12628d926b562c6d1}{comps\_docgroup\_intersect}}(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *g1,}
\DoxyCodeLine{00254\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *g2);}
\DoxyCodeLine{00255\ }
\DoxyCodeLine{00256\ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{char}\ comps\_docgroup\_xml(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *group,\ xmlTextWriterPtr\ writer,}
\DoxyCodeLine{00257\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_Log\ *log,\ COMPS\_XMLOptions\ *xml\_options,}
\DoxyCodeLine{00258\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_DefaultsOptions\ *def\_options);}
\DoxyCodeLine{00259\ }
\DoxyCodeLine{00260\ \mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}*\ comps\_docgroup\_arch\_filter(\mbox{\hyperlink{structCOMPS__DocGroup}{COMPS\_DocGroup}}\ *source,}
\DoxyCodeLine{00261\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *arches);}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00263\ extern\ \mbox{\hyperlink{structCOMPS__ObjectInfo}{COMPS\_ObjectInfo}}\ COMPS\_DocGroup\_ObjInfo;}
\DoxyCodeLine{00264\ extern\ COMPS\_ValRuleGeneric*\ COMPS\_DocGroup\_ValidateRules[];}
\DoxyCodeLine{00265\ }
\DoxyCodeLine{00266\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
