Repository Public License
1// ORIX Convert — Packages/EngineData/Sources/CDataShims/include/CDataShims.h2// Description: C shims for the variadic SQLite configuration calls Swift cannot import.3// Author: Simon-Pierre Boucher — contact@spboucher.ai4#ifndef ORIX_CDATASHIMS_H5#define ORIX_CDATASHIMS_H6#include <sqlite3.h>78/// Hardens a connection that reads an untrusted database file: defensive mode on, trusted schema off,9/// extension loading off (where the library has it), double-quoted string literals off, triggers and views disabled.10/// Returns SQLITE_OK or the first failing result code.11int orix_sqlite_harden(sqlite3 *db);1213#endif14