\doxysection{comps\+\_\+doccategory.\+h}
\hypertarget{comps__doccategory_8h_source}{}\label{comps__doccategory_8h_source}\index{comps\_doccategory.h@{comps\_doccategory.h}}
\mbox{\hyperlink{comps__doccategory_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\_DOCCATEGORY\_H}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ COMPS\_DOCCATEGORY\_H}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__obj_8h}{comps\_obj.h}}"{}}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__objdict_8h}{comps\_objdict.h}}"{}}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__objlist_8h}{comps\_objlist.h}}"{}}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}comps\_utils.h"{}}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__docgroupid_8h}{comps\_docgroupid.h}}"{}}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ "{}comps\_validate.h"{}}}
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ "{}comps\_radix.h"{}}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}comps\_log.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}comps\_default.h"{}}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ <stddef.h>}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ <assert.h>}}
\DoxyCodeLine{00035\ }
\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__DocCategory_a5c318ee0a6140ca3d30875bd2452b9ce}{properties}};\ }
\DoxyCodeLine{00052\ \ \ \ \ COMPS\_ObjDict\ *\mbox{\hyperlink{structCOMPS__DocCategory_a617ef410d6634c43bc246eb92f618e85}{name\_by\_lang}};\ }
\DoxyCodeLine{00053\ \ \ \ \ COMPS\_ObjDict\ *\mbox{\hyperlink{structCOMPS__DocCategory_a6be89b524fdef4e3cb07d6e116591165}{desc\_by\_lang}};}
\DoxyCodeLine{00055\ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *\mbox{\hyperlink{structCOMPS__DocCategory_afd72f16cbe534aa5a8a57da46748553d}{group\_ids}};}
\DoxyCodeLine{00057\ \}\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}};}
\DoxyCodeLine{00058\ \mbox{\hyperlink{comps__obj_8h_aa3afe40a21c9580bcb8a93ef61795b03}{COMPS\_Object\_TAIL}}(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}});}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{comment}{//HEAD\_COMPS\_CREATE\_u(doccategory,\ COMPS\_DocCategory)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00062\ \textcolor{comment}{//HEAD\_COMPS\_COPY\_u(doccategory,\ COMPS\_DocCategory)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00063\ \textcolor{comment}{//HEAD\_COMPS\_DESTROY\_u(doccategory,\ COMPS\_DocCategory)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00069\ }
\DoxyCodeLine{00075\ HEAD\_COMPS\_STRPROP\_SETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00082\ HEAD\_COMPS\_STRPROP\_SETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ name)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00089\ HEAD\_COMPS\_STRPROP\_SETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ desc)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00096\ HEAD\_COMPS\_NUMPROP\_SETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},}
\DoxyCodeLine{00097\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ display\_order)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00099\ }
\DoxyCodeLine{00104\ }
\DoxyCodeLine{00110\ HEAD\_COMPS\_PROP\_GETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00111\ HEAD\_COMPS\_PROP\_GETTER\_OBJ(category,\ \textcolor{keywordtype}{id})\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00112\ }
\DoxyCodeLine{00118\ HEAD\_COMPS\_PROP\_GETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ name)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00119\ }
\DoxyCodeLine{00125\ HEAD\_COMPS\_PROP\_GETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ desc)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00126\ }
\DoxyCodeLine{00132\ HEAD\_COMPS\_PROP\_GETTER(category,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ display\_order)\ \textcolor{comment}{/*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00134\ }
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00145\ HEAD\_COMPS\_DOCOBJ\_GETOBJLIST(doccategory,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ group\_ids,\ group\_ids)}
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00152\ }
\DoxyCodeLine{00159\ HEAD\_COMPS\_DOCOBJ\_SETOBJLIST(doccategory,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}},\ group\_ids,\ group\_ids)}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ HEAD\_COMPS\_DOCOBJ\_GETARCHES(doccategory,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}})}
\DoxyCodeLine{00163\ HEAD\_COMPS\_DOCOBJ\_SETARCHES(doccategory,\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}})}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00165\ \textcolor{keywordtype}{char}\ \_\_comps\_doccategory\_idcmp(\textcolor{keywordtype}{void}\ *c1,\ \textcolor{keywordtype}{void}\ *c2);}
\DoxyCodeLine{00166\ }
\DoxyCodeLine{00172\ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{char}\ \mbox{\hyperlink{comps__doccategory_8h_a7868a20117eb11c8769cd05c0635bdf0}{comps\_doccategory\_cmp\_u}}(\mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *cat1,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *cat2);}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00179\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__doccategory_8h_a1596649bc82d0a3faaef03d47eabc150}{comps\_doccategory\_add\_groupid}}(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *cat,}
\DoxyCodeLine{00180\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid);}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00187\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}*\ \mbox{\hyperlink{comps__doccategory_8h_a8b4f8faef75999be26f9c342df082f99}{comps\_doccategory\_union}}(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *c1,}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *c2);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00195\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}*\ \mbox{\hyperlink{comps__doccategory_8h_af31d86385046314571982a7976faecbc}{comps\_doccategory\_intersect}}(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *c1,}
\DoxyCodeLine{00196\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *c2);}
\DoxyCodeLine{00197\ }
\DoxyCodeLine{00198\ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{char}\ comps\_doccategory\_xml(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *category,}
\DoxyCodeLine{00199\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ xmlTextWriterPtr\ writer,\ COMPS\_Log\ *log,}
\DoxyCodeLine{00200\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_XMLOptions\ *xml\_options,}
\DoxyCodeLine{00201\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_DefaultsOptions\ *def\_options);}
\DoxyCodeLine{00202\ \mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}*\ comps\_doccategory\_arch\_filter(\mbox{\hyperlink{structCOMPS__DocCategory}{COMPS\_DocCategory}}\ *source,}
\DoxyCodeLine{00203\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *arches);}
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00205\ extern\ COMPS\_ValRuleGeneric*\ COMPS\_DocCategory\_ValidateRules[];}
\DoxyCodeLine{00206\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
