\doxysubsubsubsection{Find}
\hypertarget{group__Eeze__Find}{}\label{group__Eeze__Find}\index{Find@{Find}}
\doxysubsubsubsubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_ga8e785cff03693ea31d7340fdc5ba1f65}{eeze\+\_\+udev\+\_\+find\+\_\+similar\+\_\+from\+\_\+syspath}} (const char \texorpdfstring{$\ast$}{*}syspath)
\begin{DoxyCompactList}\small\item\em Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by {\ttfamily syspath}. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_gaaddf155334bd61f12d452bca7d02152d}{eeze\+\_\+udev\+\_\+find\+\_\+unlisted\+\_\+similar}} (\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*}list)
\begin{DoxyCompactList}\small\item\em Updates a list of all syspaths that are (or should be) the same device. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_gac46459de0637d19c278610c30f1b340d}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+sysattr}} (const char \texorpdfstring{$\ast$}{*}sysattr, const char \texorpdfstring{$\ast$}{*}value)
\begin{DoxyCompactList}\small\item\em Find a list of devices by a sysattr (and, optionally, a value of that sysattr). \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_ga67a6541cdde2dd809c8d99d20b4e59e8}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+type}} (\mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}} type, const char \texorpdfstring{$\ast$}{*}name)
\begin{DoxyCompactList}\small\item\em Find devices using an \doxylink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type} and/or a name. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_gadd4c62b00f1105d6df3004410280bafd}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+filter}} (const char \texorpdfstring{$\ast$}{*}subsystem, const char \texorpdfstring{$\ast$}{*}type, const char \texorpdfstring{$\ast$}{*}name)
\begin{DoxyCompactList}\small\item\em A more advanced find, allows finds using udev properties. \end{DoxyCompactList}\item 
EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__Eeze__Find_ga639c3968898038d64e4d63f50f534e4c}{eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+subsystem\+\_\+sysname}} (const char \texorpdfstring{$\ast$}{*}subsystem, const char \texorpdfstring{$\ast$}{*}sysname)
\begin{DoxyCompactList}\small\item\em A more advanced find, allows finds using udev subsystem and sysname. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsubsubsection{Detailed Description}


These are functions which find/supplement lists of devices. 

\doxysubsubsubsubsection{Function Documentation}
\Hypertarget{group__Eeze__Find_ga8e785cff03693ea31d7340fdc5ba1f65}\label{group__Eeze__Find_ga8e785cff03693ea31d7340fdc5ba1f65} 
\index{Find@{Find}!eeze\_udev\_find\_similar\_from\_syspath@{eeze\_udev\_find\_similar\_from\_syspath}}
\index{eeze\_udev\_find\_similar\_from\_syspath@{eeze\_udev\_find\_similar\_from\_syspath}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_similar\_from\_syspath()}{eeze\_udev\_find\_similar\_from\_syspath()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+similar\+\_\+from\+\_\+syspath (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{syspath }\end{DoxyParamCaption})}



Returns a stringshared list of all syspaths that are (or should be) the same device as the device pointed at by {\ttfamily syspath}. 


\begin{DoxyParams}{Parameters}
{\em syspath} & The syspath of the device to find matches for \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
All devices which are the same as the one passed 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\+\_\+\+LIST\+\_\+\+FOREACH}}, \mbox{\hyperlink{group__Eina__List__Group_ga4a2716e8fba1c3f60e3b112caef26fb9}{eina\+\_\+list\+\_\+prepend()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\Hypertarget{group__Eeze__Find_gaaddf155334bd61f12d452bca7d02152d}\label{group__Eeze__Find_gaaddf155334bd61f12d452bca7d02152d} 
\index{Find@{Find}!eeze\_udev\_find\_unlisted\_similar@{eeze\_udev\_find\_unlisted\_similar}}
\index{eeze\_udev\_find\_unlisted\_similar@{eeze\_udev\_find\_unlisted\_similar}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_unlisted\_similar()}{eeze\_udev\_find\_unlisted\_similar()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+unlisted\+\_\+similar (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*}}]{list }\end{DoxyParamCaption})}



Updates a list of all syspaths that are (or should be) the same device. 


