\doxysection{cerr.\+h}
\label{cerr_8h_source}\index{include/cerr.h@{include/cerr.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#ifndef\ YACASL2\_CERR\_H\_INCLUDED}}
\DoxyCodeLine{00002\ \textcolor{preprocessor}{\#define\ YACASL2\_CERR\_H\_INCLUDED}}
\DoxyCodeLine{00003\ }
\DoxyCodeLine{00004\ \textcolor{preprocessor}{\#include\ <stdio.h>}}
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <string.h>}}
\DoxyCodeLine{00007\ \textcolor{preprocessor}{\#include\ <assert.h>}}
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <stdbool.h>}}
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ "{}cmem.h"{}}}
\DoxyCodeLine{00010\ }
\DoxyCodeLine{00014\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\_CERR\ \{}
\DoxyCodeLine{00015\ \ \ \ \ \textcolor{keywordtype}{int}\ num;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00016\ \ \ \ \ \textcolor{keywordtype}{char}\ *msg;\ \ \ \ \ \ }
\DoxyCodeLine{00017\ \}\ CERR;}
\DoxyCodeLine{00018\ }
\DoxyCodeLine{00022\ \textcolor{keyword}{extern}\ CERR\ *cerr;}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00027\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }\_CERRLIST\ \{}
\DoxyCodeLine{00028\ \ \ \ \ \textcolor{keyword}{struct\ }\_CERRLIST\ *next;\ \ \ \ \ }
\DoxyCodeLine{00029\ \ \ \ \ CERR\ *cerr;\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00030\ \}\ CERRLIST;}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00035\ \textcolor{keyword}{extern}\ CERRLIST\ *cerrlist;}
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{keyword}{enum}\ \{}
\DoxyCodeLine{00038\ \ \ \ \ CERRSTRSIZE\ =\ 10,\ \ \ \ }
\DoxyCodeLine{00039\ \ \ \ \ CERRMSGSIZE\ =\ 70,\ \ \ \ }
\DoxyCodeLine{00040\ \};}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00046\ \textcolor{keywordtype}{void}\ cerr\_init();}
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00055\ \textcolor{keywordtype}{void}\ addcerrlist(\textcolor{keywordtype}{int}\ cerrc,\ CERR\ cerrv[]);}
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00061\ \textcolor{keywordtype}{void}\ printcerrlist();}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00069\ \textcolor{keywordtype}{void}\ setcerr(\textcolor{keywordtype}{int}\ num,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *str);}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00078\ \textcolor{keywordtype}{char}\ *getcerrmsg(\textcolor{keywordtype}{int}\ num);}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00084\ \textcolor{keywordtype}{void}\ freecerr();}
\DoxyCodeLine{00085\ \textcolor{preprocessor}{\#endif}}
\end{DoxyCode}