库更新
组件更新
本章节简要介绍了最新软件包中新引入的库和已弃用的库。
库名(文件名)可能因开发平台而异。
例如:
在Unix Linux(包括Integrity和VxWorks)软件包中,静态库的文件名以 libmco 前缀开头,后跟库名,并具有扩展名 .a。
- 如:基本核心库mcolib的文件名为libmcolib.a
在Windows软件包中,文件名具有前缀 mco 和扩展名 .lib 。
- 如:基本核心库被命名为mcolib.lib。
下表展示库命名规则中短语释义。
短语 | 释义 |
---|---|
sal | 系统访问层库,提供与底层平台相关操作系统服务的接口; |
seq | 序列库提供用于垂直数据存储的专用API; |
sql | 提供数据库SQL访问的库; |
iot | 在物联网(IoT)边缘设备和数据库存储之间提供数据交换API的库; |
rest | 提供的REST协议的Web服务库; |
lua | 为Lua编程语言中实现的用户定义函数(“存储过程”)提供支持; |
可用库
以下库在最新版8.0中提供。
库名 | 说明 |
---|---|
mcosalmem | SAL system memory allocator |
mcosalatomic | SAL atomic implementation |
mcosallatches | SAL latches implementation |
mcosaldload | SAL dynamic loader |
mcosaltimer | SAL timer implementations |
mcosalsmp | SAL inter-process communication |
mcosalhollow | SAL hollow library (Stub functions for in-memory database single-threaded applications only) |
mcoseqmath | Sequences math implementation |
mcoseqrlemath | Sequences math implementation for compressed sequences |
mcosqlmini | SQL stubs / proxy for remote-client-only SQL applications |
mcoiotcomm | IOT communication library |
mcoiotrepl | IOT replication |
mcorest | REST interface implementation |
mcorestdb | REST-related database interaction library |
mcorestperf | REST-related library, access to the performance counters |
mcorestsql | REST-related library, SQL interface |
mcoluaapi | LUA module |
mcoluaload | LUA loader, loads core libraries depending on required functionality |
libmcoloader | Core loader - used to dynamically load parts of the core on request |
弃用库
以下库已在8.0版本中弃用:
库名 | 说明 |
---|---|
fhcmn | Eliminated by the FeedHandler libraries re-design |
testfeed | Eliminated by the FeedHandler libraries re-design |
trfeed | Eliminated by the FeedHandler libraries re-design |
smdsfeed | Eliminated by the FeedHandler libraries re-design |
mcoapi | Moved to library mcosql |
mcomem | Moved to SAL |
mcosmp | Moved to SAL |
mcostrerror | Moved to mcotrace library |