/******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite
** version 3.5.6. By combining all the individual C code files into this
** single large file, the entire code can be compiled as a one translation
** unit. This allows many compilers to do optimizations that would not be
** possible if the files were compiled separately. Performance improvements
** of 5% are more are commonly seen when SQLite is compiled as a single
** translation unit.
**
** This file is all you need to compile SQLite. To use SQLite in other
** programs, you need this file and the "sqlite3.h" header file that defines
** the programming interface to the SQLite library. (If you do not have
** the "sqlite3.h" header file at hand, you will find a copy in the first
** 4804 lines past this header comment.) Additional code files may be
** needed if you want a wrapper to interface SQLite with your choice of
** programming language. The code for the "sqlite3" command-line shell
** is also in a separate file. This file contains only code for the core
** SQLite library.
**
** This amalgamation was generated on 2008-02-06 08:17:15 UTC.
*/
#define SQLITE_CORE 1
#define SQLITE_AMALGAMATION 1
#ifndef SQLITE_PRIVATE
# define SQLITE_PRIVATE static
#endif
#ifndef SQLITE_API
# define SQLITE_API
#endif
/************** Begin file sqliteInt.h ***************************************/
/*
** 2001 September 15
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************************************************************
** Internal interface definitions for SQLite.
**
** @(#) $Id: sqliteInt.h,v 1.659 2008/02/02 04:47:09 danielk1977 Exp $
*/
#ifndef _SQLITEINT_H_
#define _SQLITEINT_H_
/*
** The macro unlikely() is a hint that surrounds a boolean
** expression that is usually false. Macro likely() surrounds
** a boolean expression that is usually true. GCC is able to
** use these hints to generate better code, sometimes.
*/
#if defined(__GNUC__) && 0
# define likely(X) __builtin_expect((X),1)
# define unlikely(X) __builtin_expect((X),0)
#else
# define likely(X) !!(X)
# define unlikely(X) !!(X)
#endif
/*
** These #defines should enable >2GB file support on Posix if the
** underlying operating system supports it. If the OS lacks
** large file support, or if the OS is windows, these should be no-ops.
**
** Ticket #2739: The _LARGEFILE_SOURCE macro must appear before any
** system #includes. Hence, this block of code must be the very first
** code in all source files.
**
** Large file support can be disabled using the -DSQLITE_DISABLE_LFS switch
** on the compiler command line. This is necessary if you are compiling
** on a recent machine (ex: RedHat 7.2) but you want your code to work
** on an older machine (ex: RedHat 6.0). If you compile on RedHat 7.2
** without this option, LFS is enable. But LFS does not exist in the kernel
** in RedHat 6.0, so the code won't work. Hence, for maximum binary
** portability you should omit LFS.
**
** Similar is true for MacOS. LFS is only supported on MacOS 9 and later.
*/
#ifndef SQLITE_DISABLE_LFS
# define _LARGE_FILE 1
# ifndef _FILE_OFFSET_BITS
# define _FILE_OFFSET_BITS 64
# endif
# define _LARGEFILE_SOURCE 1
#endif
/************** Include sqliteLimit.h in the middle of sqliteInt.h ***********/
/************** Begin file sqliteLimit.h *************************************/
/*
** 2007 May 7
**
** The author disclaims copyright to this source code. In place of
** a legal notice, here is a blessing:
**
** May you do good and not evil.
** May you find forgiveness for yourself and forgive others.
** May you share freely, never taking more than you give.
**
*************************************************************************
**
** This file defines various limits of what SQLite can process.
**
** @(#) $Id: sqliteLimit.h,v 1.6 2007/12/17 16:20:07 drh Exp $
*/
/*
** The maximum length of a TEXT or BLOB in bytes. This also
** limits the size of a row in a table or index.
**
** The hard limit is the ability of a 32-bit signed integer
** to count the size: 2^31-1 or 2147483647.
*/
#ifndef SQLITE_MAX_LENGTH
# define SQLITE_MAX_LENGTH 1000000000
#endif
/*
** This is the maximum number of
**
** * Columns in a table
** * Columns in an index
** * Columns in a view
** * Terms in the SET clause of an UPDATE statement
** * Terms in the result set of a SELECT statement
** * Terms in the GROUP BY or ORDER BY clauses of a SELECT statement.
** * Terms in the VALUES clause of an INSERT statement
**
** The hard upper limit here is 32676. Most database people will
** tell you that in a well-normalized database, you usually should
** not have more than a dozen or so columns in any table. And if
** that is the case, there is no point in having more than a few
** dozen values in any of the other situations described above.
*/
#ifndef SQLITE_MAX_COLUMN
# define SQLITE_MAX_COLUMN 2000
#endif
/*
** The maximum length of a single SQL statement in bytes.
** A value of zero means there is no limit.
*/
#ifndef SQLITE_MAX_SQL_LENGTH
# define SQLITE_MAX_SQL_LENGTH 0
#endif
/*
** The maximum depth of an expression tree. This is limited to
** some extent by SQLITE_MAX_SQL_LENGTH. But sometime you might
** want to place more severe limits on the complexity of an
** expression. A value of 0 (the default) means do not enforce
** any limitation on expression tree depth.
*/
#ifndef SQLITE_MAX_EXPR_DEPTH
# define SQLITE_MAX_EXPR_DEPTH 1000
#endif
/*
** The maximum number of terms in a compound SELECT statement.
** The code generator for compound SELECT statements does one
** level of recursion for each term. A stack overflow can result
** if the number of terms is too large. In practice, most SQL
** never has more than 3 or 4 terms. Use a value of 0 to disable
** any limit on the number of terms in a compount SELECT.
*/
#ifndef SQLITE_MAX_COMPOUND_SELECT
# define SQLITE_MAX_COMPOUND_SELECT 500
#endif
/*
** The maximum number of opcodes in a VDBE program.
** Not currently enforced.
*/
#ifndef SQLITE_MAX_VDBE_OP
# define SQLITE_MAX_VDBE_OP 25000
#endif
/*
** The maximum number of arguments to an SQL function.
*/
#ifndef SQLITE_MAX_FUNCTION_ARG
# define SQLITE_MAX_FUNCTION_ARG 100
#endif
/*
** The maximum number of in-memory pages to use for the main database
** table and for temporary tables. The SQLITE_DEFAULT_CACHE_SIZE
*/
#ifndef SQLITE_DEFAULT_CACHE_SIZE
# define SQLITE_DEFAULT_CACHE_SIZE 2000
#endif
#ifndef SQLITE_DEFAULT_TEMP_CACHE_SIZE
# define SQLITE_DEFAULT_TEMP_CACHE_SIZE 500
#endif
/*
** The maximum number of attached databases. This must be at least 2
** in order to support the main database file (0) and the file used to
** hold temporary tables (1). And it must be less than 32 because
** we use a bitmask of databases with a u32 in places (for example
** the Parse.cookieMask field).
*/
#ifndef SQLITE_MAX_ATTACHED
# define SQLITE_MAX_ATTACHED 10
#endif
/*
** The maximum value of a ?nnn wildcard that the parser will accept.
*/
#ifndef SQLITE_MAX_VARIABLE_NUMBER
# define SQLITE_MAX_VARIABLE_NUMBER 999
#endif
/* Maximum page size. The upper bound on this value is 32768. This a limit
** imposed by the necessity of storing the value in a 2-byte unsigned integer
** and the fact that the page size must be a power of 2.
*/
#ifndef SQLITE_MAX_PAGE_SIZE
# define SQLITE_MAX_PAGE_SIZE 32768
#endif
/*
** The default size of a database page.
*/
#ifndef SQLITE_DEFAULT_PAGE_SIZE
# define SQLITE_DEFAULT_PAGE_SIZE 1024
#endif
#if SQLITE_DEFAULT_PAGE_SIZE>SQLITE_MAX_PAGE_SIZE
# undef SQLITE_DEFAULT_PAGE_SIZE
# define SQLITE_DEFAULT_PAGE_SIZE SQLITE_MAX_PAGE_SIZE
#endif
/*
** Ordin
没有合适的资源?快使用搜索试试~ 我知道了~
linux版飞信(开源)
3星 · 超过75%的资源 需积分: 15 211 下载量 169 浏览量
2008-10-18
00:41:21
上传
评论 1
收藏 1.74MB GZ 举报
温馨提示
共193个文件
gif:108个
h:32个
cpp:24个
LibFetion是由邓东东主持开发的飞信应用程序开发库,其大部分代码使用C编写,支持所有POSIX兼容的操作系统。 LibFetion封装飞信通信协议和功能处理逻辑,给开发者提供简洁、丰富的API接口。使用LibFetion的开发者只需专注于GUI(图形用户界面)的设计开发,就能轻易开发出飞信客户端,能大大提高飞信客户端的开发速度和降低开发难度。 凭借LibFetion的跨平台性,使得飞信在多个操作系统平台上运行,达到“fetion anywhere“。 LibFetion是针对嵌入式设备系统设计的,它只使用了C库,提供平台线程库接口(缺省使用posix线程库)和网络接口(缺省使用socket)因此具有较强的可移植性。目前LibFetion已在Linux,uClinux,Mac OS X,IPhone,Windows,WinCE,eCos操作系统上成功运行。
资源推荐
资源详情
资源评论
收起资源包目录
linux版飞信(开源) (193个子文件)
libfetion_64.a 531KB
libfetion_32.a 394KB
sqlite3.c 2.67MB
fxmainwindow.cpp 57KB
fxdb.cpp 23KB
fxbuddy.cpp 21KB
fxEncrypt.cpp 13KB
fxmsgwindow.cpp 13KB
fxaccountTab.cpp 11KB
fxloginwindow.cpp 10KB
fxconfigDlg.cpp 9KB
fxResource.cpp 9KB
fxsettings.cpp 7KB
fxqunwindow.cpp 7KB
fxuitl.cpp 7KB
fxInputFace.cpp 7KB
fxshowAccountInfo.cpp 5KB
fxproxy.cpp 5KB
fxsendGroupSMS.cpp 5KB
fxaddBuddyWindow.cpp 5KB
fxshowHistory.cpp 3KB
fxverifyAccount.cpp 3KB
fxrefuseSMS.cpp 3KB
main.cpp 3KB
fxmain.cpp 2KB
fxmytabwidget.cpp 2KB
fxpromptwindow.cpp 251B
LibFetion.desktop 288B
input_face.gif 44KB
login_image-linux.gif 9KB
login_image-win.gif 8KB
login_image-mac.gif 7KB
portrait-win.gif 5KB
offline.gif 5KB
portrait-linux.gif 5KB
online.gif 4KB
hide.gif 4KB
away.gif 4KB
busy.gif 4KB
portrait-mac.gif 4KB
Login_Cancel.gif 3KB
Logion_In.gif 3KB
bt_sms.gif 2KB
history.gif 2KB
send_button.gif 2KB
change_send_mode.gif 1KB
refresh.gif 1KB
51.gif 1KB
16.gif 1KB
8.gif 1KB
14.gif 1KB
44.gif 1KB
42.gif 1KB
1.gif 1KB
13.gif 1KB
3.gif 1KB
37.gif 1KB
48.gif 1KB
9.gif 1KB
11.gif 1KB
4.gif 1KB
7.gif 1KB
12.gif 1KB
43.gif 1KB
15.gif 1KB
52.gif 1KB
6.gif 1KB
41.gif 1KB
50.gif 1KB
2.gif 1KB
tool_face.gif 1KB
39.gif 1KB
23.gif 1KB
27.gif 1KB
36.gif 1KB
10.gif 1KB
5.gif 1KB
22.gif 1KB
20.gif 1KB
47.gif 1KB
34.gif 1KB
33.gif 1KB
19.gif 1KB
45.gif 1KB
17.gif 1KB
26.gif 1KB
18.gif 1KB
35.gif 1KB
31.gif 1KB
25.gif 1KB
24.gif 1KB
40.gif 1KB
29.gif 1KB
38.gif 1KB
cancel.gif 1KB
move.gif 1KB
49.gif 1KB
about.gif 1KB
46.gif 1KB
21.gif 1KB
共 193 条
- 1
- 2
资源评论
- logens2013-07-25比较不错,就是不开源
- 猫小懂2011-12-13比较不错,只有页面不绚丽
dswybsh
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功