#ifndef _SEARCH_PATH_H #define _SEARCH_PATH_H #include "notmuch.h" /* can an executable be found with the given name? * * Return TRUE only if we can find something to execute with the * associated name. * * if the name has a '/' in it, we look for it directly with * access(exename, X_OK). * * otherwise, we look for it in $PATH (or in confstr(_CS_PATH), if * $PATH is unset). * * This should match the logic for execvp (as well as matching user * expectations, hopefully). */ notmuch_bool_t test_for_executable (const char *exename); #endif