xapian-core  1.4.26
Macros
chert_version.cc File Reference

ChertVersion class. More...

#include <config.h>
#include <xapian/error.h>
#include "chert_version.h"
#include "io_utils.h"
#include "stringutils.h"
#include "str.h"
#include <cerrno>
#include <cstring>
#include <string>
#include "backends/uuids.h"
+ Include dependency graph for chert_version.cc:

Go to the source code of this file.

Macros

#define CHERT_VERSION   200912150
 
#define MAGIC_STRING   "IAmChert"
 
#define MAGIC_LEN   CONST_STRLEN(MAGIC_STRING)
 
#define VERSIONFILE_SIZE   (MAGIC_LEN + 4 + 16)
 
#define VERSIONFILE_SIZE_LITERAL   28
 

Detailed Description

ChertVersion class.

Definition in file chert_version.cc.

Macro Definition Documentation

◆ CHERT_VERSION

#define CHERT_VERSION   200912150

Definition at line 40 of file chert_version.cc.

Referenced by ChertVersion::create(), and ChertVersion::read_and_check().

◆ MAGIC_LEN

#define MAGIC_LEN   CONST_STRLEN(MAGIC_STRING)

Definition at line 47 of file chert_version.cc.

Referenced by ChertVersion::create(), and ChertVersion::read_and_check().

◆ MAGIC_STRING

#define MAGIC_STRING   "IAmChert"

Definition at line 45 of file chert_version.cc.

Referenced by ChertVersion::create(), and ChertVersion::read_and_check().

◆ VERSIONFILE_SIZE

#define VERSIONFILE_SIZE   (MAGIC_LEN + 4 + 16)

Definition at line 49 of file chert_version.cc.

Referenced by ChertVersion::create(), and ChertVersion::read_and_check().

◆ VERSIONFILE_SIZE_LITERAL

#define VERSIONFILE_SIZE_LITERAL   28

Definition at line 54 of file chert_version.cc.

Referenced by ChertVersion::read_and_check().