X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=obt%2Fpaths.h;h=7c43682d576c4657a44f7b907e87e99ed24a3cee;hb=HEAD;hp=8753d4f674094b80ee71209ebdf32fba51c02c21;hpb=c230443c6596039f426542f5a286120891a745c5;p=chaz%2Fopenbox diff --git a/obt/paths.h b/obt/paths.h index 8753d4f6..7c43682d 100644 --- a/obt/paths.h +++ b/obt/paths.h @@ -34,11 +34,17 @@ const gchar* obt_paths_data_home(ObtPaths *p); const gchar* obt_paths_cache_home(ObtPaths *p); GSList* obt_paths_config_dirs(ObtPaths *p); GSList* obt_paths_data_dirs(ObtPaths *p); +GSList* obt_paths_autostart_dirs(ObtPaths *p); 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