mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-26 20:38:48 -05:00
[db] Replace sqlite3_xxx() calls outside db.c/cache.c so they are abstracted
This commit is contained in:
8
src/db.h
8
src/db.h
@@ -6,8 +6,6 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include "outputs.h"
|
||||
|
||||
enum index_type {
|
||||
@@ -81,7 +79,7 @@ struct query_params {
|
||||
int results;
|
||||
|
||||
/* Private query context, keep out */
|
||||
sqlite3_stmt *stmt;
|
||||
void *stmt;
|
||||
char buf1[32];
|
||||
char buf2[32];
|
||||
};
|
||||
@@ -346,7 +344,7 @@ struct watch_enum {
|
||||
char *match;
|
||||
|
||||
/* Private enum context, keep out */
|
||||
sqlite3_stmt *stmt;
|
||||
void *stmt;
|
||||
};
|
||||
|
||||
struct filecount_info {
|
||||
@@ -375,7 +373,7 @@ struct directory_enum {
|
||||
int parent_id;
|
||||
|
||||
/* Private enum context, keep out */
|
||||
sqlite3_stmt *stmt;
|
||||
void *stmt;
|
||||
};
|
||||
|
||||
struct db_queue_item
|
||||
|
||||
Reference in New Issue
Block a user