You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
859 B

#ifdef E_TYPEDEFS
#else
#ifndef E_PREFIX_H
#define E_PREFIX_H
E_API int e_prefix_determine(char *argv0);
EINTERN void e_prefix_shutdown(void);
E_API void e_prefix_fallback(void);
E_API const char *e_prefix_get(void);
E_API const char *e_prefix_locale_get(void);
E_API const char *e_prefix_bin_get(void);
E_API const char *e_prefix_data_get(void);
E_API const char *e_prefix_lib_get(void);
E_API size_t e_prefix_data_concat_len(char *dst, size_t size, const char *path, size_t path_len);
E_API size_t e_prefix_data_concat(char *dst, size_t size, const char *path);
E_API size_t e_prefix_data_snprintf(char *dst, size_t size, const char *fmt, ...) EINA_PRINTF(3, 4);
#define e_prefix_data_concat_static(dst, path) e_prefix_data_concat_len(dst, sizeof(dst), path, (sizeof(path) > 0) ? sizeof(path) - 1 : 0)
#endif
#endif