c common functions library extracted from my open source project FastDFS. this library is very simple and stable. functions including: string, logger, chain, hash, socket, ini file reader, base64 encode / decode, url encode / decode, fast timer, skiplist, object pool etc. detail info please see the c header files.
avl-tree
socket-io
connection-pool
skiplist
task-scheduler
object-pool
ini-parser
fastdfs
c-library
system-info
id-generator
process-control
-
Updated
Apr 22, 2022 - C
Similar to configparser in Python, we should have an option to append sections using a direct hashmap and string.
append(Some(sectionname), HashMap to append)
- IfNone
, we append the section as-is (validate that it's a two-level hashmap), ifSome(...)
, we create a hashmap with that section and add the entire section (need an error-check to ensure it's a flat hashmap).