\doxysection{utils.\+h}
\hypertarget{utils_8h_source}{}\label{utils_8h_source}\index{src/utils.h@{src/utils.h}}
\mbox{\hyperlink{utils_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{preprocessor}{\#pragma\ once}}
\DoxyCodeLine{00002\ }
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{env_8h}{env.h}}"{}}}
\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\ <unistd.h>}}
\DoxyCodeLine{00008\ }
\DoxyCodeLine{00009\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{utils_8h_a68fcd11496e85e696054f27ea8be892a}{canonicalize\_path}}(\textcolor{keywordtype}{char}\ *path);}
\DoxyCodeLine{00010\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{utils_8h_ab69c307e63e50216d3883ff4a95b99ff}{format\_path}}(\textcolor{keywordtype}{char}\ *dest,\ \textcolor{keywordtype}{char}\ *src,\ \textcolor{keywordtype}{int}\ dest\_len);}
\DoxyCodeLine{00011\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{utils_8h_a33a108ec76b66630fe91c08bfef8dfb3}{get\_name\_and\_parent\_path\_by\_absolute\_path}}(\textcolor{keywordtype}{char}*\ dirpath,\ \textcolor{keywordtype}{char}**\ parent\_path,\ \textcolor{keywordtype}{char}**\ dirname);}
\DoxyCodeLine{00012\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{utils_8h_a25cbf6325c786277edbc6bd9a107b461}{get\_dirname\_and\_parent\_path\_by\_absolute\_path}}(\textcolor{keywordtype}{char}*\ dirpath,\ \textcolor{keywordtype}{char}**\ parent\_path,\ \textcolor{keywordtype}{char}**\ dirname);}

\end{DoxyCode}
