tor_version_t Struct Reference

#include <or.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.


Member Enumeration Documentation

anonymous enum

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


Field Documentation

enum { ... } tor_version_t::status

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

Referenced by tor_version_compare(), and tor_version_parse().


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

Generated on Tue May 25 00:31:26 2010 for tor by  doxygen 1.5.6