#include "system.h"
#include <rpmsql.h>
#include <sqlite3.h>
#include "debug.h"
Go to the source code of this file.
static int nixdbCreateConnect |
( |
void * |
_db, |
|
|
void * |
pAux, |
|
|
int |
argc, |
|
|
const char *const * |
argv, |
|
|
rpmvt * |
vtp, |
|
|
char ** |
pzErr |
|
) |
| |
|
static |
int sqlite3_extension_init |
( |
void * |
_db | ) |
|
struct rpmsqlVMT_s __VMT[] |
|
static |
Initial value:= {
{ NULL, NULL, NULL }
}
struct sqlite3_module nixdbModule
Definition at line 164 of file libsqlio.c.
Initial value:= {
.dbpath = "/nix/var/nix/db/db.sqlite",
.prefix = "/nix/store/[a-z0-9]*-",
.split = "/-",
.parse = "dir/instance-name",
.regex = "^(.+/)([^-]+)-(.*)$",
.idx = 2,
}
Definition at line 140 of file libsqlio.c.
struct sqlite3_module nixdbModule |
Initial value:= {
}
static int nixdbCreateConnect(void *_db, void *pAux, int argc, const char *const *argv, rpmvt *vtp, char **pzErr)
Definition at line 157 of file libsqlio.c.