Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/src/test_multiplex.h

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 ** 2011 March 18 2 ** 2011 March 18
3 ** 3 **
4 ** The author disclaims copyright to this source code. In place of 4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing: 5 ** a legal notice, here is a blessing:
6 ** 6 **
7 ** May you do good and not evil. 7 ** May you do good and not evil.
8 ** May you find forgiveness for yourself and forgive others. 8 ** May you find forgiveness for yourself and forgive others.
9 ** May you share freely, never taking more than you give. 9 ** May you share freely, never taking more than you give.
10 ** 10 **
(...skipping 28 matching lines...) Expand all
39 ** if not. 39 ** if not.
40 ** 40 **
41 ** MULTIPLEX_CTRL_SET_MAX_CHUNKS: 41 ** MULTIPLEX_CTRL_SET_MAX_CHUNKS:
42 ** This file control is used to set the maximum number of chunks 42 ** This file control is used to set the maximum number of chunks
43 ** allowed to be used for a mutliplex file set. 43 ** allowed to be used for a mutliplex file set.
44 */ 44 */
45 #define MULTIPLEX_CTRL_ENABLE 214014 45 #define MULTIPLEX_CTRL_ENABLE 214014
46 #define MULTIPLEX_CTRL_SET_CHUNK_SIZE 214015 46 #define MULTIPLEX_CTRL_SET_CHUNK_SIZE 214015
47 #define MULTIPLEX_CTRL_SET_MAX_CHUNKS 214016 47 #define MULTIPLEX_CTRL_SET_MAX_CHUNKS 214016
48 48
49 #ifdef __cplusplus
50 extern "C" {
51 #endif
52
49 /* 53 /*
50 ** CAPI: Initialize the multiplex VFS shim - sqlite3_multiplex_initialize() 54 ** CAPI: Initialize the multiplex VFS shim - sqlite3_multiplex_initialize()
51 ** 55 **
52 ** Use the VFS named zOrigVfsName as the VFS that does the actual work. 56 ** Use the VFS named zOrigVfsName as the VFS that does the actual work.
53 ** Use the default if zOrigVfsName==NULL. 57 ** Use the default if zOrigVfsName==NULL.
54 ** 58 **
55 ** The multiplex VFS shim is named "multiplex". It will become the default 59 ** The multiplex VFS shim is named "multiplex". It will become the default
56 ** VFS if makeDefault is non-zero. 60 ** VFS if makeDefault is non-zero.
57 ** 61 **
58 ** An auto-extension is registered which will make the function 62 ** An auto-extension is registered which will make the function
(...skipping 20 matching lines...) Expand all
79 83
80 /* 84 /*
81 ** CAPI: Shutdown the multiplex system - sqlite3_multiplex_shutdown() 85 ** CAPI: Shutdown the multiplex system - sqlite3_multiplex_shutdown()
82 ** 86 **
83 ** All SQLite database connections must be closed before calling this 87 ** All SQLite database connections must be closed before calling this
84 ** routine. 88 ** routine.
85 ** 89 **
86 ** THIS ROUTINE IS NOT THREADSAFE. Call this routine exactly once while 90 ** THIS ROUTINE IS NOT THREADSAFE. Call this routine exactly once while
87 ** shutting down in order to free all remaining multiplex groups. 91 ** shutting down in order to free all remaining multiplex groups.
88 */ 92 */
89 extern int sqlite3_multiplex_shutdown(void); 93 extern int sqlite3_multiplex_shutdown(int eForce);
90 94
95 #ifdef __cplusplus
96 } /* End of the 'extern "C"' block */
91 #endif 97 #endif
98
99 #endif /* _TEST_MULTIPLEX_H */
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/src/test_malloc.c ('k') | third_party/sqlite/sqlite-src-3080704/src/test_multiplex.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698