src/ucx/utils.c

changeset 504
c094afcdfb27
parent 490
d218607f5a7e
equal deleted inserted replaced
503:aeaf7db26fac 504:c094afcdfb27
26 * POSSIBILITY OF SUCH DAMAGE. 26 * POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 28
29 #include "cx/utils.h" 29 #include "cx/utils.h"
30 30
31 #ifndef CX_STREAM_BCOPY_BUF_SIZE
31 #define CX_STREAM_BCOPY_BUF_SIZE 8192 32 #define CX_STREAM_BCOPY_BUF_SIZE 8192
33 #endif
34
35 #ifndef CX_STREAM_COPY_BUF_SIZE
32 #define CX_STREAM_COPY_BUF_SIZE 1024 36 #define CX_STREAM_COPY_BUF_SIZE 1024
37 #endif
33 38
34 size_t cx_stream_bncopy( 39 size_t cx_stream_bncopy(
35 void *src, 40 void *src,
36 void *dest, 41 void *dest,
37 cx_read_func rfnc, 42 cx_read_func rfnc,

mercurial