12 |
12 |
13 #ifdef __cplusplus |
13 #ifdef __cplusplus |
14 extern "C" { |
14 extern "C" { |
15 #endif |
15 #endif |
16 |
16 |
|
17 /* source,data -> errno */ |
17 typedef int(*ucx_callback)(void*,void*); |
18 typedef int(*ucx_callback)(void*,void*); |
|
19 |
|
20 /* element1,element2,custom data -> {-1,0,1} */ |
|
21 typedef int(*cmp_func)(void*,void*,void*); |
|
22 |
|
23 /* element,custom data -> copy of element */ |
|
24 typedef void*(*copy_func)(void*,void*); |
18 |
25 |
19 #ifdef __cplusplus |
26 #ifdef __cplusplus |
20 } |
27 } |
21 #endif |
28 #endif |
22 |
29 |