152 Star 725 Fork 303

GVPgozfree / gear-lib

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Gear-Lib

English | 简体中文

Build Release License

这是一组通用的C基础库

  • 全部用POSIX C实现,目标是为了跨平台兼容linux, windows, android, ios.
  • 适用于物联网,嵌入式,以及网络服务开发等场景

struct

数据结构

libdict: 哈希字典 libhash: linux内核原生哈希库
libringbuffer: 循环缓冲 libqueue: 数据队列
librbtree: 内核rbtree libsort:
libvector: 容器库 libdarray: 动态数组

网络库

librtsp: RTSP协议,适合IPCamera和NVR开发 librtmpc: RTMP协议,适合推流直播
libsock: Socket封装 librpc: 远程过程调用库
libipc: 进程间通信 libp2p: p2p穿透传输
libmqttc: MQTT客户端协议 libhomekit: Apple homekit协议库

异步

libgevent: 事件驱动 libthread: 线程
libworkq: 工作队列

I/O

libstrex: 字符扩展 libconfig: 配置文件库
liblog: 日志库 libfile: 文件操作库
libsubmask: 网络地址翻译

多媒体

libavcap: 音频视频捕获库 libmp4: MP4录制解析库
libjpeg-ex: libmedia-io: 音频视频格式定义

系统抽象层

libposix: windows/rtos/ios平台posix适配库

其他

libdebug: 调试辅助库 libhal: 硬件抽象层
libplugin: 动态加载库 libtime: 时间库
libfsm: 有限状态机

编译方法

详细请参考INSTALL.md

License

详细请参考LICENSE

联系交流

Copyright (C) 2014-2020 Zhifeng Gong <gozfree@163.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

Gear-Lib,适用于IOT/嵌入式/网络服务开发的C库 展开 收起
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C
1
https://gitee.com/gozfreee/gear-lib.git
git@gitee.com:gozfreee/gear-lib.git
gozfreee
gear-lib
gear-lib
master

搜索帮助

14c37bed 8189591 565d56ea 8189591