Tor  0.4.7.0-alpha-dev
Public Types | Data Fields
tor_version_t Struct Reference

#include <tor_version_st.h>

Public Types

enum  { VER_PRE =0 , VER_RC =1 , VER_RELEASE =2 }
 

Data Fields

int major
 
int minor
 
int micro
 
enum tor_version_t:: { ... }  status
 
int patchlevel
 
char status_tag [MAX_STATUS_TAG_LEN]
 
int svn_revision
 
int git_tag_len
 
char git_tag [DIGEST_LEN]
 

Detailed Description

Structure to hold parsed Tor versions. This is a little messier than we would like it to be, because we changed version schemes with 0.1.0.

See version-spec.txt for the whole business.

Definition at line 21 of file tor_version_st.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Release status. For version in the post-0.1 format, this is always VER_RELEASE.

Definition at line 27 of file tor_version_st.h.

Field Documentation

◆ 

enum { ... } status

Release status. For version in the post-0.1 format, this is always VER_RELEASE.

Referenced by tor_version_parse().


The documentation for this struct was generated from the following file: