Blender  V3.3
Functions
autoexec.c File Reference
#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)
 

Detailed Description

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

Definition in file autoexec.c.

Function Documentation

◆ BKE_autoexec_match()

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

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