~ubuntu-branches/ubuntu/utopic/pdns/utopic-updates

« back to all changes in this revision

Viewing changes to pdns/ext/polarssl-1.1.2/include/polarssl/version.h

  • Committer: Package Import Robot
  • Author(s): Marc Haber, Marc Haber, Evgeni Golov
  • Date: 2012-05-11 23:51:27 UTC
  • mfrom: (1.1.9) (12.1.14 sid)
  • Revision ID: package-import@ubuntu.com-20120511235127-v0qjuaplfckcb2cd
Tags: 3.1-1
[ Marc Haber ]
* Imported Upstream version 3.1
  * reduce column size for 'algorithm' to 50. Closes: #662935
  * handle smallcaps RRs. Closes: #656788
* refresh patches
* remove unused patches
* add patch to turn off the traceback handler at run time
* add patch for changeset 2575 (race condition with supermasters)
* fix mysql multiarch build failure, set cflags etc to hardening defaults
* do not run bootstrap a build time, using autotools_dev
* use dh-autoreconf, remove autofoo created files from
  patches/fix-mongodb-backend-patch
* fix dh invocation
* create MySQL databases with engine=innodb instead of type
* set debian/compat to 9
* Standards-Version: 3.9.3 (no changes needed)
* add myself to uploaders, change Vcs-Header to my git. Closes: #672550

[ Evgeni Golov ]
* use system libpolarssl if present, local copy otherwise.
  Closes: #671856, #656861

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/**
 
2
 * \file version.h
 
3
 *
 
4
 * \brief Run-time version information
 
5
 *
 
6
 *  Copyright (C) 2006-2010, Brainspark B.V.
 
7
 *
 
8
 *  This file is part of PolarSSL (http://www.polarssl.org)
 
9
 *  Lead Maintainer: Paul Bakker <polarssl_maintainer at polarssl.org>
 
10
 *
 
11
 *  All rights reserved.
 
12
 *
 
13
 *  This program is free software; you can redistribute it and/or modify
 
14
 *  it under the terms of the GNU General Public License as published by
 
15
 *  the Free Software Foundation; either version 2 of the License, or
 
16
 *  (at your option) any later version.
 
17
 *
 
18
 *  This program is distributed in the hope that it will be useful,
 
19
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
20
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
21
 *  GNU General Public License for more details.
 
22
 *
 
23
 *  You should have received a copy of the GNU General Public License along
 
24
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 
25
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
26
 */
 
27
/*
 
28
 * This set of compile-time defines and run-time variables can be used to
 
29
 * determine the version number of the PolarSSL library used.
 
30
 */
 
31
#ifndef POLARSSL_VERSION_H
 
32
#define POLARSSL_VERSION_H
 
33
 
 
34
#include "config.h"
 
35
 
 
36
/**
 
37
 * The version number x.y.z is split into three parts.
 
38
 * Major, Minor, Patchlevel
 
39
 */
 
40
#define POLARSSL_VERSION_MAJOR  1
 
41
#define POLARSSL_VERSION_MINOR  1
 
42
#define POLARSSL_VERSION_PATCH  2
 
43
 
 
44
/**
 
45
 * The single version number has the following structure:
 
46
 *    MMNNPP00
 
47
 *    Major version | Minor version | Patch version
 
48
 */
 
49
#define POLARSSL_VERSION_NUMBER         0x01010200
 
50
#define POLARSSL_VERSION_STRING         "1.1.2"
 
51
#define POLARSSL_VERSION_STRING_FULL    "PolarSSL 1.1.2"
 
52
 
 
53
#if defined(POLARSSL_VERSION_C)
 
54
 
 
55
/**
 
56
 * Get the version number.
 
57
 *
 
58
 * \return          The constructed version number in the format
 
59
 *                  MMNNPP00 (Major, Minor, Patch).
 
60
 */
 
61
unsigned int version_get_number( void );
 
62
 
 
63
/**
 
64
 * Get the version string ("x.y.z").
 
65
 *
 
66
 * \param string    The string that will receive the value.
 
67
 *                  (Should be at least 9 bytes in size)
 
68
 */
 
69
void version_get_string( char *string );
 
70
 
 
71
/**
 
72
 * Get the full version string ("PolarSSL x.y.z").
 
73
 *
 
74
 * \param string    The string that will receive the value.
 
75
 *                  (Should be at least 18 bytes in size)
 
76
 */
 
77
void version_get_string_full( char *string );
 
78
 
 
79
#endif /* POLARSSL_VERSION_C */
 
80
 
 
81
#endif /* version.h */