icedb  version 0.5.1
Snow particle scattering database API
versioningForwards.hpp
Go to the documentation of this file.
1 #pragma once
2 #ifndef ICEDB_HPP_VERSIONING_FORWARDS
3 #define ICEDB_HPP_VERSIONING_FORWARDS
4 #include "../defs.h"
5 #include "versioningForwards.h"
6 #include <memory>
8 namespace icedb {
9  namespace versioning {
10  struct versionInfo {
11  enum nums {
22  };
23  enum bools {
27  };
28 
29  uint64_t vn[V_MAX_INTS];
30  bool vb[V_MAX_BOOLS];
31 
32  static const uint64_t charmax = 256;
33  char vdate[charmax];
34  char vtime[charmax];
35  char vsdate[charmax];
37  char vsuuid[charmax];
38  char vboost[charmax];
42  };
43  typedef std::shared_ptr<const versionInfo> versionInfo_p;
44 
45 
46 
47  DL_ICEDB ICEDB_ver_match compareVersions(const versionInfo_p a, const versionInfo_p b);
48  DL_ICEDB versionInfo_p getLibVersionInfo();
49 
50  }
51 }
53 #endif
#define DL_ICEDB
Definition: defs.h:124
ICEDB_ver_match compareVersions(const versionInfo_p a, const versionInfo_p b)
Definition: versioning.cpp:9
#define ICEDB_END_DECL_CPP
Definition: defs.h:31
void getLibVersionInfo(versionInfo &out)
Definition: versioning.cpp:59
#define ICEDB_BEGIN_DECL_CPP
Definition: defs.h:30
std::shared_ptr< const versionInfo > versionInfo_p
ICEDB_ver_match