LAR Library: base.h File Reference

LAR Library

base.h File Reference

Larlib basic definitions. More...

Go to the source code of this file.

Macros

#define BASE_MAX(a, b)
 Return the largest of two elements (as defined by the comparison <).
 
#define BASE_MIN(a, b)
 Return the smallest of two elements (as defined by the comparison <).
 
#define BASE_LENGTH(v)
 Return the count of a fixed-size array. More...
 
#define LARLIB_VERSION   (0x0113)
 Version of this LarLib as a 2-byte BCD number. More...
 

Typedefs

typedef char int8_t
 Signed 8-bit integer. More...
 
typedef short int16_t
 Signed 16-bit integer. More...
 
typedef int int32_t
 Signed 32-bit integer. More...
 
typedef long long int64_t
 Signed 64-bit integer. More...
 
typedef unsigned char uint8_t
 Unsigned 8-bit integer. More...
 
typedef unsigned short uint16_t
 Unsigned 16-bit integer. More...
 
typedef unsigned int uint32_t
 Unsigned 32-bit integer. More...
 
typedef unsigned long long uint64_t
 Unsigned 64-bit integer. More...
 

Enumerations

enum  baseErrors_t {
  BASE_ERR_OK = 0, BASE_ERR_INVALID_PARAMETER = -1, BASE_ERR_DATA_NOT_FOUND = -2, BASE_ERR_INVALID_HANDLE = -3,
  BASE_ERR_RESOURCE_PB = -4, BASE_ERR_OVERFLOW = -5, BASE_ERR_ACCESS = -6, BASE_ERR_CANCEL = -7,
  BASE_ERR_TIMEOUT = -8
}
 Common error values. More...
 

Functions

const char * larlibGetVersion (void)
 Return a string with the version and revision of LarLib library. More...
 

Detailed Description

Larlib basic definitions.

Generated on Mon Mar 27 2017 15:42:52 for LAR Library by   doxygen 1.8.9.1