\begin{DoxyParams}{Parameters}
{\em list} & The list of devices to update \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The updated list
\end{DoxyReturn}
This function will update {\ttfamily list} to include all devices matching devices with syspaths currently stored in {\ttfamily list}. All strings are stringshared.

\begin{DoxyNote}{Note}
This is an expensive call, do not use it unless you must. 
\end{DoxyNote}


References \mbox{\hyperlink{group__Eina__List__Group_gac6efafc19f526d916cdb9757240a8773}{EINA\+\_\+\+LIST\+\_\+\+FOREACH}}.

\Hypertarget{group__Eeze__Find_gac46459de0637d19c278610c30f1b340d}\label{group__Eeze__Find_gac46459de0637d19c278610c30f1b340d} 
\index{Find@{Find}!eeze\_udev\_find\_by\_sysattr@{eeze\_udev\_find\_by\_sysattr}}
\index{eeze\_udev\_find\_by\_sysattr@{eeze\_udev\_find\_by\_sysattr}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_sysattr()}{eeze\_udev\_find\_by\_sysattr()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+sysattr (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{sysattr,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{value }\end{DoxyParamCaption})}



Find a list of devices by a sysattr (and, optionally, a value of that sysattr). 


\begin{DoxyParams}{Parameters}
{\em sysattr} & The attribute to find \\
\hline
{\em value} & Optional\+: the value that the attribute should have\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared list of the devices found with the attribute 
\end{DoxyReturn}


References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\Hypertarget{group__Eeze__Find_ga67a6541cdde2dd809c8d99d20b4e59e8}\label{group__Eeze__Find_ga67a6541cdde2dd809c8d99d20b4e59e8} 
\index{Find@{Find}!eeze\_udev\_find\_by\_type@{eeze\_udev\_find\_by\_type}}
\index{eeze\_udev\_find\_by\_type@{eeze\_udev\_find\_by\_type}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_type()}{eeze\_udev\_find\_by\_type()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+type (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type}}}]{type,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{name }\end{DoxyParamCaption})}



Find devices using an \doxylink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type} and/or a name. 


\begin{DoxyParams}{Parameters}
{\em type} & An \doxylink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65c}{Eeze\+\_\+\+Udev\+\_\+\+Type} or 0 \\
\hline
{\em name} & A filter for the device name or {\ttfamily NULL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List of matched devices or {\ttfamily NULL} on failure
\end{DoxyReturn}
Return a list of syspaths (/sys/\$syspath) for matching udev devices. 

References \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65caaf123dcc5425cded4ab6804a8edf88b4}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+BACKLIGHT}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca26014b91b5fa8de13d6f1bf9ea84b5a8}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+BLUETOOTH}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cad9ff7ac9875edb66cc5d832b6835bdb5}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+DRIVE\+\_\+\+CDROM}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65caac1295cefd55ce6ec27f86974c5216b2}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+DRIVE\+\_\+\+INTERNAL}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca8169776616f27a59a8ad5c1aebe56614}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+DRIVE\+\_\+\+MOUNTABLE}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca7dc4bc4375d272c872290b48584e3eb5}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+DRIVE\+\_\+\+REMOVABLE}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca9bae6e95a9a1cec3fab3fe1ced85506d}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+DRM}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca93de7d9d7d3a70ba5e9302eacc514a85}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+GPIO}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cac9da8e7d8413fbf42c795850e2068f30}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+GRAPHICS}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca153989417f9b0cc4596de2c0eefb1c48}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+IS\+\_\+\+IT\+\_\+\+HOT\+\_\+\+OR\+\_\+\+IS\+\_\+\+IT\+\_\+\+COLD\+\_\+\+SENSOR}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65caabc72b0719e7d1d702bd9557c76b4f3b}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+JOYSTICK}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca30ac25e72f25e75173f29219575cbcbf}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+KEYBOARD}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca9b64c6ba17248a396942db690a9e2152}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+LEDS}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cabeef7a7c98d6925eea6b9065b45031c0}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+MOUSE}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65caa2c8795ab8fd5803aefadd7f3da2eb40}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+NET}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cafbede27f1524888cc8bd2a94efb3455d}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+NONE}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65ca4ecd7b3275e4fba5b6b845f6b35aa0f7}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+POWER\+\_\+\+AC}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cac07e566a35862166687e0d7141636523}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+POWER\+\_\+\+BAT}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cae4c18da16e0bd032ccb4c2531df656f6}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+TOUCHPAD}}, \mbox{\hyperlink{Eeze_8h_a9001d923dc7c65860cbd2e83ac5ec65cad0c1288406ab2fcf58f1a3d040d51b56}{EEZE\+\_\+\+UDEV\+\_\+\+TYPE\+\_\+\+V4L}}, \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga0c6bdd909fef2f525c562bd0d6636675}{ecore\+\_\+drm\+\_\+device\+\_\+find()}}.

