\doxysection{comps\+\_\+objdict.\+h}
\hypertarget{comps__objdict_8h_source}{}\label{comps__objdict_8h_source}\index{comps\_objdict.h@{comps\_objdict.h}}
\mbox{\hyperlink{comps__objdict_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{00029\ \textcolor{preprocessor}{\#ifndef\ COMPS\_OBJDICT\_H}}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#define\ COMPS\_OBJDICT\_H}}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00032\ \textcolor{preprocessor}{\#include\ "{}comps\_objradix.h"{}}}
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}comps\_objmradix.h"{}}}
\DoxyCodeLine{00034\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{typedef}\ COMPS\_ObjRTree\ COMPS\_ObjDict;}
\DoxyCodeLine{00036\ \mbox{\hyperlink{comps__obj_8h_aa3afe40a21c9580bcb8a93ef61795b03}{COMPS\_Object\_TAIL}}(COMPS\_ObjDict);}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ \textcolor{keyword}{typedef}\ COMPS\_ObjMRTree\ COMPS\_ObjMDict;}
\DoxyCodeLine{00039\ \mbox{\hyperlink{comps__obj_8h_aa3afe40a21c9580bcb8a93ef61795b03}{COMPS\_Object\_TAIL}}(COMPS\_ObjMDict);}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ COMPS\_ObjDict*\ comps\_objdict\_create();}
\DoxyCodeLine{00042\ COMPS\_ObjMDict*\ comps\_objmdict\_create();}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \textcolor{keywordtype}{void}\ comps\_objdict\_destroy(COMPS\_ObjDict\ *rt);}
\DoxyCodeLine{00046\ \textcolor{keywordtype}{void}\ comps\_objdict\_destroy\_v(\textcolor{keywordtype}{void}\ *rt);}
\DoxyCodeLine{00047\ \textcolor{keywordtype}{void}\ comps\_objmdict\_destroy(COMPS\_ObjMDict\ *rt);}
\DoxyCodeLine{00048\ \textcolor{keywordtype}{void}\ comps\_objmdict\_destroy\_v(\textcolor{keywordtype}{void}\ *rt);}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00066\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_ga6c5eb9742a1c9feedae4b7bdc698d99d}{comps\_objdict\_set}}(COMPS\_ObjDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00078\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_ga8d6d8869519cdb844eb957077c1cd5c7}{comps\_objdict\_set\_x}}(COMPS\_ObjDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00087\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_ga576d146f1f685d300edff32849d76c63}{comps\_objdict\_set\_n}}(COMPS\_ObjDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ len,}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00102\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_ga996821ed28a1a834e2af3fc8648f5352}{comps\_objmdict\_set}}(COMPS\_ObjMDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00113\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_ga5f2782d3da5919c3ffd96b4fe18f50e3}{comps\_objmdict\_set\_x}}(COMPS\_ObjMDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00114\ }
\DoxyCodeLine{00122\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_ga9726536b4da1c9533b75177b39501e4a}{comps\_objmdict\_set\_n}}(COMPS\_ObjMDict\ *rt,\ \textcolor{keywordtype}{char}\ *key,\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ len,}
\DoxyCodeLine{00123\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}\ *data);}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00138\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}*\ \mbox{\hyperlink{group__comps__dict_ga8f896ac473e1154d5b1af2ead6e6eafc}{comps\_objdict\_get}}(COMPS\_ObjDict\ *rt,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *key);}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00149\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}*\ \mbox{\hyperlink{group__comps__dict_ga2124b36abd433e63209ce34a2455195d}{comps\_objdict\_get\_x}}(COMPS\_ObjRTree\ *\ rt,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\ key);}
\DoxyCodeLine{00151\ }
\DoxyCodeLine{00163\ \mbox{\hyperlink{structCOMPS__ObjList}{COMPS\_ObjList}}\ *\ \mbox{\hyperlink{group__comps__multi__dict_ga2bd8f274913b970e35955cad980b0648}{comps\_objmdict\_get}}(COMPS\_ObjMDict\ *rt,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *key);}
\DoxyCodeLine{00165\ }
\DoxyCodeLine{00175\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_ga64140cb8dce0501d1ca2483a99f66823}{comps\_objdict\_unset}}(COMPS\_ObjDict\ *\ rt,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\ key);}
\DoxyCodeLine{00177\ }
\DoxyCodeLine{00187\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_gae3d0f545f64d8d500bd66103a1e9e23d}{comps\_objmdict\_unset}}(COMPS\_ObjMDict\ *\ rt,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\ key);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00195\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_gadba3ebc7ef4be3cff61f81c2e812f721}{comps\_objdict\_clear}}(COMPS\_ObjDict\ *\ rt);}
\DoxyCodeLine{00197\ }
\DoxyCodeLine{00203\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_ga6ab0ad53b3a3a4cebb3b8dd0e94af1b8}{comps\_objmdict\_clear}}(COMPS\_ObjMDict\ *\ rt);}
\DoxyCodeLine{00205\ }
\DoxyCodeLine{00212\ COMPS\_HSList\ *\ \mbox{\hyperlink{group__comps__dict_ga4e6d8b99396ef4bacfb44062d09d7bcd}{comps\_objdict\_values}}(COMPS\_ObjDict\ *\ rt);}
\DoxyCodeLine{00214\ }
\DoxyCodeLine{00221\ COMPS\_HSList\ *\ \mbox{\hyperlink{group__comps__multi__dict_ga646cc313f6aaf220c79970be2ef1821e}{comps\_objmdict\_values}}(COMPS\_ObjMDict\ *\ rt);}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00235\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__dict_gae6f40cb342b5adf90be81447fdfa1c3f}{comps\_objdict\_values\_walk}}(COMPS\_ObjRTree\ *\ rt,\ \textcolor{keywordtype}{void}*\ udata,}
\DoxyCodeLine{00236\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ (*walk\_f)(\textcolor{keywordtype}{void}*,\ \mbox{\hyperlink{structCOMPS__Object}{COMPS\_Object}}*));}
\DoxyCodeLine{00238\ }
\DoxyCodeLine{00250\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__comps__multi__dict_ga890508f211356673df7b7fc3f6847739}{comps\_objmdict\_values\_walk}}(COMPS\_ObjMDict\ *rt,\ \textcolor{keywordtype}{void}\ *udata,}
\DoxyCodeLine{00251\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ (*walk\_f)(\textcolor{keywordtype}{void}*,\ \textcolor{keywordtype}{void}*));}
\DoxyCodeLine{00253\ }
\DoxyCodeLine{00264\ COMPS\_ObjDict*\ \mbox{\hyperlink{group__comps__dict_ga8b608ab26125e7cabc9fb9fbcf041096}{comps\_objdict\_clone}}(COMPS\_ObjDict\ *rt);}
\DoxyCodeLine{00266\ \textcolor{keywordtype}{void}\ *\ comps\_objdict\_clone\_v(\textcolor{keywordtype}{void}\ *\ rt);}
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00278\ COMPS\_ObjMDict*\ \mbox{\hyperlink{group__comps__multi__dict_gaf95cc6b0c179082fe1126e15b6b49c09}{comps\_objmdict\_clone}}(COMPS\_ObjMDict\ *rt);}
\DoxyCodeLine{00280\ \textcolor{keywordtype}{void}*\ comps\_objmdict\_clone\_v(\textcolor{keywordtype}{void}\ *rt);}
\DoxyCodeLine{00281\ }
\DoxyCodeLine{00289\ COMPS\_HSList*\ \mbox{\hyperlink{group__comps__multi__dict_ga7bc8d57a21e1a0067caadbc8a359ac6a}{comps\_objmdict\_keys}}(COMPS\_ObjMDict\ *rt);}
\DoxyCodeLine{00291\ }
\DoxyCodeLine{00299\ COMPS\_HSList*\ \mbox{\hyperlink{group__comps__dict_ga785cdd95331af053d4ccfe718de61606}{comps\_objdict\_keys}}(COMPS\_ObjDict\ *rt);}
\DoxyCodeLine{00300\ }
\DoxyCodeLine{00306\ COMPS\_HSList*\ \mbox{\hyperlink{group__comps__dict_ga893c55b306ca01f795f4b3faa8b5e47b}{comps\_objdict\_pairs}}(COMPS\_ObjDict\ *rt);}
\DoxyCodeLine{00308\ }
\DoxyCodeLine{00316\ COMPS\_HSList*\ \mbox{\hyperlink{group__comps__multi__dict_ga0d4c51de9aa18523147372ed15aa3947}{comps\_objmdict\_pairs}}(COMPS\_ObjMDict\ *rt);}
\DoxyCodeLine{00318\ }
\DoxyCodeLine{00321\ \textcolor{comment}{//void\ comps\_mdict\_unite(COMPS\_MDict\ *d1,\ COMPS\_MDict\ *d2);}}
\DoxyCodeLine{00322\ }
\DoxyCodeLine{00333\ COMPS\_ObjDict*\ \mbox{\hyperlink{group__comps__dict_gad43a15561595472cac71a0ce95b195c4}{comps\_objdict\_union}}(COMPS\_ObjDict\ *d1,\ COMPS\_ObjDict\ *d2);}
\DoxyCodeLine{00335\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
