build number updated
[public/netxms.git] / include / netxms-version.h
CommitLineData
b900a78b
VK
1/*
2** NetXMS - Network Management System
5096f5a5 3** Copyright (C) 2003-2015 Victor Kirhenshtein
b900a78b
VK
4**
5** This program is free software; you can redistribute it and/or modify
68f384ea
VK
6** it under the terms of the GNU Lesser General Public License as published by
7** the Free Software Foundation; either version 3 of the License, or
b900a78b
VK
8** (at your option) any later version.
9**
10** This program is distributed in the hope that it will be useful,
11** but WITHOUT ANY WARRANTY; without even the implied warranty of
12** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13** GNU General Public License for more details.
14**
68f384ea 15** You should have received a copy of the GNU Lesser General Public License
b900a78b
VK
16** along with this program; if not, write to the Free Software
17** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18**
a0856b0d 19** File: netxms-version.h
b900a78b
VK
20**
21**/
22
23#ifndef _netxms_version_h_
24#define _netxms_version_h_
25
bfdba2df
VK
26#include "build.h"
27
534e1b83
VK
28/**
29 * Version constants
30 */
96db5512
VK
31#define NETXMS_VERSION_MAJOR 2
32#define NETXMS_VERSION_MINOR 0
fd52dacc
VK
33#define NETXMS_VERSION_STRING _T("2.0-RC2")
34#define NETXMS_VERSION_STRING_A "2.0-RC2"
5b7b9f00 35
8e17001f
VK
36#ifdef UNICODE
37#define IS_UNICODE_BUILD_STRING _T(" (UNICODE)")
38#else
39#define IS_UNICODE_BUILD_STRING _T(" (NON-UNICODE)")
40#endif
41
534e1b83 42/**
e5390fb5 43 * Current client-server protocol versions
534e1b83 44 */
e5390fb5
VK
45#define CLIENT_PROTOCOL_VERSION_BASE 47 /* Base protocol version - must match for all clients */
46#define CLIENT_PROTOCOL_VERSION_ALARMS 1 /* Alarm management API */
47#define CLIENT_PROTOCOL_VERSION_PUSH 1 /* Data push API */
48#define CLIENT_PROTOCOL_VERSION_TRAP 1 /* Event (trap) sending API */
49#define CLIENT_PROTOCOL_VERSION_MOBILE 1 /* All functionality relevant for mobile client */
b576249a 50#define CLIENT_PROTOCOL_VERSION_FULL 2 /* All functionality */
e5390fb5
VK
51
52/**
53 * Protocol version positions
54 */
55#define CPV_INDEX_BASE 0
56#define CPV_INDEX_ALARMS 1
57#define CPV_INDEX_PUSH 2
58#define CPV_INDEX_TRAP 3
59#define CPV_INDEX_MOBILE 4
60#define CPV_INDEX_FULL 5
5b7b9f00 61
534e1b83
VK
62/**
63 * Current mobile device protocol version
64 */
65#define MOBILE_DEVICE_PROTOCOL_VERSION 1
b900a78b
VK
66
67#endif