\doxysection{config.\+h}
\hypertarget{config_8h_source}{}\label{config_8h_source}\mbox{\hyperlink{config_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00001}\mbox{\hyperlink{config_8h_ac1a724419200e9f961dc787950aecd2b}{00001}}\ \textcolor{preprocessor}{\#define\ NO\_SECTION\ 0}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00002}\mbox{\hyperlink{config_8h_a02f5a0519bc0372946e64d593c0c58ce}{00002}}\ \textcolor{preprocessor}{\#define\ FOUND\_SECTION\ 10}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00003}\mbox{\hyperlink{config_8h_abc212059095802b47f10a6a49fd45abc}{00003}}\ \textcolor{preprocessor}{\#define\ ERROR\_STR\ 1001}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00004}\mbox{\hyperlink{config_8h_a39de51bdb6918a63eac8b1bb474e2b84}{00004}}\ \textcolor{preprocessor}{\#define\ ERROR\_MAX\_LEN\ 2}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00005}\mbox{\hyperlink{config_8h_a258bb72419ef143530a2f8f55e7d57af}{00005}}\ \textcolor{preprocessor}{\#define\ NO\_ERROR\ 0}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00006}00006\ \textcolor{comment}{//ERROR\ DELIMITER}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00007}\mbox{\hyperlink{config_8h_a0000658c96c7c74c0904aafe03429a7d}{00007}}\ \textcolor{preprocessor}{\#define\ ERROR\_DELIMITER\_NOT\_FOUND\ 40}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00008}00008\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00009}00009\ \textcolor{comment}{//State\ Machine}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00010}00010\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00011}\mbox{\hyperlink{config_8h_a07c5dd6a63f85102afff94734b066db6}{00011}}\ \textcolor{preprocessor}{\#define\ ST\_INIT\ 0}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00012}\mbox{\hyperlink{config_8h_a4aa0fcd1d1c19c873711c0dbdf590f51}{00012}}\ \textcolor{preprocessor}{\#define\ ST\_FOUND\_LEFT\_DELIMITER\ 1}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00013}\mbox{\hyperlink{config_8h_a109ad3408cd20ac98f7063ad33ee151c}{00013}}\ \textcolor{preprocessor}{\#define\ ST\_FOUND\_RIGHT\_DELIMITER\ 2}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00014}\mbox{\hyperlink{config_8h_aea1c2232d9f2837fbb565f13e5d7e8ea}{00014}}\ \textcolor{preprocessor}{\#define\ ST\_ERROR\_NOT\_FOUND\_RIGHT\_DELIMITER\ 3}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00015}\mbox{\hyperlink{config_8h_afae21c34cd1bfa910d95db50f151c81c}{00015}}\ \textcolor{preprocessor}{\#define\ ST\_ERROR\_NOT\_FOUND\_LEFT\_DELIMITER\ 4}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00016}\mbox{\hyperlink{config_8h_a50f0255611b79622dbca5cf9c27b7f43}{00016}}\ \textcolor{preprocessor}{\#define\ ST\_FOUND\_SECTION\ 5}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00017}\mbox{\hyperlink{config_8h_a71a276bab1ecc5d309fe1593a1640d5d}{00017}}\ \textcolor{preprocessor}{\#define\ ST\_SKIP\_READ\ 6}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00018}00018\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00019}\mbox{\hyperlink{config_8h_a587e636e48ca212f7c964a93ae005e03}{00019}}\ \textcolor{preprocessor}{\#define\ ST\_FINISH\ 20}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00020}00020\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00021}00021\ \textcolor{comment}{//state\ machine\ ERROR}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00022}\mbox{\hyperlink{config_8h_ad89f5843f6a9cdc6a61d5af4734cd75d}{00022}}\ \textcolor{preprocessor}{\#define\ ST\_ERROR\_GETSTRATPOS\ 30}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00023}00023\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00024}00024\ \textcolor{comment}{//LIMITS}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00025}\mbox{\hyperlink{config_8h_aa454692b60895f7025f12b1e0065acea}{00025}}\ \textcolor{preprocessor}{\#define\ MAX\_LEN\_SECTIONNAME\ 128}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00026}00026\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00027}00027\ \textcolor{comment}{//error\ parseConfig}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00028}\mbox{\hyperlink{config_8h_ae0f18393ca3f7c151a4e58ae35b119f7}{00028}}\ \textcolor{preprocessor}{\#define\ ERR\_PARSECONFIG\_UNKNOWN\ 201}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00029}00029\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00030}\mbox{\hyperlink{structconfigEntry}{00030}}\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structconfigEntry}{configEntry}}}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00031}00031\ \{}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00032}\mbox{\hyperlink{structconfigEntry_ad610b2d30e2432b3cb5f0d0e397f2043}{00032}}\ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structconfigEntry_ad610b2d30e2432b3cb5f0d0e397f2043}{sectionName}};}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00033}\mbox{\hyperlink{structconfigEntry_a6b96fdfa727658a18ab5a03d5e5a4572}{00033}}\ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structconfigEntry_a6b96fdfa727658a18ab5a03d5e5a4572}{keyName}};}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00034}\mbox{\hyperlink{structconfigEntry_a221f7ca4b687e6cfce063e332330d635}{00034}}\ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structconfigEntry_a221f7ca4b687e6cfce063e332330d635}{keyValue}};}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00035}00035\ \};}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00036}00036\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00037}00037\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00038}\mbox{\hyperlink{config_8h_acbd35a1e4b5f0eea312f8cb64f898d4b}{00038}}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{config_8h_acbd35a1e4b5f0eea312f8cb64f898d4b}{loadConfig}}(\textcolor{keywordtype}{char}\ *file,\ \textcolor{keywordtype}{char}\ **str\_entry,\textcolor{keywordtype}{char}\ **host,\textcolor{keywordtype}{int}\ *intervall,\textcolor{keywordtype}{int}\ size);}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00039}00039\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{config_8h_aae86bc3f3ebba4d6aba3ca1392c0126a}{checkSection}}(\textcolor{keywordtype}{char}\ *str,\textcolor{keywordtype}{char}\ delimiterLeft,\textcolor{keywordtype}{char}\ delimiterRight,\textcolor{keywordtype}{char}\ **sectionName);}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00040}00040\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00041}00041\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{config_8h_a699e504c1ab9ceffb828dbf365a5e374}{getStrAtPos}}(\textcolor{keywordtype}{char}\ *str,\textcolor{keywordtype}{int}\ fromPos,\textcolor{keywordtype}{int}\ toPos,\ \textcolor{keywordtype}{char}\ **name,\textcolor{keywordtype}{int}\ sizeName);}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00042}00042\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{config_8h_ab0b547ee554d9b305adc1b2ad85080a3}{getNameValuePair}}(\textcolor{keywordtype}{char}\ *str,\textcolor{keywordtype}{char}\ leftDelimiterPos,\textcolor{keywordtype}{char}\ rightDelimiterPos,\textcolor{keywordtype}{char}\ **name,\textcolor{keywordtype}{char}\ **value,\textcolor{keywordtype}{int}\ sizeName,\textcolor{keywordtype}{int}\ sizeValue);}
\DoxyCodeLine{\Hypertarget{config_8h_source_l00043}00043\ }
\DoxyCodeLine{\Hypertarget{config_8h_source_l00044}00044\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{config_8h_aa8a964c95239ab762c37713f5f53a583}{parseConfig}}(\textcolor{keywordtype}{char}\ *buffer,\textcolor{keyword}{struct}\ \mbox{\hyperlink{structconfigEntry}{configEntry}}\ **entry,\textcolor{keywordtype}{int}\ configSize,\textcolor{keywordtype}{int}\ *returnedCount);}

\end{DoxyCode}
