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


Disk manipulation.  


\doxysubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}}
\item 
struct \mbox{\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{Eeze__Disk_8h_a3db3556eec8ef18cb8ddb43816974ac8}\label{Eeze__Disk_8h_a3db3556eec8ef18cb8ddb43816974ac8}} 
\#define {\bfseries EAPI}
\item 
\mbox{\Hypertarget{Eeze__Disk_8h_a9e2e619fcdb908b818730e3f7838ca9b}\label{Eeze__Disk_8h_a9e2e619fcdb908b818730e3f7838ca9b}} 
\#define {\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+DEFAULTS}~(EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UTF8 $\vert$ EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOEXEC $\vert$ EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOSUID)
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Mount}
\item 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Unmount}
\item 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk}} {\bfseries Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Eject}
\item 
typedef struct \+\_\+\+Eeze\+\_\+\+Disk \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}}
\item 
typedef struct \mbox{\hyperlink{struct__Eeze__Event__Disk__Error}{\+\_\+\+Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}} \mbox{\hyperlink{group__Eeze__Disk_gaedd2659fbcd2bddc8f077307df0b1082}{Eeze\+\_\+\+Event\+\_\+\+Disk\+\_\+\+Error}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} \{ \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bacf9ad90a0d85ed57973d2a242967209e}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+UNKNOWN}} = 0
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba2dc8bd5bb1e33619604f44402b5d27e0}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+INTERNAL}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 0)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bab580071a610f16c62f37a475346a6d31}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+CDROM}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 1)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68ba99e59ab701affab50ba5e908ba1501bd}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+USB}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 2)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_gga1a8eddae07eafc7ec69ca4068b11b68bac6567bc4f39f67d1420751b9e85f450e}{EEZE\+\_\+\+DISK\+\_\+\+TYPE\+\_\+\+FLASH}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 3)
 \}
