Skip to content

File clib_common.h

FileList > inc > clib_common.h

Go to the source code of this file

  • #include <complex.h>
  • #include <stddef.h>
  • #include <stdint.h>
  • #include <stdlib.h>
  • #include <string.h>
  • #include "jm_perf.h"

Macros

Type Name
define CMPLXF (r, i) \_\_builtin\_complex ((float)(r), (float)(i))
define DP_ERR_INIT (-1)
define DP_ERR_INVALID (-4)
define DP_ERR_MEMORY (-6)
define DP_ERR_RECV (-3)
define DP_ERR_SEND (-2)
define DP_ERR_TIMEOUT (-5)
define DP_ERR_TOO_LARGE (-7)
define DP_OK 0

Macro Definition Documentation

define CMPLXF

#define CMPLXF (
    r,
    i
) `__builtin_complex ((float)(r), (float)(i))`

clib_common.h — common C99 types and performance macros for doppler.


define DP_ERR_INIT

#define DP_ERR_INIT `(-1)`

Initialisation failed (context/socket).


define DP_ERR_INVALID

#define DP_ERR_INVALID `(-4)`

Invalid argument.


define DP_ERR_MEMORY

#define DP_ERR_MEMORY `(-6)`

Memory allocation failure.


define DP_ERR_RECV

#define DP_ERR_RECV `(-3)`

Receive failed or timed out (EAGAIN).


define DP_ERR_SEND

#define DP_ERR_SEND `(-2)`

Send failed.


define DP_ERR_TIMEOUT

#define DP_ERR_TIMEOUT `(-5)`

Operation timed out.


define DP_ERR_TOO_LARGE

#define DP_ERR_TOO_LARGE `(-7)`

Frame exceeds transport max payload.


define DP_OK

#define DP_OK `0`

Success.



The documentation for this class was generated from the following file native/inc/clib_common.h