blob: 72ccab938814c25ee2a96a74a0af90c0fa28f1f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#pragma once
// Permit compilation with NO_UTIL():
// util/system/compiler.h
#if !defined(Y_HIDDEN)
#if defined(__GNUC__)
#define Y_HIDDEN __attribute__((visibility("hidden")))
#else
#define Y_HIDDEN
#endif
#endif
#if defined(__cplusplus)
extern "C" {
#endif
const char* GetProgramSvnVersion() Y_HIDDEN; // verbose multiline message
void PrintProgramSvnVersion() Y_HIDDEN;
const char* GetArcadiaSourcePath() Y_HIDDEN; // "/home/myltsev/arcadia"
const char* GetArcadiaSourceUrl() Y_HIDDEN; // "svn+ssh://arcadia.yandex.ru/arc/trunk/arcadia"
const char* GetArcadiaLastChange() Y_HIDDEN; // "2902074"
int GetArcadiaLastChangeNum() Y_HIDDEN; // 2902074
const char* GetArcadiaLastAuthor() Y_HIDDEN; // "dieash"
int GetProgramSvnRevision() Y_HIDDEN; // 2902074
const char* GetVCSDirty() Y_HIDDEN;
const char* GetProgramHash() Y_HIDDEN;
const char* GetProgramCommitId() Y_HIDDEN;
void PrintSvnVersionAndExit(int argc, char* argv[]) Y_HIDDEN;
void PrintSvnVersionAndExitEx(int argc, char* argv[], const char* opts) Y_HIDDEN;
void PrintSvnVersionAndExit0() Y_HIDDEN;
const char* GetCustomVersion() Y_HIDDEN; // Currently returns <str> specified with --custom-version <str> in ya package
const char* GetReleaseVersion() Y_HIDDEN; // Currently returns <str> specified with --release-version <str> in ya package
const char* GetProgramScmData() Y_HIDDEN; // verbose multiline message
const char* GetProgramShortVersionData() Y_HIDDEN;
const char* GetProgramBuildUser() Y_HIDDEN;
const char* GetProgramBuildHost() Y_HIDDEN;
const char* GetProgramBuildDate() Y_HIDDEN;
int GetProgramBuildTimestamp() Y_HIDDEN;
const char* GetVCS() Y_HIDDEN;
const char* GetBranch() Y_HIDDEN;
const char* GetTag() Y_HIDDEN;
int GetArcadiaPatchNumber() Y_HIDDEN;
#if defined(__cplusplus)
}
#endif
|