|
Blender V4.5
|
Go to the source code of this file.
Functions | |
| bool | BKE_autoexec_match (const char *path) |
| bool | BKE_autoexec_default_trust_source (const char *filepath) |
| bool BKE_autoexec_default_trust_source | ( | const char * | filepath | ) |
Definition at line 55 of file autoexec.cc.
References BKE_autoexec_default_trust_source(), BKE_autoexec_match(), BLI_path_basename(), BLI_path_canonicalize_native(), FILE_MAX, G, STRNCPY(), U, and USER_SCRIPT_AUTOEXEC_DISABLE.
Referenced by BKE_autoexec_default_trust_source(), ghost_event_proc(), uiTemplateRecentFiles(), and wm_open_init_use_scripts().
| bool BKE_autoexec_match | ( | const char * | path | ) |
| path | The path to check against. |
Definition at line 24 of file autoexec.cc.
References BKE_autoexec_match(), BLI_assert, BLI_path_ncmp, bPathCompare::flag, bPathCompare::next, bPathCompare::path, U, USER_PATHCMP_GLOB, and USER_SCRIPT_AUTOEXEC_DISABLE.
Referenced by BKE_autoexec_default_trust_source(), BKE_autoexec_match(), WM_file_autoexec_init(), and wm_open_mainfile_check().