\hypertarget{group__File}{}\doxysection{I/O at a file level}
\label{group__File}\index{I/O at a file level@{I/O at a file level}}


File handling functions.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{group__File_gaae3f61edd416b1e31f661f6597f09ed0}\label{group__File_gaae3f61edd416b1e31f661f6597f09ed0}} 
\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$ {\bfseries elm\+\_\+code\+\_\+file\+\_\+new} (\mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} $\ast$code)
\item 
\mbox{\Hypertarget{group__File_ga2b63da7ad49f75caa76df3eca0016ef7}\label{group__File_ga2b63da7ad49f75caa76df3eca0016ef7}} 
\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$ {\bfseries elm\+\_\+code\+\_\+file\+\_\+open} (\mbox{\hyperlink{struct__Elm__Code}{Elm\+\_\+\+Code}} $\ast$code, const char $\ast$path)
\item 
\mbox{\Hypertarget{group__File_gacc6b75a471da60d0c54e1c9a63382619}\label{group__File_gacc6b75a471da60d0c54e1c9a63382619}} 
void {\bfseries elm\+\_\+code\+\_\+file\+\_\+save} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\item 
\mbox{\Hypertarget{group__File_ga36e69e7f58751b2b48670e56e3e12695}\label{group__File_ga36e69e7f58751b2b48670e56e3e12695}} 
void {\bfseries elm\+\_\+code\+\_\+file\+\_\+free} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\item 
\mbox{\Hypertarget{group__File_gab776cdebed9a64ec9c4e689f524573c0}\label{group__File_gab776cdebed9a64ec9c4e689f524573c0}} 
void {\bfseries elm\+\_\+code\+\_\+file\+\_\+close} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\item 
const char $\ast$ \mbox{\hyperlink{group__File_gac536b840484cf0cf32af7e1171f5e7d1}{elm\+\_\+code\+\_\+file\+\_\+filename\+\_\+get}} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\begin{DoxyCompactList}\small\item\em Get the filename for the file specified. \end{DoxyCompactList}\item 
const char $\ast$ \mbox{\hyperlink{group__File_ga45ea8482364bf36e35154f8289ecdfbb}{elm\+\_\+code\+\_\+file\+\_\+path\+\_\+get}} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\begin{DoxyCompactList}\small\item\em Get the file path for the file specified. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{group__File_gac389ac9d0741b907fed246b3f4a0e2d0}\label{group__File_gac389ac9d0741b907fed246b3f4a0e2d0}} 
Elm\+\_\+\+Code\+\_\+\+File\+\_\+\+Line\+\_\+\+Ending {\bfseries elm\+\_\+code\+\_\+file\+\_\+line\+\_\+ending\+\_\+get} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file)
\item 
\mbox{\Hypertarget{group__File_gaf70313af43d335db8ee41eeb8f3f5b9d}\label{group__File_gaf70313af43d335db8ee41eeb8f3f5b9d}} 
const char $\ast$ {\bfseries elm\+\_\+code\+\_\+file\+\_\+line\+\_\+ending\+\_\+chars\+\_\+get} (\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$file, short $\ast$length)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
File handling functions. 

Functions for file handling within elm code. 

\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__File_gac536b840484cf0cf32af7e1171f5e7d1}\label{group__File_gac536b840484cf0cf32af7e1171f5e7d1}} 
\index{I/O at a file level@{I/O at a file level}!elm\_code\_file\_filename\_get@{elm\_code\_file\_filename\_get}}
\index{elm\_code\_file\_filename\_get@{elm\_code\_file\_filename\_get}!I/O at a file level@{I/O at a file level}}
\doxysubsubsection{\texorpdfstring{elm\_code\_file\_filename\_get()}{elm\_code\_file\_filename\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+code\+\_\+file\+\_\+filename\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$}]{file }\end{DoxyParamCaption})}



Get the filename for the file specified. 

\begin{DoxyReturn}{Returns}
the filename or NULL if it is an in-\/memory file 
\end{DoxyReturn}
\mbox{\Hypertarget{group__File_ga45ea8482364bf36e35154f8289ecdfbb}\label{group__File_ga45ea8482364bf36e35154f8289ecdfbb}} 
\index{I/O at a file level@{I/O at a file level}!elm\_code\_file\_path\_get@{elm\_code\_file\_path\_get}}
\index{elm\_code\_file\_path\_get@{elm\_code\_file\_path\_get}!I/O at a file level@{I/O at a file level}}
\doxysubsubsection{\texorpdfstring{elm\_code\_file\_path\_get()}{elm\_code\_file\_path\_get()}}
{\footnotesize\ttfamily const char$\ast$ elm\+\_\+code\+\_\+file\+\_\+path\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct__Elm__Code__File}{Elm\+\_\+\+Code\+\_\+\+File}} $\ast$}]{file }\end{DoxyParamCaption})}



Get the file path for the file specified. 

\begin{DoxyReturn}{Returns}
the file\textquotesingle{}s path or NULL if it is an in-\/memory file 
\end{DoxyReturn}
