Blender V4.3
autoexec.cc File Reference
#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)
 

Detailed Description

Currently just checks if a blend file can be trusted to autoexec, may add signing here later.

Definition in file autoexec.cc.

Function Documentation

◆ BKE_autoexec_match()

bool BKE_autoexec_match ( const char * path)
Parameters
pathThe path to check against.
Returns
Success

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().