\doxysection{comps\+\_\+mm.\+h}
\hypertarget{comps__mm_8h_source}{}\label{comps__mm_8h_source}\index{comps\_mm.h@{comps\_mm.h}}
\mbox{\hyperlink{comps__mm_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\_MM\_H}}
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#define\ COMPS\_MM\_H}}
\DoxyCodeLine{00022\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#include\ <string.h>}}
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ <signal.h>}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00036\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\{}
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{structCOMPS__RefC_aa10407da05bd5466577c0b77166d3632}{ref\_count}};\ }
\DoxyCodeLine{00038\ \ \ \ \ void\ (*\mbox{\hyperlink{structCOMPS__RefC_a1eccbe24f650b572f042a77e0268a52c}{destructor}})(\textcolor{keywordtype}{void}*);\ }
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keywordtype}{void}\ *\mbox{\hyperlink{structCOMPS__RefC_a672697fafa475922cf83a5a72e04a0dd}{obj}};\ }
\DoxyCodeLine{00041\ \}\ \mbox{\hyperlink{structCOMPS__RefC}{COMPS\_RefC}};}
\DoxyCodeLine{00042\ }
\DoxyCodeLine{00044\ \mbox{\hyperlink{structCOMPS__RefC}{COMPS\_RefC}}*\ \mbox{\hyperlink{comps__mm_8h_a19b81957c8e2d3f6a6d35aefba4496f8}{comps\_refc\_create}}(\textcolor{keywordtype}{void}\ *obj,\ \textcolor{keywordtype}{void}\ (*destructor)(\textcolor{keywordtype}{void}*));}
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00050\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__mm_8h_a0cedddf13e90bfade88c7728513e7211}{comps\_refc\_destroy}}(\mbox{\hyperlink{structCOMPS__RefC}{COMPS\_RefC}}\ *refc);}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00055\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__mm_8h_a26ada6e95aa4a75d3b8b5a468d1ea7e5}{comps\_refc\_destroy\_v}}(\textcolor{keywordtype}{void}\ *refc);}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00060\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__mm_8h_ae903e31746c19cf12c8042107c5727e5}{comps\_refc\_decref}}(\mbox{\hyperlink{structCOMPS__RefC}{COMPS\_RefC}}\ *refc);}
\DoxyCodeLine{00061\ }
\DoxyCodeLine{00064\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{comps__mm_8h_aadcaaac04bffb81cf6204a5aa3a8de3f}{comps\_refc\_incref}}(\mbox{\hyperlink{structCOMPS__RefC}{COMPS\_RefC}}\ *refc);}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//COMPS\_MM\_H}}

\end{DoxyCode}
