mirror of
https://github.com/tursodatabase/libsql.git
synced 2025-03-08 23:41:50 +00:00
A common complain with libSQL is how to run extensions. The main mechanism, with a .so, has a lot of issues around how those .so are distributed. The most common extensions are the ones in the sqlean package. We can improve this experience by bundling them in our sqlite build. Not all SQLean extensions are kosher: some of them, like fileio, use the vfs. Others, are deemed too complex. The extensions included here are a subset that we deem important enough, and low risk enough, to just be a part of the main bundle.
14 lines
267 B
C
14 lines
267 B
C
// Copyright (c) 2023 Anton Zhiyanov, MIT License
|
|
// https://github.com/nalgeon/sqlean
|
|
|
|
// Read and write files in SQLite.
|
|
|
|
#ifndef FILEIO_EXTENSION_H
|
|
#define FILEIO_EXTENSION_H
|
|
|
|
#include "sqlite3ext.h"
|
|
|
|
int fileio_init(sqlite3* db);
|
|
|
|
#endif /* FILEIO_EXTENSION_H */
|