\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_ga4e3c28fbfc0c35a4f57da3aa924cacec}\label{group__File_ga4e3c28fbfc0c35a4f57da3aa924cacec}} 
\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_ga31e93ba321958e39585c8bbb1c41a975}\label{group__File_ga31e93ba321958e39585c8bbb1c41a975}} 
\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_gacc82488f9c2dd72b9e6e826170df09ac}{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_ga74d4812bc68759d927e97aff69c21f48}{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_ga8e39fedfd6afd1ba323bcf8c6ed16f1b}\label{group__File_ga8e39fedfd6afd1ba323bcf8c6ed16f1b}} 
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_gacc82488f9c2dd72b9e6e826170df09ac}\label{group__File_gacc82488f9c2dd72b9e6e826170df09ac}} 
\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}


References \mbox{\hyperlink{group__Ecore__File__Group_ga5f5fe7219c6288fecaa840f81c035cb7}{ecore\+\_\+file\+\_\+file\+\_\+get()}}, and \mbox{\hyperlink{group__Eina__File__Group_gae5b1bd03a9dc86e3262ef606ba92bb26}{eina\+\_\+file\+\_\+filename\+\_\+get()}}.

\mbox{\Hypertarget{group__File_ga74d4812bc68759d927e97aff69c21f48}\label{group__File_ga74d4812bc68759d927e97aff69c21f48}} 
\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}


References \mbox{\hyperlink{group__Eina__File__Group_gae5b1bd03a9dc86e3262ef606ba92bb26}{eina\+\_\+file\+\_\+filename\+\_\+get()}}.

