Tor 0.4.9.0-alpha-dev
git_revision.c
Go to the documentation of this file.
1/* Copyright 2001-2004 Roger Dingledine.
2 * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
3 * Copyright (c) 2007-2021, The Tor Project, Inc. */
4/* See LICENSE for licensing information */
5
6#include "orconfig.h"
8
9/**
10 * @file git_revision.c
11 * @brief Strings to describe the current Git commit.
12 **/
13
14/** String describing which Tor Git repository version the source was
15 * built from. This string is generated by a bit of shell kludging in
16 * src/core/include.am, and is usually right.
17 */
18const char tor_git_revision[] =
19#ifndef COCCI
20#ifndef _MSC_VER
21#include "micro-revision.i"
22#endif
23#endif
24 "";
25
26/**
27 * String appended to Tor bug messages describing the Tor version.
28 *
29 * It has the form "(on Tor 0.4.3.1-alpha)" or
30 * "(on Tor 0.4.3.1-alpha git-b994397f1af193f8)"
31 **/
32const char tor_bug_suffix[] = " (on Tor " VERSION
33#ifndef COCCI
34#ifndef _MSC_VER
35 " "
36#include "micro-revision.i"
37#endif
38#endif /* !defined(COCCI) */
39 ")";
const char tor_bug_suffix[]
Definition: git_revision.c:32
const char tor_git_revision[]
Definition: git_revision.c:18
Header for git_revision.c.