12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- #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* 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
|