]> Dogcows Code - chaz/openbox/blobdiff - obt/paths.h
add obt_paths_try_exec() that will see if an executable exists
[chaz/openbox] / obt / paths.h
index 6d6df5e7773415a23ae636756ad643ae76c839c8..7c43682d576c4657a44f7b907e87e99ed24a3cee 100644 (file)
@@ -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
This page took 0.02295 seconds and 4 git commands to generate.