\hypertarget{Eeze__Disk_8h}{\section{Eeze\+\_\+\+Disk.\+h File Reference}
\label{Eeze__Disk_8h}\index{Eeze\+\_\+\+Disk.\+h@{Eeze\+\_\+\+Disk.\+h}}
}


Disk manipulation.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}
\item 
struct \hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{Eeze__Disk_8h_a3db3556eec8ef18cb8ddb43816974ac8}{\#define {\bfseries E\+A\+P\+I}}\label{Eeze__Disk_8h_a3db3556eec8ef18cb8ddb43816974ac8}

\item 
\hypertarget{Eeze__Disk_8h_a9e2e619fcdb908b818730e3f7838ca9b}{\#define {\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+D\+E\+F\+A\+U\+L\+T\+S}~(E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+T\+F8 $\vert$ E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+E\+X\+E\+C $\vert$ E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+S\+U\+I\+D)}\label{Eeze__Disk_8h_a9e2e619fcdb908b818730e3f7838ca9b}

\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Mount}}\label{group__Eeze__Disk_gac6dd3330800f88a114499126a8883464}

\item 
\hypertarget{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Unmount}}\label{group__Eeze__Disk_gacabf466c09a394bbfaf5304f973ca3c8}

\item 
\hypertarget{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}{typedef struct \hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Eject}}\label{group__Eeze__Disk_gaf9bdb9dad4d1c28a32030909e2bf6ecf}

\item 
typedef struct \+\_\+\+Eeze\+\_\+\+Disk \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}
\item 
typedef struct \\*
\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error} \hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}
\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} \{ \\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+N\+K\+N\+O\+W\+N} = 0, 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+I\+N\+T\+E\+R\+N\+A\+L} = (1 $<$$<$ 0), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+D\+R\+O\+M} = (1 $<$$<$ 1), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+U\+S\+B} = (1 $<$$<$ 2), 
\\*
\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+T\+Y\+P\+E\+\_\+\+F\+L\+A\+S\+H} = (1 $<$$<$ 3)
 \}
\item 
enum \hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts} \{ \\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+L\+O\+O\+P} = (1 $<$$<$ 1), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+T\+F8} = (1 $<$$<$ 2), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+E\+X\+E\+C} = (1 $<$$<$ 3), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+S\+U\+I\+D} = (1 $<$$<$ 4), 
\\*
{\bfseries E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+R\+E\+M\+O\+U\+N\+T} = (1 $<$$<$ 5), 
\\*
\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+U\+I\+D} = (1 $<$$<$ 6), 
\\*
\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{E\+E\+Z\+E\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T\+O\+P\+T\+\_\+\+N\+O\+D\+E\+V} = (1 $<$$<$ 7)
 \}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga295e4aa9899d8c841c8eab79c5e6b5bc}{eeze\+\_\+disk\+\_\+function} (void)
