-
Notifications
You must be signed in to change notification settings - Fork 52
/
sqlite3_bindgen.cs
1113 lines (797 loc) · 78.2 KB
/
sqlite3_bindgen.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// <auto-generated>
// This code is generated by csbindgen.
// DON'T CHANGE THIS DIRECTLY.
// </auto-generated>
#pragma warning disable CS8981
using System;
using System.Runtime.InteropServices;
namespace CsBindgen
{
public static unsafe partial class LibSqlite3
{
#if UNITY_IOS && !UNITY_EDITOR
const string __DllName = "__Internal";
#else
const string __DllName = "csbindgen_tests";
#endif
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_libversion", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_libversion();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_sourceid", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_sourceid();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_libversion_number", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_libversion_number();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_compileoption_used", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_compileoption_used(byte* zOptName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_compileoption_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_compileoption_get(int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_threadsafe", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_threadsafe();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_close", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_close(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_close_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_close_v2(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_exec", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_exec(sqlite3* arg1, byte* sql, delegate* unmanaged[Cdecl]<void*, int, byte**, byte**, int> callback, void* arg2, byte** errmsg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_initialize", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_initialize();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_shutdown", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_shutdown();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_os_init", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_os_init();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_os_end", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_os_end();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_config", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_config(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_config", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_db_config(sqlite3* arg1, int op);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_extended_result_codes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_extended_result_codes(sqlite3* arg1, int onoff);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_last_insert_rowid", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_last_insert_rowid(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_set_last_insert_rowid", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_set_last_insert_rowid(sqlite3* arg1, long arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_changes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_changes(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_changes64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_changes64(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_total_changes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_total_changes(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_total_changes64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_total_changes64(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_interrupt", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_interrupt(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_is_interrupted", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_is_interrupted(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_complete", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_complete(byte* sql);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_complete16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_complete16(void* sql);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_busy_handler", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_busy_handler(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, int, int> arg2, void* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_busy_timeout", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_busy_timeout(sqlite3* arg1, int ms);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_free_table", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_free_table(byte** result);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mprintf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_mprintf(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vmprintf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_vmprintf(byte* arg1, byte* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snprintf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_snprintf(int arg1, byte* arg2, byte* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vsnprintf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_vsnprintf(int arg1, byte* arg2, byte* arg3, byte* arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_malloc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_malloc(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_malloc64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_malloc64(ulong arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_realloc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_realloc(void* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_realloc64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_realloc64(void* arg1, ulong arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_free(void* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_msize", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern ulong sqlite3_msize(void* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_memory_used", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_memory_used();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_memory_highwater", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_memory_highwater(int resetFlag);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_randomness", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_randomness(int N, void* P);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_set_authorizer", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_set_authorizer(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, int, byte*, byte*, byte*, byte*, int> xAuth, void* pUserData);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_trace", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_trace(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, byte*, void> xTrace, void* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_profile", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_profile(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, byte*, ulong, void> xProfile, void* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_trace_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_trace_v2(sqlite3* arg1, uint uMask, delegate* unmanaged[Cdecl]<uint, void*, void*, void*, int> xCallback, void* pCtx);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_progress_handler", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_progress_handler(sqlite3* arg1, int arg2, delegate* unmanaged[Cdecl]<void*, int> arg3, void* arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_open", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_open(byte* filename, sqlite3** ppDb);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_open16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_open16(void* filename, sqlite3** ppDb);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_open_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_open_v2(byte* filename, sqlite3** ppDb, int flags, byte* zVfs);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_uri_parameter", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_uri_parameter(byte* z, byte* zParam);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_uri_boolean", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_uri_boolean(byte* z, byte* zParam, int bDefault);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_uri_int64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_uri_int64(byte* arg1, byte* arg2, long arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_uri_key", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_uri_key(byte* z, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_filename_database", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_filename_database(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_filename_journal", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_filename_journal(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_filename_wal", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_filename_wal(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_database_file_object", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_file* sqlite3_database_file_object(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_filename", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_create_filename(byte* zDatabase, byte* zJournal, byte* zWal, int nParam, byte** azParam);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_free_filename", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_free_filename(byte* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_errcode", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_errcode(sqlite3* db);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_extended_errcode", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_extended_errcode(sqlite3* db);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_errmsg", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_errmsg(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_errmsg16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_errmsg16(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_errstr", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_errstr(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_error_offset", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_error_offset(sqlite3* db);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_limit", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_limit(sqlite3* arg1, int id, int newVal);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare(sqlite3* db, byte* zSql, int nByte, sqlite3_stmt** ppStmt, byte** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare_v2(sqlite3* db, byte* zSql, int nByte, sqlite3_stmt** ppStmt, byte** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare_v3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare_v3(sqlite3* db, byte* zSql, int nByte, uint prepFlags, sqlite3_stmt** ppStmt, byte** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare16(sqlite3* db, void* zSql, int nByte, sqlite3_stmt** ppStmt, void** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare16_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare16_v2(sqlite3* db, void* zSql, int nByte, sqlite3_stmt** ppStmt, void** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_prepare16_v3", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_prepare16_v3(sqlite3* db, void* zSql, int nByte, uint prepFlags, sqlite3_stmt** ppStmt, void** pzTail);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_sql", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_sql(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_expanded_sql", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_expanded_sql(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_readonly", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_readonly(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_isexplain", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_isexplain(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_busy", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_busy(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_blob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_blob(sqlite3_stmt* arg1, int arg2, void* arg3, int n, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_blob64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_blob64(sqlite3_stmt* arg1, int arg2, void* arg3, ulong arg4, delegate* unmanaged[Cdecl]<void*, void> arg5);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_double", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_double(sqlite3_stmt* arg1, int arg2, double arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_int", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_int(sqlite3_stmt* arg1, int arg2, int arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_int64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_int64(sqlite3_stmt* arg1, int arg2, long arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_null", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_null(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_text", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_text(sqlite3_stmt* arg1, int arg2, byte* arg3, int arg4, delegate* unmanaged[Cdecl]<void*, void> arg5);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_text16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_text16(sqlite3_stmt* arg1, int arg2, void* arg3, int arg4, delegate* unmanaged[Cdecl]<void*, void> arg5);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_text64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_text64(sqlite3_stmt* arg1, int arg2, byte* arg3, ulong arg4, delegate* unmanaged[Cdecl]<void*, void> arg5, byte encoding);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_value", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_value(sqlite3_stmt* arg1, int arg2, sqlite3_value* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_pointer", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_pointer(sqlite3_stmt* arg1, int arg2, void* arg3, byte* arg4, delegate* unmanaged[Cdecl]<void*, void> arg5);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_zeroblob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_zeroblob(sqlite3_stmt* arg1, int arg2, int n);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_zeroblob64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_zeroblob64(sqlite3_stmt* arg1, int arg2, ulong arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_parameter_count", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_parameter_count(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_parameter_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_bind_parameter_name(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_bind_parameter_index", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_bind_parameter_index(sqlite3_stmt* arg1, byte* zName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_clear_bindings", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_clear_bindings(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_count", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_column_count(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_name(sqlite3_stmt* arg1, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_name16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_name16(sqlite3_stmt* arg1, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_database_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_database_name(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_database_name16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_database_name16(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_table_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_table_name(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_table_name16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_table_name16(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_origin_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_origin_name(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_origin_name16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_origin_name16(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_decltype", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_decltype(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_decltype16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_decltype16(sqlite3_stmt* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_step", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_step(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_data_count", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_data_count(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_blob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_blob(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_double", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern double sqlite3_column_double(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_int", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_column_int(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_int64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_column_int64(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_text", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_column_text(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_text16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_column_text16(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_value", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_value* sqlite3_column_value(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_bytes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_column_bytes(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_bytes16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_column_bytes16(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_column_type", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_column_type(sqlite3_stmt* arg1, int iCol);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_finalize", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_finalize(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_reset", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_reset(sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_function", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_function(sqlite3* db, byte* zFunctionName, int nArg, int eTextRep, void* pApp, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xFunc, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xStep, delegate* unmanaged[Cdecl]<sqlite3_context*, void> xFinal);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_function16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_function16(sqlite3* db, void* zFunctionName, int nArg, int eTextRep, void* pApp, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xFunc, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xStep, delegate* unmanaged[Cdecl]<sqlite3_context*, void> xFinal);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_function_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_function_v2(sqlite3* db, byte* zFunctionName, int nArg, int eTextRep, void* pApp, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xFunc, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xStep, delegate* unmanaged[Cdecl]<sqlite3_context*, void> xFinal, delegate* unmanaged[Cdecl]<void*, void> xDestroy);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_window_function", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_window_function(sqlite3* db, byte* zFunctionName, int nArg, int eTextRep, void* pApp, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xStep, delegate* unmanaged[Cdecl]<sqlite3_context*, void> xFinal, delegate* unmanaged[Cdecl]<sqlite3_context*, void> xValue, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void> xInverse, delegate* unmanaged[Cdecl]<void*, void> xDestroy);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_aggregate_count", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_aggregate_count(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_expired", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_expired(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_transfer_bindings", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_transfer_bindings(sqlite3_stmt* arg1, sqlite3_stmt* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_global_recover", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_global_recover();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_thread_cleanup", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_thread_cleanup();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_memory_alarm", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_memory_alarm(delegate* unmanaged[Cdecl]<void*, long, int, void> arg1, void* arg2, long arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_blob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_value_blob(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_double", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern double sqlite3_value_double(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_int", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_int(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_int64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_value_int64(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_pointer", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_value_pointer(sqlite3_value* arg1, byte* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_text", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_value_text(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_text16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_value_text16(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_text16le", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_value_text16le(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_text16be", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_value_text16be(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_bytes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_bytes(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_bytes16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_bytes16(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_type", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_type(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_numeric_type", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_numeric_type(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_nochange", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_nochange(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_frombind", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_frombind(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_encoding", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_value_encoding(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_subtype", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern uint sqlite3_value_subtype(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_dup", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_value* sqlite3_value_dup(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_value_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_value_free(sqlite3_value* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_aggregate_context", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_aggregate_context(sqlite3_context* arg1, int nBytes);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_user_data", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_user_data(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_context_db_handle", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3* sqlite3_context_db_handle(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_get_auxdata", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_get_auxdata(sqlite3_context* arg1, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_set_auxdata", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_set_auxdata(sqlite3_context* arg1, int N, void* arg2, delegate* unmanaged[Cdecl]<void*, void> arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_blob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_blob(sqlite3_context* arg1, void* arg2, int arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_blob64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_blob64(sqlite3_context* arg1, void* arg2, ulong arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_double", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_double(sqlite3_context* arg1, double arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_error", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_error(sqlite3_context* arg1, byte* arg2, int arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_error16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_error16(sqlite3_context* arg1, void* arg2, int arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_error_toobig", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_error_toobig(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_error_nomem", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_error_nomem(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_error_code", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_error_code(sqlite3_context* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_int", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_int(sqlite3_context* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_int64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_int64(sqlite3_context* arg1, long arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_null", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_null(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_text", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_text(sqlite3_context* arg1, byte* arg2, int arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_text64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_text64(sqlite3_context* arg1, byte* arg2, ulong arg3, delegate* unmanaged[Cdecl]<void*, void> arg4, byte encoding);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_text16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_text16(sqlite3_context* arg1, void* arg2, int arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_text16le", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_text16le(sqlite3_context* arg1, void* arg2, int arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_text16be", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_text16be(sqlite3_context* arg1, void* arg2, int arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_value", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_value(sqlite3_context* arg1, sqlite3_value* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_pointer", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_pointer(sqlite3_context* arg1, void* arg2, byte* arg3, delegate* unmanaged[Cdecl]<void*, void> arg4);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_zeroblob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_zeroblob(sqlite3_context* arg1, int n);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_zeroblob64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_result_zeroblob64(sqlite3_context* arg1, ulong n);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_result_subtype", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_result_subtype(sqlite3_context* arg1, uint arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_collation", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_collation(sqlite3* arg1, byte* zName, int eTextRep, void* pArg, delegate* unmanaged[Cdecl]<void*, int, void*, int, void*, int> xCompare);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_collation_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_collation_v2(sqlite3* arg1, byte* zName, int eTextRep, void* pArg, delegate* unmanaged[Cdecl]<void*, int, void*, int, void*, int> xCompare, delegate* unmanaged[Cdecl]<void*, void> xDestroy);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_collation16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_collation16(sqlite3* arg1, void* zName, int eTextRep, void* pArg, delegate* unmanaged[Cdecl]<void*, int, void*, int, void*, int> xCompare);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_collation_needed", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_collation_needed(sqlite3* arg1, void* arg2, delegate* unmanaged[Cdecl]<void*, sqlite3*, int, byte*, void> arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_collation_needed16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_collation_needed16(sqlite3* arg1, void* arg2, delegate* unmanaged[Cdecl]<void*, sqlite3*, int, void*, void> arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_sleep", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_sleep(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_win32_set_directory", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_win32_set_directory(CULong type_, void* zValue);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_win32_set_directory8", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_win32_set_directory8(CULong type_, byte* zValue);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_win32_set_directory16", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_win32_set_directory16(CULong type_, void* zValue);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_get_autocommit", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_get_autocommit(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_handle", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3* sqlite3_db_handle(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_db_name(sqlite3* db, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_filename", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_db_filename(sqlite3* db, byte* zDbName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_readonly", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_db_readonly(sqlite3* db, byte* zDbName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_txn_state", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_txn_state(sqlite3* arg1, byte* zSchema);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_next_stmt", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_stmt* sqlite3_next_stmt(sqlite3* pDb, sqlite3_stmt* pStmt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_commit_hook", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_commit_hook(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, int> arg2, void* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_rollback_hook", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_rollback_hook(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, void> arg2, void* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_autovacuum_pages", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_autovacuum_pages(sqlite3* db, delegate* unmanaged[Cdecl]<void*, byte*, uint, uint, uint, uint> arg1, void* arg2, delegate* unmanaged[Cdecl]<void*, void> arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_update_hook", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_update_hook(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, int, byte*, byte*, long, void> arg2, void* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_enable_shared_cache", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_enable_shared_cache(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_release_memory", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_release_memory(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_release_memory", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_db_release_memory(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_soft_heap_limit64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_soft_heap_limit64(long N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_hard_heap_limit64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern long sqlite3_hard_heap_limit64(long N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_soft_heap_limit", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_soft_heap_limit(int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_table_column_metadata", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_table_column_metadata(sqlite3* db, byte* zDbName, byte* zTableName, byte* zColumnName, byte** pzDataType, byte** pzCollSeq, int* pNotNull, int* pPrimaryKey, int* pAutoinc);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_load_extension", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_load_extension(sqlite3* db, byte* zFile, byte* zProc, byte** pzErrMsg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_enable_load_extension", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_enable_load_extension(sqlite3* db, int onoff);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_auto_extension", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_auto_extension(delegate* unmanaged[Cdecl]<void> xEntryPoint);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_cancel_auto_extension", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_cancel_auto_extension(delegate* unmanaged[Cdecl]<void> xEntryPoint);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_reset_auto_extension", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_reset_auto_extension();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_module", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_module(sqlite3* db, byte* zName, sqlite3_module* p, void* pClientData);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_create_module_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_create_module_v2(sqlite3* db, byte* zName, sqlite3_module* p, void* pClientData, delegate* unmanaged[Cdecl]<void*, void> xDestroy);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_drop_modules", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_drop_modules(sqlite3* db, byte** azKeep);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_declare_vtab", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_declare_vtab(sqlite3* arg1, byte* zSQL);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_overload_function", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_overload_function(sqlite3* arg1, byte* zFuncName, int nArg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_open", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_open(sqlite3* arg1, byte* zDb, byte* zTable, byte* zColumn, long iRow, int flags, sqlite3_blob** ppBlob);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_reopen", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_reopen(sqlite3_blob* arg1, long arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_close", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_close(sqlite3_blob* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_bytes", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_bytes(sqlite3_blob* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_read", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_read(sqlite3_blob* arg1, void* Z, int N, int iOffset);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_blob_write", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_blob_write(sqlite3_blob* arg1, void* z, int n, int iOffset);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vfs_find", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_vfs* sqlite3_vfs_find(byte* zVfsName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vfs_register", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vfs_register(sqlite3_vfs* arg1, int makeDflt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vfs_unregister", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vfs_unregister(sqlite3_vfs* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_alloc", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_mutex* sqlite3_mutex_alloc(int arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_mutex_free(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_enter", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_mutex_enter(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_try", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_mutex_try(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_leave", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_mutex_leave(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_held", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_mutex_held(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_mutex_notheld", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_mutex_notheld(sqlite3_mutex* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_mutex", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_mutex* sqlite3_db_mutex(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_file_control", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_file_control(sqlite3* arg1, byte* zDbName, int op, void* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_test_control", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_test_control(int op);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_keyword_count", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_keyword_count();
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_keyword_name", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_keyword_name(int arg1, byte** arg2, int* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_keyword_check", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_keyword_check(byte* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_new", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_str* sqlite3_str_new(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_finish", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_str_finish(sqlite3_str* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_appendf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_appendf(sqlite3_str* arg1, byte* zFormat);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_vappendf", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_vappendf(sqlite3_str* arg1, byte* zFormat, byte* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_append", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_append(sqlite3_str* arg1, byte* zIn, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_appendall", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_appendall(sqlite3_str* arg1, byte* zIn);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_appendchar", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_appendchar(sqlite3_str* arg1, int N, byte C);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_reset", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_str_reset(sqlite3_str* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_errcode", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_str_errcode(sqlite3_str* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_length", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_str_length(sqlite3_str* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_str_value", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_str_value(sqlite3_str* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_status", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_status(int op, int* pCurrent, int* pHighwater, int resetFlag);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_status64", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_status64(int op, long* pCurrent, long* pHighwater, int resetFlag);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_status", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_db_status(sqlite3* arg1, int op, int* pCur, int* pHiwtr, int resetFlg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_status", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_status(sqlite3_stmt* arg1, int op, int resetFlg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_backup_init", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern sqlite3_backup* sqlite3_backup_init(sqlite3* pDest, byte* zDestName, sqlite3* pSource, byte* zSourceName);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_backup_step", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_backup_step(sqlite3_backup* p, int nPage);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_backup_finish", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_backup_finish(sqlite3_backup* p);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_backup_remaining", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_backup_remaining(sqlite3_backup* p);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_backup_pagecount", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_backup_pagecount(sqlite3_backup* p);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_unlock_notify", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_unlock_notify(sqlite3* pBlocked, delegate* unmanaged[Cdecl]<void**, int, void> xNotify, void* pNotifyArg);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stricmp", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stricmp(byte* arg1, byte* arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_strnicmp", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_strnicmp(byte* arg1, byte* arg2, int arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_strglob", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_strglob(byte* zGlob, byte* zStr);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_strlike", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_strlike(byte* zGlob, byte* zStr, uint cEsc);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_log", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_log(int iErrCode, byte* zFormat);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_wal_hook", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void* sqlite3_wal_hook(sqlite3* arg1, delegate* unmanaged[Cdecl]<void*, sqlite3*, byte*, int, int> arg2, void* arg3);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_wal_autocheckpoint", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_wal_autocheckpoint(sqlite3* db, int N);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_wal_checkpoint", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_wal_checkpoint(sqlite3* db, byte* zDb);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_wal_checkpoint_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_wal_checkpoint_v2(sqlite3* db, byte* zDb, int eMode, int* pnLog, int* pnCkpt);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_config", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_config(sqlite3* arg1, int op);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_on_conflict", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_on_conflict(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_nochange", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_nochange(sqlite3_context* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_collation", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_vtab_collation(sqlite3_index_info* arg1, int arg2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_distinct", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_distinct(sqlite3_index_info* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_in", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_in(sqlite3_index_info* arg1, int iCons, int bHandle);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_in_first", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_in_first(sqlite3_value* pVal, sqlite3_value** ppOut);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_in_next", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_in_next(sqlite3_value* pVal, sqlite3_value** ppOut);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_vtab_rhs_value", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_vtab_rhs_value(sqlite3_index_info* arg1, int arg2, sqlite3_value** ppVal);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_scanstatus", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_scanstatus(sqlite3_stmt* pStmt, int idx, int iScanStatusOp, void* pOut);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_scanstatus_v2", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_stmt_scanstatus_v2(sqlite3_stmt* pStmt, int idx, int iScanStatusOp, int flags, void* pOut);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_stmt_scanstatus_reset", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_stmt_scanstatus_reset(sqlite3_stmt* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_db_cacheflush", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_db_cacheflush(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_system_errno", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_system_errno(sqlite3* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snapshot_get", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_snapshot_get(sqlite3* db, byte* zSchema, sqlite3_snapshot** ppSnapshot);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snapshot_open", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_snapshot_open(sqlite3* db, byte* zSchema, sqlite3_snapshot* pSnapshot);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snapshot_free", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern void sqlite3_snapshot_free(sqlite3_snapshot* arg1);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snapshot_cmp", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_snapshot_cmp(sqlite3_snapshot* p1, sqlite3_snapshot* p2);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_snapshot_recover", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_snapshot_recover(sqlite3* db, byte* zDb);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_serialize", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern byte* sqlite3_serialize(sqlite3* db, byte* zSchema, long* piSize, uint mFlags);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_deserialize", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_deserialize(sqlite3* db, byte* zSchema, byte* pData, long szDb, long szBuf, uint mFlags);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_rtree_geometry_callback", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_rtree_geometry_callback(sqlite3* db, byte* zGeom, delegate* unmanaged[Cdecl]<sqlite3_rtree_geometry*, int, double*, int*, int> xGeom, void* pContext);
[DllImport(__DllName, EntryPoint = "csbindgen_sqlite3_rtree_query_callback", CallingConvention = CallingConvention.Cdecl, ExactSpelling = true)]
public static extern int sqlite3_rtree_query_callback(sqlite3* db, byte* zQueryFunc, delegate* unmanaged[Cdecl]<sqlite3_rtree_query_info*, int> xQueryFunc, void* pContext, delegate* unmanaged[Cdecl]<void*, void> xDestructor);
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3
{
public fixed byte _unused[1];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_file
{
public sqlite3_io_methods* pMethods;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_io_methods
{
public int iVersion;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int> xClose;
public delegate* unmanaged[Cdecl]<sqlite3_file*, void*, int, long, int> xRead;
public delegate* unmanaged[Cdecl]<sqlite3_file*, void*, int, long, int> xWrite;
public delegate* unmanaged[Cdecl]<sqlite3_file*, long, int> xTruncate;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int> xSync;
public delegate* unmanaged[Cdecl]<sqlite3_file*, long*, int> xFileSize;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int> xLock;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int> xUnlock;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int*, int> xCheckReservedLock;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, void*, int> xFileControl;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int> xSectorSize;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int> xDeviceCharacteristics;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int, int, void**, int> xShmMap;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int, int, int> xShmLock;
public delegate* unmanaged[Cdecl]<sqlite3_file*, void> xShmBarrier;
public delegate* unmanaged[Cdecl]<sqlite3_file*, int, int> xShmUnmap;
public delegate* unmanaged[Cdecl]<sqlite3_file*, long, int, void**, int> xFetch;
public delegate* unmanaged[Cdecl]<sqlite3_file*, long, void*, int> xUnfetch;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_mutex
{
public fixed byte _unused[1];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_vfs
{
public int iVersion;
public int szOsFile;
public int mxPathname;
public sqlite3_vfs* pNext;
public byte* zName;
public void* pAppData;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, sqlite3_file*, int, int*, int> xOpen;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, int, int> xDelete;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, int, int*, int> xAccess;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, int, byte*, int> xFullPathname;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, void*> xDlOpen;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, int, byte*, void> xDlError;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, void*, byte*, delegate* unmanaged[Cdecl]<sqlite3_vfs*, void*, byte*, void>> xDlSym;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, void*, void> xDlClose;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, int, byte*, int> xRandomness;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, int, int> xSleep;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, double*, int> xCurrentTime;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, int, byte*, int> xGetLastError;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, long*, int> xCurrentTimeInt64;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, delegate* unmanaged[Cdecl]<void>, int> xSetSystemCall;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, delegate* unmanaged[Cdecl]<void>> xGetSystemCall;
public delegate* unmanaged[Cdecl]<sqlite3_vfs*, byte*, byte*> xNextSystemCall;
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_stmt
{
public fixed byte _unused[1];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_value
{
public fixed byte _unused[1];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_context
{
public fixed byte _unused[1];
}
[StructLayout(LayoutKind.Sequential)]
public unsafe partial struct sqlite3_module
{
public int iVersion;
public delegate* unmanaged[Cdecl]<sqlite3*, void*, int, byte**, sqlite3_vtab**, byte**, int> xCreate;
public delegate* unmanaged[Cdecl]<sqlite3*, void*, int, byte**, sqlite3_vtab**, byte**, int> xConnect;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, sqlite3_index_info*, int> xBestIndex;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xDisconnect;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xDestroy;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, sqlite3_vtab_cursor**, int> xOpen;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, int> xClose;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, int, byte*, int, sqlite3_value**, int> xFilter;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, int> xNext;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, int> xEof;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, sqlite3_context*, int, int> xColumn;
public delegate* unmanaged[Cdecl]<sqlite3_vtab_cursor*, long*, int> xRowid;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int, sqlite3_value**, long*, int> xUpdate;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xBegin;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xSync;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xCommit;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int> xRollback;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int, byte*, delegate* unmanaged[Cdecl]<sqlite3_context*, int, sqlite3_value**, void>*, void**, int> xFindFunction;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, byte*, int> xRename;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int, int> xSavepoint;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int, int> xRelease;
public delegate* unmanaged[Cdecl]<sqlite3_vtab*, int, int> xRollbackTo;
public delegate* unmanaged[Cdecl]<byte*, int> xShadowName;
}
[StructLayout(LayoutKind.Sequential)]