| Commit message (Collapse) | Author | Age | |
|---|---|---|---|
| * | Add nng_opts_parse() API for handling command line options. | Garrett D'Amore | 2018-02-22 |
| | | | | | | | | | | | | We have implemented this alternative to getopt() so that we can create nngcat. The reason we did not just use getopt() is that getopt() does not understand long options (which nanocat uses, and we want to preserve for compatibility) and getopt() is not available on Windows (and possibly other non-POSIX platforms.) This function handles long and short options, but does not have support for option clustering. It also is threadsafe & reentrant, unlike getopt. | ||
| * | Introduce 'porting layer' Public API. | Garrett D'Amore | 2018-02-20 |
| This introduces portable primitives for time, random numbers, synchronization primitives, and threading. These are somewhat primitive (least common denominiators), but they can help with writing portable applications, especially our own demo apps. | |||