\Hypertarget{group__Eeze__Find_gadd4c62b00f1105d6df3004410280bafd}\label{group__Eeze__Find_gadd4c62b00f1105d6df3004410280bafd} 
\index{Find@{Find}!eeze\_udev\_find\_by\_filter@{eeze\_udev\_find\_by\_filter}}
\index{eeze\_udev\_find\_by\_filter@{eeze\_udev\_find\_by\_filter}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_filter()}{eeze\_udev\_find\_by\_filter()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+filter (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{subsystem,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{type,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{name }\end{DoxyParamCaption})}



A more advanced find, allows finds using udev properties. 


\begin{DoxyParams}{Parameters}
{\em subsystem} & The udev subsystem to filter by, or {\ttfamily NULL} \\
\hline
{\em type} & "{}\+ID\+\_\+\+INPUT\+\_\+\+KEY"{}, "{}\+ID\+\_\+\+INPUT\+\_\+\+MOUSE"{}, "{}\+ID\+\_\+\+INPUT\+\_\+\+TOUCHPAD"{}, {\ttfamily NULL}, etc \\
\hline
{\em name} & A filter for the device name, or {\ttfamily NULL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List\texorpdfstring{$\ast$}{*} of matched devices or {\ttfamily NULL} on failure
\end{DoxyReturn}
Return a list of syspaths (/sys/\$syspath) for matching udev devices. Requires at least one filter. 

References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.

\Hypertarget{group__Eeze__Find_ga639c3968898038d64e4d63f50f534e4c}\label{group__Eeze__Find_ga639c3968898038d64e4d63f50f534e4c} 
\index{Find@{Find}!eeze\_udev\_find\_by\_subsystem\_sysname@{eeze\_udev\_find\_by\_subsystem\_sysname}}
\index{eeze\_udev\_find\_by\_subsystem\_sysname@{eeze\_udev\_find\_by\_subsystem\_sysname}!Find@{Find}}
\doxysubsubsubsubsubsection{\texorpdfstring{eeze\_udev\_find\_by\_subsystem\_sysname()}{eeze\_udev\_find\_by\_subsystem\_sysname()}}
{\footnotesize\ttfamily EAPI \mbox{\hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List}} \texorpdfstring{$\ast$}{*} eeze\+\_\+udev\+\_\+find\+\_\+by\+\_\+subsystem\+\_\+sysname (\begin{DoxyParamCaption}\item[{const char \texorpdfstring{$\ast$}{*}}]{subsystem,  }\item[{const char \texorpdfstring{$\ast$}{*}}]{sysname }\end{DoxyParamCaption})}



A more advanced find, allows finds using udev subsystem and sysname. 


\begin{DoxyParams}{Parameters}
{\em subsystem} & The udev subsystem to filter by, or {\ttfamily NULL} \\
\hline
{\em sysname} & A filter for the device name, or {\ttfamily NULL} \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A stringshared Eina\+\_\+\+List\texorpdfstring{$\ast$}{*} of matched devices or {\ttfamily NULL} on failure

A stringshared list of the devices found
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+13
\end{DoxySince}
EAPI 

References \mbox{\hyperlink{group__Eina__List__Group_ga625698a383dda8fc0db245a1c7608c49}{eina\+\_\+list\+\_\+append()}}, and \mbox{\hyperlink{group__Eina__Stringshare__Group_ga4e3ce40744291c1fb8574e26883c0bf2}{eina\+\_\+stringshare\+\_\+add()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Drm__Input__Group_ga9b416ea62b58fab5a4f611863e057309}{ecore\+\_\+drm\+\_\+inputs\+\_\+device\+\_\+axis\+\_\+size\+\_\+set()}}.

