tor  0.4.2.0-alpha-dev
tor_version_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef TOR_VERSION_ST_H
8 #define TOR_VERSION_ST_H
9 
10 #define MAX_STATUS_TAG_LEN 32
11 
16 struct tor_version_t {
17  int major;
18  int minor;
19  int micro;
22  enum { VER_PRE=0, VER_RC=1, VER_RELEASE=2, } status;
23  int patchlevel;
24  char status_tag[MAX_STATUS_TAG_LEN];
25  int svn_revision;
26 
27  int git_tag_len;
28  char git_tag[DIGEST_LEN];
29 };
30 
31 #endif /* !defined(TOR_VERSION_ST_H) */
32 
#define DIGEST_LEN
Definition: digest_sizes.h:20
enum tor_version_t::@14 status