Skip to content

AlenXiao/gear-lib

 
 

Repository files navigation

Gear-Lib

English | 简体中文

Build Release License

This is a collection of basic libraries.

  • All are written in POSIX C, aim to used compatibility on linux, windows, android, ios.
  • Aim to reuse for IOT, embedded and network service development

struct

Data Struct

libdict: Hash key-value dictonary library libhash: Hash key-value library based on hlist from kernel
libringbuffer: libqueue: queue library, support memory hook
librbtree: comes from linux kernel rbtree. libsort:
libvector: libdarray: Dynamic array

Network

librtsp: Real Time Streaming Protocol server for ipcamera or NVR librtmpc: Real Time Messaging Protocol client for liveshow
libsock: socket warpper api for easily use librpc: Remote Procedure Call library
libipc: Inter-Process Communication, support mqueue/netlink/shm libp2p: High level p2p punch hole library, easy API to use
libhomekit: Apple homekit protocol

Async

libgevent: Reactor event, like libevent libthread: Thread wrapper
libworkq: Work queue in userspace

I/O

libbase64: Base64/32 encode/decode libconfig: Support ini/json
liblog: Support console/file/rsyslog libfile: File operations
libstrex: libsubmask: ip addr transform

Multi-Media

libuvc: USB video class V4L2/dshow libmp4: MP4 muxer and parser
libjpeg-ex: libmedia-io: audio/video frame/packet define

OS Abstraction Layer

libposix: posix adapter for Windows/rtos/ios

Misc

libdebug: Help to trace crash like gdb libhal: hardware Abstraction Layer
libplugin: Dynamic link plugin libtime: Time wrapper
libfsm: Finite State Machine

How To Build

Please refer to INSTALL.md file for detailed information.

License

Please refer to the LICENSE file for detailed information.

Contacts

About

Gear-Lib, C library for IOT Embedded Multimedia and Network

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 91.1%
  • Makefile 5.4%
  • C++ 2.8%
  • Shell 0.4%
  • Pascal 0.1%
  • Python 0.1%
  • Other 0.1%