\doxysection{comps\+\_\+docgroupid.\+h}
\hypertarget{comps__docgroupid_8h_source}{}\label{comps__docgroupid_8h_source}\index{comps\_docgroupid.h@{comps\_docgroupid.h}}
\mbox{\hyperlink{comps__docgroupid_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{00023\ }
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#ifndef\ COMPS\_DOCGROUPID\_H}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#define\ COMPS\_DOCGROUPID\_H}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#include\ <stdbool.h>}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ "{}comps\_utils.h"{}}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}comps\_log.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}comps\_validate.h"{}}}
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#include\ "{}comps\_default.h"{}}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{comps__obj_8h}{comps\_obj.h}}"{}}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00036\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00037\ \ \ \ \ \mbox{\hyperlink{comps__obj_8h_a00fd526b6bb8d3a008e65267184d457b}{COMPS\_Object\_HEAD}};}
\DoxyCodeLine{00038\ \ \ \ \ \mbox{\hyperlink{structCOMPS__Str}{COMPS\_Str}}\ *\mbox{\hyperlink{structCOMPS__DocGroupId_ab0db3c264e590123362c7aa3a819e543}{name}};}
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keywordtype}{bool}\ \mbox{\hyperlink{structCOMPS__DocGroupId_a739fc25beafed346382acc2e58f0dc0d}{def}};}
\DoxyCodeLine{00042\ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *arches;}
\DoxyCodeLine{00043\ \}\ \mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}};}
\DoxyCodeLine{00044\ \mbox{\hyperlink{comps__obj_8h_aa3afe40a21c9580bcb8a93ef61795b03}{COMPS\_Object\_TAIL}}(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}});}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \textcolor{comment}{//HEAD\_COMPS\_CREATE\_u(docgroupid,\ COMPS\_DocGroupId)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00047\ \textcolor{comment}{//HEAD\_COMPS\_COPY\_u(docgroupid,\ COMPS\_DocGroupId)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00048\ \textcolor{comment}{//HEAD\_COMPS\_DESTROY\_u(docgroupid,\ COMPS\_DocGroupId)\ \ /*comps\_utils.h\ macro*/}}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{keywordtype}{char}\ \_\_comps\_docgroupid\_cmp\_set(\textcolor{keywordtype}{void}\ *gid1,\ \textcolor{keywordtype}{void}\ *gid2);}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00057\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}*\ \mbox{\hyperlink{comps__docgroupid_8h_a1e20de52bfefc23a36f38e19c6b094b4}{comps\_docgroupid\_get\_name}}(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid);}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00065\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__docgroupid_8h_a9ffd4dc7c9f5ee25637c486991d0d020}{comps\_docgroupid\_set\_name}}(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid,\ \textcolor{keywordtype}{char}\ *name,\ \textcolor{keywordtype}{char}\ copy);}
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00072\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}*\ \mbox{\hyperlink{comps__docgroupid_8h_a7cabdf280a092fdb6e2edd7f29fa5c0c}{comps\_docgroupid\_get\_default}}(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid);}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00080\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__docgroupid_8h_ad86f2361a95a4b82cf6f5b8a77a564f6}{comps\_docgroupid\_set\_default}}(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid,\ \textcolor{keywordtype}{int}\ def);}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}*\ comps\_docgroupid\_arches(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid);}
\DoxyCodeLine{00083\ \textcolor{keywordtype}{void}\ comps\_docgroupid\_set\_arches(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *gid,}
\DoxyCodeLine{00084\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *arches);}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ \textcolor{keywordtype}{signed}\ \textcolor{keywordtype}{char}\ comps\_docgroupid\_xml(\mbox{\hyperlink{structCOMPS__DocGroupId}{COMPS\_DocGroupId}}\ *groupid,}
\DoxyCodeLine{00087\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ xmlTextWriterPtr\ writer,}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_Log\ *log,\ COMPS\_XMLOptions\ *options,}
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ COMPS\_DefaultsOptions\ *def\_options);}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ \textcolor{keyword}{extern}\ COMPS\_ValRuleGeneric*\ COMPS\_DocGroupId\_ValidateRules[];}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
