4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
33 #include <sqlite-sys/sqlite.h>
37 * We cannot make 64-bit version of libsqlite because the code
43 sqlite_open(const char *filename
, int mode
, char **errmsg
)
50 sqlite_close(sqlite
*db
)
56 sqlite_mprintf(const char *fmt
, ...)
63 sqlite_freemem(void *p
)
69 sqlite_compile(sqlite
*db
, const char *zSql
, const char **pzTail
,
70 sqlite_vm
**ppVm
, char **pzErrmsg
)
72 return (SQLITE_ERROR
);
77 sqlite_free_table(char **res
)
83 sqlite_last_insert_rowid(sqlite
*db
)
90 sqlite_busy_timeout(sqlite
*db
, int ms
)
96 sqlite_get_table(sqlite
*db
, const char *zSql
, char ***pazResult
, int *pnRow
,
97 int *pnColumn
, char **pzErrMsg
)
99 return (SQLITE_ERROR
);
104 sqlite_step(sqlite_vm
*pVm
, int *pN
, const char ***pazValue
,
105 const char ***pazColName
)
107 return (SQLITE_ERROR
);
112 sqlite_exec(sqlite
*db
, const char *zSql
, sqlite_callback xCallback
, void *pArg
,
115 return (SQLITE_ERROR
);
120 sqlite_finalize(sqlite_vm
*pVm
, char **pzErrMsg
)
122 return (SQLITE_ERROR
);
130 #endif /* _SMB_SQLITE_H */