\hypertarget{group__FINDFILE}{ \section{Find Files} \label{group__FINDFILE}\index{Find Files@{Find Files}} } Auxiliary \hyperlink{group__FINDFILE_gac4361b4edb0c5baf0f1fb741b0beed09}{find\_\-files()} function. \subsection*{Files} \begin{DoxyCompactItemize} \item file \hyperlink{findfile_8h}{findfile.h} \end{DoxyCompactItemize} \subsection*{Defines} \begin{DoxyCompactItemize} \item \hypertarget{group__FINDFILE_ga83ab84061594e187331ebda6a59740f8}{ \#define {\bfseries MTAB\_\-PATH}~\char`\"{}/etc/mtab\char`\"{}} \label{group__FINDFILE_ga83ab84061594e187331ebda6a59740f8} \item \hypertarget{group__FINDFILE_ga194d45ac936ad2434ad25f6d8f28b112}{ \#define {\bfseries LOCAL\_\-FILESYSTEMS}~\{\char`\"{}ext2\char`\"{}, \char`\"{}ext3\char`\"{}, \char`\"{}reiserfs\char`\"{}, \char`\"{}xfs\char`\"{}, NULL\}} \label{group__FINDFILE_ga194d45ac936ad2434ad25f6d8f28b112} \end{DoxyCompactItemize} \subsection*{Functions} \begin{DoxyCompactItemize} \item int \hyperlink{group__FINDFILE_gac4361b4edb0c5baf0f1fb741b0beed09}{find\_\-files} (\hyperlink{structSEXP}{SEXP\_\-t} $\ast$path, \hyperlink{structSEXP}{SEXP\_\-t} $\ast$filename, \hyperlink{structSEXP}{SEXP\_\-t} $\ast$behaviors, int($\ast$cb)(const char $\ast$, const char $\ast$, void $\ast$arg), void $\ast$arg) \begin{DoxyCompactList}\small\item\em Search the filesystem according to the specified path, filename and behaviors. \item\end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Auxiliary \hyperlink{group__FINDFILE_gac4361b4edb0c5baf0f1fb741b0beed09}{find\_\-files()} function. \subsection{Function Documentation} \hypertarget{group__FINDFILE_gac4361b4edb0c5baf0f1fb741b0beed09}{ \index{FINDFILE@{FINDFILE}!find\_\-files@{find\_\-files}} \index{find\_\-files@{find\_\-files}!FINDFILE@{FINDFILE}} \subsubsection[{find\_\-files}]{\setlength{\rightskip}{0pt plus 5cm}int find\_\-files ({\bf SEXP\_\-t} $\ast$ {\em path}, \/ {\bf SEXP\_\-t} $\ast$ {\em filename}, \/ {\bf SEXP\_\-t} $\ast$ {\em behaviors}, \/ int($\ast$)(const char $\ast$, const char $\ast$, void $\ast$arg) {\em cb}, \/ void $\ast$ {\em arg})}} \label{group__FINDFILE_gac4361b4edb0c5baf0f1fb741b0beed09} Search the filesystem according to the specified path, filename and behaviors. For all paths and files that satisfy these requirements call the provided callback function. \begin{DoxyParams}{Parameters} \item[{\em path}]the requested path in a sexp form, which may specify the matching operation or a var\_\-ref \item[{\em filenam}]the requested filename in a sexp form, which may specify the matching operation or a var\_\-ref \item[{\em behaviors}]the behaviors may specify the recursion depth or direction \item[{\em cb}]for each match, the callback function cb is called with first argument being the matched path and the second being the matched filename \item[{\em arg}]an optional argument to the callback function \end{DoxyParams}