src/utils.c

changeset 736
70885c3d15b0
parent 675
765cf785b7fa
equal deleted inserted replaced
735:b686d0c98c62 736:70885c3d15b0
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