Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_path_util.h
| Show All 30 Lines | |||||
| * \ingroup bli | * \ingroup bli | ||||
| */ | */ | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| #include "BLI_compiler_attrs.h" | #include "BLI_compiler_attrs.h" | ||||
| #include "BLI_utildefines.h" | |||||
| struct ListBase; | struct ListBase; | ||||
| void BLI_setenv(const char *env, const char *val) ATTR_NONNULL(1); | void BLI_setenv(const char *env, const char *val) ATTR_NONNULL(1); | ||||
| void BLI_setenv_if_new(const char *env, const char *val) ATTR_NONNULL(1); | void BLI_setenv_if_new(const char *env, const char *val) ATTR_NONNULL(1); | ||||
| const char* BLI_getenv(const char *env) ATTR_NONNULL(1); | |||||
campbellbarton: Should probably be in `BLI_os_util.h` (these aren't paths), but fine for now. | |||||
| #define getenv_poisioned BLENDER_ERROR("getenv is deprecated, please use BLI_getenv") | |||||
| #define getenv getenv_poisioned | |||||
| void BLI_make_file_string(const char *relabase, char *string, const char *dir, const char *file); | void BLI_make_file_string(const char *relabase, char *string, const char *dir, const char *file); | ||||
| void BLI_make_exist(char *dir); | void BLI_make_exist(char *dir); | ||||
| bool BLI_make_existing_file(const char *name); | bool BLI_make_existing_file(const char *name); | ||||
| void BLI_split_dirfile(const char *string, char *dir, char *file, const size_t dirlen, const size_t filelen); | void BLI_split_dirfile(const char *string, char *dir, char *file, const size_t dirlen, const size_t filelen); | ||||
| void BLI_split_dir_part(const char *string, char *dir, const size_t dirlen); | void BLI_split_dir_part(const char *string, char *dir, const size_t dirlen); | ||||
| void BLI_split_file_part(const char *string, char *file, const size_t filelen); | void BLI_split_file_part(const char *string, char *file, const size_t filelen); | ||||
| void BLI_path_append(char *__restrict dst, const size_t maxlen, | void BLI_path_append(char *__restrict dst, const size_t maxlen, | ||||
| ▲ Show 20 Lines • Show All 117 Lines • Show Last 20 Lines | |||||
Should probably be in BLI_os_util.h (these aren't paths), but fine for now.