#ifndef UCX_COMMON_H
#define UCX_COMMON_H
#define UCX_VERSION_MAJOR 3
#define UCX_VERSION_MINOR 0
#define UCX_VERSION (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>
typedef size_t (*cx_write_func)(
void const *,
size_t,
size_t,
void *
);
typedef size_t (*cx_read_func)(
void *,
size_t,
size_t,
void *
);
#ifndef __GNUC__
#define __attribute__(x)
#endif
#ifdef _MSC_VER
#include <BaseTsd.h>
typedef SSIZE_T ssize_t;
#define _Thread_local __declspec(thread)
#endif
#endif