diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-20 19:41:55 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-20 19:41:55 -0800 |
| commit | fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3 (patch) | |
| tree | f7758c6430a696f797763d21d5a3d53ea950b561 /src/nng.c | |
| parent | 03b9fab6cbf8374aca5f5daa2b5b030bcc4cbb85 (diff) | |
| download | nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.tar.gz nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.tar.bz2 nng-fd871e6ce9de54f81f00918d4c7e3f3f4336b6d3.zip | |
Introduce 'porting layer' Public API.
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.
Diffstat (limited to 'src/nng.c')
| -rw-r--r-- | src/nng.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1194,6 +1194,7 @@ nng_stat_value(nng_stat *stat) } #endif +#if 0 // These routines exist as utility functions, exposing some of our // "guts" to the external world for the purposes of test code and // bundled utilities. They should not be considered part of our public @@ -1237,6 +1238,7 @@ nng_thread_destroy(void *arg) NNI_FREE_STRUCT(thr); } +#endif int nng_url_parse(nng_url **result, const char *ustr) |
