#include <stdbool.h>
#include <stdint.h>
#include <unistd.h>
Include dependency graph for basicDefs.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | Dll_Export |
#define | bool int |
#define | true 1 |
#define | false 0 |
#define | XMLBLASTER_C_bool bool |
#define | SNPRINTF snprintf |
#define | VSNPRINTF vsnprintf |
#define | PRINTF_PREFIX_INT64_T "%lld" |
#define | PRINTF_PREFIX_UINT64_T "%llu" |
#define | INT64_STRLEN_MAX 22 |
Size of a max int64_t dumped to a string including an optional LL and termination '': LLONG_MAX from limits.h 9223372036854775807LL Set -DGCC_ANSI on command line if you use the 'gcc --ansi' flag. | |
#define | _INLINE_FUNC inline |
#define | XB_USE_PTHREADS 1 |
Used to dump thread ID in default logging output, undef it if you run single threaded. | |
Typedefs | |
typedef void(*) | XmlBlasterNumReadFunc (void *xb, const size_t currBytesRead, const size_t nbytes) |
Declare function callback pointer about how many bytes are read from socket. |
#define _INLINE_FUNC inline |
Definition at line 133 of file basicDefs.h.
#define bool int |
Definition at line 50 of file basicDefs.h.
#define Dll_Export |
Definition at line 42 of file basicDefs.h.
#define false 0 |
Definition at line 52 of file basicDefs.h.
#define INT64_STRLEN_MAX 22 |
Size of a max int64_t dumped to a string including an optional LL and termination '': LLONG_MAX from limits.h 9223372036854775807LL Set -DGCC_ANSI on command line if you use the 'gcc --ansi' flag.
Definition at line 116 of file basicDefs.h.
Referenced by int64ToStr(), persistentQueuePut(), and persistentQueueRandomRemove().
#define PRINTF_PREFIX_INT64_T "%lld" |
#define PRINTF_PREFIX_UINT64_T "%llu" |
Definition at line 111 of file basicDefs.h.
#define SNPRINTF snprintf |
Definition at line 73 of file basicDefs.h.
Referenced by checkArgs(), compilePreparedQuery(), createCallbackServer(), createTables(), embedException(), encodeMsgUnit(), execSilent(), fillCache(), getExceptionStr(), handleMessage(), initConnection(), initialize(), interceptUpdate(), messageUnitToXmlLimited(), mutexUnlock(), parseCacheInfo(), parseQueueEntryArr(), persistentQueueClear(), persistentQueueDestroy(), persistentQueueInitialize(), persistentQueuePeekWithSamePriority(), persistentQueuePut(), persistentQueueRandomRemove(), postSendEvent(), preSendEvent(), queueEntryToXml(), sendData(), xmlBlasterAccessUnparsedUsage(), xmlBlasterConnect(), xmlBlasterErase(), xmlBlasterGet(), xmlBlasterInitQueue(), xmlBlasterSubscribe(), and xmlBlasterUnSubscribe().
#define true 1 |
Definition at line 51 of file basicDefs.h.
#define VSNPRINTF vsnprintf |
#define XB_USE_PTHREADS 1 |
Used to dump thread ID in default logging output, undef it if you run single threaded.
Definition at line 147 of file basicDefs.h.
#define XMLBLASTER_C_bool bool |
typedef void( * ) XmlBlasterNumReadFunc(void *xb, const size_t currBytesRead, const size_t nbytes) |
Declare function callback pointer about how many bytes are read from socket.
userP | A user pointer | |
currBytesRead | The currently number of bytes read | |
nbytes | Totally expected bytes |
Definition at line 156 of file basicDefs.h.