Skip to content

neacsum/mlib

Repository files navigation

MLIB - Multi-purpose Library

This is a collection of bits and pieces crafted over the years. It is released with the hope that other people might find it useful or interesting.

Here you will find stuff as diverse as:

  • socket streams that allow you work with C++ I/O streams over TCP or UDP sockets
  • a very competent JSON parser/generator
  • an embedded HTTP server
  • tools for creating a user interface using HTML
  • a powerful error handling mechanism
  • parsing functions for NMEA-0183 messages
  • serial ports enumeration functions

and many more...

Contents

  • mlib - Main Library
  • mlib_test - Test Program

Example programs:

  • echoserv - An echo server
  • echoclient - Client program for echo server
  • ui-sample - Sample HTML user interface
  • prodcons - Sample producer/consumer processes
  • yacb (Yet Another Circular Buffer) - Circular buffer sample

Building

mlib requires the UTF-8 Library. In addition, the test program requires the UTPP Library.

The preferred method is to use the CPM - C/C++ Package Manager. Download the CPM executable and, from the root of the development tree, issue the cpm command:

  cpm -u https://github.com/neacsum/mlib.git mlib

You can also use the BUILD.bat script will create all libraries and test programs:

c:\mlib>build all

Documentation

You can find Doxygen generated documentation here.

There are also some articles about some of the features:

License

MIT License

About

Multi-Purpose Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors 2

  •  
  •