diff options
Diffstat (limited to 'src/static_libs/buildsystem/buildsystem.h')
-rw-r--r-- | src/static_libs/buildsystem/buildsystem.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/static_libs/buildsystem/buildsystem.h b/src/static_libs/buildsystem/buildsystem.h new file mode 100644 index 0000000000..5312fa85e7 --- /dev/null +++ b/src/static_libs/buildsystem/buildsystem.h @@ -0,0 +1,24 @@ +/* + * A little helper library for abstracting the path finding which depends on autotools (or later on other buildsystems) + * + * Author: Marcel Hollerbach + */ +#include <stdio.h> +#include <Eina.h> + +/* + * Fills the provided buffer with the path to the binary of a given subsystem + */ +Eina_Bool bs_binary_get(char *path, size_t maxlen, const char *subsystem, const char *bin_name); + +/* + * Fills the provided buffer with the path to the data file/dir of a given subsystem + */ +Eina_Bool bs_data_path_get(char *path, size_t maxlen, const char *subsystem, const char *file); + +/* + * Fills the provided buffer with the path to the .so file for modules of a given subsystem + */ +Eina_Bool bs_mod_get(char *path, size_t maxlen, const char *subsystem, const char *mod_name); + +Eina_Bool bs_mod_dir_get(char *path, size_t maxlen, const char *subsystem, const char *mod_name); |