\item 
enum \mbox{\hyperlink{group__Eeze__Disk_gac419f324fd47b98e55dbddaffcd0cf33}{Eeze\+\_\+\+Mount\+\_\+\+Opts}} \{ \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+LOOP} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 1)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UTF8} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 2)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOEXEC} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 3)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NOSUID} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 4)
, \newline
{\bfseries EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+REMOUNT} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 5)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a0552670ae07454370c2e1fbd7c720849}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+UID}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 6)
, \newline
\mbox{\hyperlink{group__Eeze__Disk_ggac419f324fd47b98e55dbddaffcd0cf33a89cb10ceb26389ed64ded69d77041c81}{EEZE\+\_\+\+DISK\+\_\+\+MOUNTOPT\+\_\+\+NODEV}} = (1 \texorpdfstring{$<$}{<}\texorpdfstring{$<$}{<} 7)
 \}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI void \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\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 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5c147ad9c1d2dc4dad04c2045a9dd1f2}{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 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga4f86f4abef7200b5b3696d0461f43498}{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 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_gac3061cc01944ac6745ef009ff6c97297}{eeze\+\_\+disk\+\_\+free}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Frees a disk object. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga35d6322e29c2ddbd14b6f25a31fa9cc1}{eeze\+\_\+disk\+\_\+scan}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve all disk information. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga6c728dc49510991797ff99b017185d6c}{eeze\+\_\+disk\+\_\+data\+\_\+set}} (\mbox{\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 
EAPI void $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga40caebc7d021f048f1a7dd7c84e9b55a}{eeze\+\_\+disk\+\_\+data\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Retrieve data previously associated with a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga70adefa82ab70179305ca0f0579673f5}{eeze\+\_\+disk\+\_\+syspath\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /sys/ path of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaa5945affc1935016952f15438d9276c5}{eeze\+\_\+disk\+\_\+devpath\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the /dev/ path of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaaa91bd28fd5845761641d3cd2cd2d280}{eeze\+\_\+disk\+\_\+fstype\+\_\+get}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga15c342f25196d93dc0335aa2dbe8fc43}{eeze\+\_\+disk\+\_\+vendor\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the manufacturing vendor of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga6f90280eb8b9c0ec0e4cca74884387c6}{eeze\+\_\+disk\+\_\+model\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the model of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga56b2dabc9c2fdb12848a81cff721306a}{eeze\+\_\+disk\+\_\+serial\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the serial number of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5dd7f011d5960cd21360b8a0c9a223ff}{eeze\+\_\+disk\+\_\+uuid\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the UUID of the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga338a87f3308b33ff3f3b7d69d3ccc035}{eeze\+\_\+disk\+\_\+label\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the label of the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} \mbox{\hyperlink{group__Eeze__Disk_ga9888e136840eac9133daaa93922b1bd8}{eeze\+\_\+disk\+\_\+type\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the \mbox{\hyperlink{group__Eeze__Disk_ga1a8eddae07eafc7ec69ca4068b11b68b}{Eeze\+\_\+\+Disk\+\_\+\+Type}} of the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga1e0f57baf6785d20c00992108cbe8b2e}{eeze\+\_\+disk\+\_\+removable\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return whether the disk is removable. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga0b3d1965ff2f19665e37c3563dc23676}{eeze\+\_\+disk\+\_\+mounted\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount state of a disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga29db5028074a5fe57e4edfeb02441e4e}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+get}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gabb5a0d965d915c2eb8d0ee26445dd62f}{eeze\+\_\+disk\+\_\+mount\+\_\+wrapper\+\_\+set}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga629653a78f2a7e9a9996d4f346dbcc16}{eeze\+\_\+disk\+\_\+mount}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin a mount operation on the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gae3b4fe79fad40e303ad649e404e03245}{eeze\+\_\+disk\+\_\+unmount}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an unmount operation on the disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga45173ebbd5c0861b57a433bc67d9f4b2}{eeze\+\_\+disk\+\_\+eject}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Begin an eject operation on the disk. \end{DoxyCompactList}\item 
EAPI void \mbox{\hyperlink{group__Eeze__Disk_ga3d690cd04047439551a8f2c3855b8cd7}{eeze\+\_\+disk\+\_\+cancel}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Cancel a pending operation on the disk. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaf1cae97477132ad414f4e34f24598f90}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Return the mount point of a disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gab57a9297ec9b65817597ba9706bc3d18}{eeze\+\_\+disk\+\_\+mount\+\_\+point\+\_\+set}} (\mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gac0ba60f4ec9f7e2e871010baf52010c3}{eeze\+\_\+disk\+\_\+mountopts\+\_\+set}} (\mbox{\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 
EAPI unsigned long \mbox{\hyperlink{group__Eeze__Disk_gac63e6089bc00b8faa1188e252291f795}{eeze\+\_\+disk\+\_\+mountopts\+\_\+get}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Get the flags of a disk\textquotesingle{}s current mount options. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga92f1e4a2c653e8c581df72e4cd46d8b3}{eeze\+\_\+mount\+\_\+tabs\+\_\+watch}} (void)
\begin{DoxyCompactList}\small\item\em Begin watching mtab and fstab. \end{DoxyCompactList}\item 
EAPI void \mbox{\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 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga5219c6451f8ff39e02ec2de2783bc9af}{eeze\+\_\+mount\+\_\+mtab\+\_\+scan}} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/mtab a single time. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_gabb201c5f5ef04916728360682f402276}{eeze\+\_\+mount\+\_\+fstab\+\_\+scan}} (void)
\begin{DoxyCompactList}\small\item\em Scan /etc/fstab a single time. \end{DoxyCompactList}\item 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga5cbe9fe2b7cfb5b0c12d68d57e0d68f1}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+property}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gafaf9ef8fc6e135f2970bdbaa9bef38e8}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+sysattr}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_ga7c43095e6b8f4d4b21e51cc36e1acf00}{eeze\+\_\+disk\+\_\+udev\+\_\+get\+\_\+parent}} (\mbox{\hyperlink{group__Eeze__Disk_ga486993b6e5842341b2963e328bb4ce02}{Eeze\+\_\+\+Disk}} $\ast$disk)
\begin{DoxyCompactList}\small\item\em Find the root device of a disk. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool}} \mbox{\hyperlink{group__Eeze__Disk_ga54a32542ea3814a66298e07ff074d45d}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+check\+\_\+sysattr}} (\mbox{\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 
EAPI const char $\ast$ \mbox{\hyperlink{group__Eeze__Disk_gaabcf3f60db81140623694222bb70c344}{eeze\+\_\+disk\+\_\+udev\+\_\+walk\+\_\+get\+\_\+sysattr}} (\mbox{\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}
\doxysubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+MOUNT}
\item 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+UNMOUNT}
\item 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+EJECT}
\item 
EAPI int {\bfseries EEZE\+\_\+\+EVENT\+\_\+\+DISK\+\_\+\+ERROR}
\end{DoxyCompactItemize}


\doxysubsection{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. 