1.1 --- a/ucx/ucx.h Sun Nov 04 20:50:12 2012 +0100 1.2 +++ b/ucx/ucx.h Fri Nov 30 13:10:58 2012 +0100 1.3 @@ -37,6 +37,12 @@ 1.4 /* element,custom data -> copy of element */ 1.5 typedef void*(*copy_func)(void*,void*); 1.6 1.7 +/* buffer, element size, element count, stream */ 1.8 +typedef size_t(*write_func)(const void*, size_t, size_t, void*); 1.9 + 1.10 +/* buffer, element size, element count, stream */ 1.11 +typedef size_t(*read_func)(void*, size_t, size_t, void*); 1.12 + 1.13 #ifdef __cplusplus 1.14 } 1.15 #endif