36 */ |
36 */ |
37 |
37 |
38 #ifndef UCX_UTILS_H |
38 #ifndef UCX_UTILS_H |
39 #define UCX_UTILS_H |
39 #define UCX_UTILS_H |
40 |
40 |
41 #ifdef __cplusplus |
|
42 extern "C" { |
|
43 #endif |
|
44 |
|
45 #include "ucx.h" |
41 #include "ucx.h" |
46 #include "string.h" |
42 #include "string.h" |
47 #include "allocator.h" |
43 #include "allocator.h" |
48 #include <inttypes.h> |
44 #include <inttypes.h> |
49 #include <string.h> |
45 #include <string.h> |
50 #include <stdarg.h> |
46 #include <stdarg.h> |
|
47 |
|
48 #ifdef __cplusplus |
|
49 extern "C" { |
|
50 #endif |
51 |
51 |
52 /** |
52 /** |
53 * Default buffer size for ucx_stream_copy() and ucx_stream_ncopy(). |
53 * Default buffer size for ucx_stream_copy() and ucx_stream_ncopy(). |
54 */ |
54 */ |
55 #define UCX_STREAM_COPY_BUFSIZE 4096 |
55 #define UCX_STREAM_COPY_BUFSIZE 4096 |