94 #include <stddef.h> |
94 #include <stddef.h> |
95 #include <stdbool.h> |
95 #include <stdbool.h> |
96 #include <stdint.h> |
96 #include <stdint.h> |
97 #include <sys/types.h> |
97 #include <sys/types.h> |
98 |
98 |
|
99 #ifndef UCX_TEST_H |
99 /** |
100 /** |
100 * Function pointer compatible with fwrite-like functions. |
101 * Function pointer compatible with fwrite-like functions. |
101 */ |
102 */ |
102 typedef size_t (*cx_write_func)( |
103 typedef size_t (*cx_write_func)( |
103 void const *, |
104 void const *, |
104 size_t, |
105 size_t, |
105 size_t, |
106 size_t, |
106 void * |
107 void * |
107 ); |
108 ); |
|
109 #endif // UCX_TEST_H |
108 |
110 |
109 /** |
111 /** |
110 * Function pointer compatible with fread-like functions. |
112 * Function pointer compatible with fread-like functions. |
111 */ |
113 */ |
112 typedef size_t (*cx_read_func)( |
114 typedef size_t (*cx_read_func)( |