Skip to content
Most common C modules to be compiled-in
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc
.gitignore
LICENSE
README.md
base64.c
base64.h
buffer.c
buffer.h
config.c
config.h
crc32.c
crc32.h
datetime.c
datetime.h
dbx.c
dbx.h
fs-utils.c
fs-utils.h
list.c
list.h
log.c
log.h
md5.c
md5.h
object.c
object.h
pair.c
pair.h
post-utils.c
post-utils.h
query-stream.c
query-stream.h
retcodes.h
sock-utils.c
sock-utils.h
str-builder.c
str-builder.h
str-utils.c
str-utils.h
string.h
templight.c
templight.h
uri.c
uri.h
version.h
vmpc.c
vmpc.h

README.md

cStuff

Set of ready C modules to be compiled into your Project.

  • base64 - encode / decode functions (using libcrypt)
  • buffer - class for bytes buffering
  • config - lightweight parser for configuration text file
  • crc32 - CRC32 calculating module
  • datetime - class for datetime with nanoseconds
  • dbx - module for asynchronous communication with PostgreSQL
  • fs-utils - functions to work with filesystem
  • list - class for list of pointers
  • log - class and functions to have logging in your project
  • md5 - functions to calculate MD5 checksum (using libcrypt)
  • query-stream - stream parser for QUERY STRING (param=val&next_param=val2)
  • retcodes.h - list of return codes for all cStuff modules
  • sock-utils - set of functions for sockets
  • str-builder - class to build null terminated strings by appending
  • str-utils - set of functions to operate null terminated strings
  • templight - class for generally HTML templating
  • uri - function to decode URI
  • version.h - common version structure
  • vmpc - C implementation of VMPC encription/decription algorithm

The Idea

  • To do not link extra huge libraries for just couple of helper functions
  • To do not make dependencies on unused code
  • To have simple solutions for common tasks under your hand

License

All code in this repository is being distributed under Unlicense.

You can’t perform that action at this time.