X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fpaths.h;h=7c43682d576c4657a44f7b907e87e99ed24a3cee;hb=aa15563feeee03d7748e7d5279decf60db23fda9;hp=6d6df5e7773415a23ae636756ad643ae76c839c8;hpb=4cff6c0e3beb3395bcf694d552b9fc07c5061c7b;p=chaz%2Fopenbox diff --git a/obt/paths.h b/obt/paths.h index 6d6df5e7..7c43682d 100644 --- a/obt/paths.h +++ b/obt/paths.h @@ -40,6 +40,11 @@ gchar *obt_paths_expand_tilde(const gchar *f); gboolean obt_paths_mkdir(const gchar *path, gint mode); gboolean obt_paths_mkdir_path(const gchar *path, gint mode); +/*! Returns TRUE if the @path points to an executable file. + If the @path is not an absolute path, then it is searched for in $PATH. +*/ +gboolean obt_paths_try_exec(ObtPaths *p, const gchar *path); + G_END_DECLS #endif