Tor 0.4.9.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

◆ git_tag

char git_tag[DIGEST_LEN]

Definition at line 33 of file tor_version_st.h.

◆ git_tag_len

int git_tag_len

Definition at line 32 of file tor_version_st.h.

◆ major

int major

Definition at line 22 of file tor_version_st.h.

◆ micro

int micro

Definition at line 24 of file tor_version_st.h.

◆ minor

int minor

Definition at line 23 of file tor_version_st.h.

◆ patchlevel

int patchlevel

Definition at line 28 of file tor_version_st.h.

◆ 

enum { ... } status

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

Referenced by tor_version_parse().

◆ status_tag

char status_tag[MAX_STATUS_TAG_LEN]

Definition at line 29 of file tor_version_st.h.

◆ svn_revision

int svn_revision

Definition at line 30 of file tor_version_st.h.


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