All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Macros
target/Darwin-i386/include/aerospike/as_error.h File Reference
#include <aerospike/as_status.h>
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
+ Include dependency graph for target/Darwin-i386/include/aerospike/as_error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  as_error
 

Macros

#define AS_ERROR_MESSAGE_MAX_LEN   (AS_ERROR_MESSAGE_MAX_SIZE - 1)
 
#define AS_ERROR_MESSAGE_MAX_SIZE   1024
 
#define as_error_update(__err, __code, __fmt,...)   as_error_setallv( __err, __code, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__ );
 

Macro Definition Documentation

#define AS_ERROR_MESSAGE_MAX_LEN   (AS_ERROR_MESSAGE_MAX_SIZE - 1)

The maximum string length of as_error.message

Definition at line 48 of file target/Darwin-i386/include/aerospike/as_error.h.

#define AS_ERROR_MESSAGE_MAX_SIZE   1024

The size of as_error.message

Definition at line 41 of file target/Darwin-i386/include/aerospike/as_error.h.

#define as_error_update (   __err,
  __code,
  __fmt,
  ... 
)    as_error_setallv( __err, __code, __func__, __FILE__, __LINE__, __fmt, ##__VA_ARGS__ );

as_error_update(&as->error, AEROSPIKE_OK, "%s %d", "a", 1);

Definition at line 136 of file target/Darwin-i386/include/aerospike/as_error.h.