|
Blender
V3.3
|
#include <stdlib.h>#include <string.h>#include "DNA_userdef_types.h"#include "BLI_fnmatch.h"#include "BLI_path_util.h"#include "BLI_utildefines.h"#include "BKE_autoexec.h"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.c.
| bool BKE_autoexec_match | ( | const char * | path | ) |
| path | The path to check against. |
Definition at line 25 of file autoexec.c.
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().