ucx/ucx.h

changeset 76
655020a30e77
parent 69
fb59270b1de3
child 93
a6a99e721660
equal deleted inserted replaced
75:990734f548ef 76:655020a30e77
35 typedef int(*cmp_func)(void*,void*,void*); 35 typedef int(*cmp_func)(void*,void*,void*);
36 36
37 /* element,custom data -> copy of element */ 37 /* element,custom data -> copy of element */
38 typedef void*(*copy_func)(void*,void*); 38 typedef void*(*copy_func)(void*,void*);
39 39
40 /* buffer, element size, element count, stream */
41 typedef size_t(*write_func)(const void*, size_t, size_t, void*);
42
43 /* buffer, element size, element count, stream */
44 typedef size_t(*read_func)(void*, size_t, size_t, void*);
45
40 #ifdef __cplusplus 46 #ifdef __cplusplus
41 } 47 }
42 #endif 48 #endif
43 49
44 #endif /* UCX_H */ 50 #endif /* UCX_H */

mercurial