BdsApi 3.1.4
This is the Blacknest BDS API.
Loading...
Searching...
No Matches
Namespaces | Macros | Functions | Variables
BdsDataFileCd.cpp File Reference
#include <BdsDataFileCd.h>
#include <arpa/inet.h>
#include <errno.h>
#include <canada_compress.h>
#include <BEndian.h>
#include <BDebug.h>

Namespaces

namespace  Bds
 

Macros

#define LDEBUG   0
 
#define dprintf(fmt, a...)
 
#define INCLUDE_CHANNEL_AUTH   1
 
#define ALLOW_TIMESTAMP_JITTER   1
 
#define TIMESTAMP_JITTER   100
 
#define MULTIPLE_SEGMENT   0
 
#define SEGMENT_GAP   3600000
 
#define ntohll(x)   __bswap_64(x)
 
#define htonll(x)   ntohll(x)
 

Functions

static void Bds::crcInit ()
 
static uint64_t Bds::crc64 (const void *buffer, const uint32_t len)
 
BString Bds::getHexString (char *data, int len)
 
int Bds::duplicateDump (DataBlock &data1, DataBlock &data2, int channel)
 

Variables

const int ErrorFormatNoDataFormat = 100
 
static uint64_t Bds::crcVec [256]
 
static int Bds::crcInitDone
 

Macro Definition Documentation

◆ LDEBUG

#define LDEBUG   0

◆ dprintf

#define dprintf (   fmt,
  a... 
)

◆ INCLUDE_CHANNEL_AUTH

#define INCLUDE_CHANNEL_AUTH   1

◆ ALLOW_TIMESTAMP_JITTER

#define ALLOW_TIMESTAMP_JITTER   1

◆ TIMESTAMP_JITTER

#define TIMESTAMP_JITTER   100

◆ MULTIPLE_SEGMENT

#define MULTIPLE_SEGMENT   0

◆ SEGMENT_GAP

#define SEGMENT_GAP   3600000

◆ ntohll

#define ntohll (   x)    __bswap_64(x)

◆ htonll

#define htonll (   x)    ntohll(x)

Variable Documentation

◆ ErrorFormatNoDataFormat

const int ErrorFormatNoDataFormat = 100