|
Blender V4.3
|
#include <cstdlib>#include <cstring>#include "DNA_userdef_types.h"#include "BLI_fnmatch.h"#include "BLI_path_utils.hh"#include "BLI_utildefines.h"#include "BKE_autoexec.hh"Go to the source code of this file.
Functions | |
| bool | BKE_autoexec_match (const char *path) |
Currently just checks if a blend file can be trusted to autoexec, may add signing here later.
Definition in file autoexec.cc.
| bool BKE_autoexec_match | ( | const char * | path | ) |
| path | The path to check against. |
Definition at line 27 of file autoexec.cc.
References BLI_assert, BLI_path_ncmp, bPathCompare::flag, bPathCompare::next, bPathCompare::path, USER_PATHCMP_GLOB, and USER_SCRIPT_AUTOEXEC_DISABLE.
Referenced by WM_file_autoexec_init(), and wm_open_mainfile_check().