ucx
UAP Common Extensions
Loading...
Searching...
No Matches
Macros | Typedefs
common.h File Reference

Common definitions and feature checks. More...

#include <stdlib.h>
#include <stddef.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define UCX_VERSION_MAJOR   3
 Major UCX version as integer constant.
 
#define UCX_VERSION_MINOR   0
 Minor UCX version as integer constant.
 
#define UCX_VERSION   (((UCX_VERSION_MAJOR)<<16)|UCX_VERSION_MINOR)
 Version constant which ensures to increase monotonically.
 
#define __attribute__(x)
 Removes GNU C attributes where they are not supported.
 

Typedefs

typedef size_t(* cx_write_func) (void const *, size_t, size_t, void *)
 Function pointer compatible with fwrite-like functions.
 
typedef size_t(* cx_read_func) (void *, size_t, size_t, void *)
 Function pointer compatible with fread-like functions.
 

Detailed Description

Common definitions and feature checks.

Author
Mike Becker
Olaf Wintermann
Version
3.0