\begin{DoxyCompactList}\small\item\em Use this function to determine whether your eeze is disk-\/capable. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga195818042c4dabb7eeeb979fbcd484f7}{eeze\+\_\+disk\+\_\+can\+\_\+mount} (void)
\begin{DoxyCompactList}\small\item\em Return whether mount support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga54ccd9241e67dcfcbb5828d0a5988005}{eeze\+\_\+disk\+\_\+can\+\_\+unmount} (void)
\begin{DoxyCompactList}\small\item\em Return whether unmount support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga088856faf582e9009385bb04899251e5}{eeze\+\_\+disk\+\_\+can\+\_\+eject} (void)
\begin{DoxyCompactList}\small\item\em Return whether eject support is available in eeze. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$ \hyperlink{group__Eeze__Disk_gaf8fa49e10d44cc10af4414eddecc7165}{eeze\+\_\+disk\+\_\+new} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em Create a new disk object from a /sys/ path or /dev/ path. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$ \hyperlink{group__Eeze__Disk_gac492d3a81ac236b97b11ce0b719f650b}{eeze\+\_\+disk\+\_\+new\+\_\+from\+\_\+mount} (const char $\ast$mount\+\_\+point)
\begin{DoxyCompactList}\small\item\em Create a new disk object from a mount point. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}{eeze\+\_\+disk\+\_\+free} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Frees a disk object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}{eeze\+\_\+disk\+\_\+scan} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve all disk information. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Associate data with a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Eeze__Disk_ga7b4f00cbf710b6f3b203c44a2b941f3e}{eeze\+\_\+disk\+\_\+data\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve data previously associated with a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gacfc7410df1de71cbcb071e1b79fc5d30}{eeze\+\_\+disk\+\_\+syspath\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /sys/ path of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga93939eb0b573c9e354d568a6f63de9fe}{eeze\+\_\+disk\+\_\+devpath\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /dev/ path of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga9d986d92ee9d7fbf1d52537dd9a93f21}{eeze\+\_\+disk\+\_\+fstype\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the filesystem of the disk (if known) \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga43bb7dd075e91be35cf44adf431d36bc}{eeze\+\_\+disk\+\_\+vendor\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the manufacturing vendor of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga4f885b8f5d2d64c45595599af915ec65}{eeze\+\_\+disk\+\_\+model\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the model of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gaae78365f537021967c2a0bd2709c658d}{eeze\+\_\+disk\+\_\+serial\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the serial number of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gadeaf3b5742e781d2f66555d260527c88}{eeze\+\_\+disk\+\_\+uuid\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the U\+U\+I\+D of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga16e2f2777796ae92754e69a6be8561ed}{eeze\+\_\+disk\+\_\+label\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the label of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} \hyperlink{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}{eeze\+\_\+disk\+\_\+type\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the \hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type} of the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}{eeze\+\_\+disk\+\_\+removable\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return whether the disk is removable. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}{eeze\+\_\+disk\+\_\+mounted\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount state of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga2cfb4f741dc8910d8fff7424613ea8f1}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the previously set mount wrapper for a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$wrapper)
\begin{DoxyCompactList}\small\item\em Set a wrapper to run mount commands with. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin a mount operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an unmount operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an eject operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}{eeze\+\_\+disk\+\_\+cancel} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Cancel a pending operation on the disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga1c1cca80428c831df36d1f7deac28842}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount point of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$mount\+\_\+point)
\begin{DoxyCompactList}\small\item\em Set the mount point of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}{eeze\+\_\+disk\+\_\+mountopts\+\_\+set} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, unsigned long opts)
\begin{DoxyCompactList}\small\item\em Set the mount options using flags. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} unsigned long \hyperlink{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}{eeze\+\_\+disk\+\_\+mountopts\+\_\+get} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the flags of a disk's current mount options. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch} (void)
\begin{DoxyCompactList}\small\item\em Begin watching mtab and fstab. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Eeze__Disk_ga915b0c6e0c38d3e0b9e5bc9c0625b553}{eeze\+\_\+mount\+\_\+tabs\+\_\+unwatch} (void)
\begin{DoxyCompactList}\small\item\em Stop watching /etc/fstab and /etc/mtab. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/mtab a single time. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/fstab a single time. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga622d5d5ff22655151a138443c7d99f5b}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$property)
\begin{DoxyCompactList}\small\item\em Get the property value of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_ga4a0eddb5174cf00e476ff8010f19dc13}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr)
\begin{DoxyCompactList}\small\item\em Get the sysattr value of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gac3e7c8508105ffb6cbe7fe3aa6f690e4}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Find the root device of a disk. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Walks up the device chain using the device from {\ttfamily disk}, checking each device for {\ttfamily sysattr} with (optional) {\ttfamily value}. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const char $\ast$ \hyperlink{group__Eeze__Disk_gaac50a02521d8d74f03a1bb1adb516a97}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr} (\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk} $\ast$disk, const char $\ast$sysattr)
\begin{DoxyCompactList}\small\item\em Walks up the device chain of {\ttfamily disk} checking each device for {\ttfamily sysattr} and returns the value if found. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+M\+O\+U\+N\+T}}\label{group__Eeze__Disk_ga5f25165f187b00ce9395941d7341cfc1}

\item 
\hypertarget{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+U\+N\+M\+O\+U\+N\+T}}\label{group__Eeze__Disk_ga08b878393c29b7ef86e20787f6070002}

\item 
\hypertarget{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+J\+E\+C\+T}}\label{group__Eeze__Disk_gab8ecb9a65b106861e285bc6639ea17bf}

\item 
\hypertarget{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}{\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int {\bfseries E\+E\+Z\+E\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+I\+S\+K\+\_\+\+E\+R\+R\+O\+R}}\label{group__Eeze__Disk_gaf48f62035434516d4b418e8aa960a693}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Disk manipulation. 

\begin{DoxySince}{Since}
1.\+1
\end{DoxySince}
Eeze disk functions allow you to quickly and efficiently manipulate disks through simple function calls. 