blob: 7aece931aa9b21b1a555a9a3508d4cd882666f83 (
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
|
#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* 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
|