Add validation of tarball builds
[alexxy/gromacs.git] / src / gromacs / utility / baseversion.h
index b4e7fc4a74219f1e0a4c1ca5d33361b5873a95cc..7a1ef6f84ad2ed442969abe49230225d1c8f2cda 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2014,2015,2018, by the GROMACS development team, led by
+ * Copyright (c) 2014,2015,2018,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -101,4 +101,18 @@ const char *getGpuImplementationString();
  */
 const char *gmxDOI();
 
+/*! \brief
+ * Hash of the complete source released in the tarball.
+ *
+ * Empty when not a release tarball build.
+ */
+const char *gmxReleaseSourceChecksum();
+
+/*! \brief
+ * Hash of the complete source actually used when building.
+ *
+ * Always computed when building from tarball.
+ */
+const char *gmxCurrentSourceChecksum();
+
 #endif