change log updated
[public/netxms.git] / include / nxtools.h
CommitLineData
a650732a 1/*
b7a391d7 2** NetXMS - Network Management System
e9bf9011 3** Copyright (C) 2003-2016 Victor Kirhenshtein
b7a391d7
VK
4**
5** This program is free software; you can redistribute it and/or modify
6** it under the terms of the GNU General Public License as published by
7** the Free Software Foundation; either version 2 of the License, or
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**
15** You should have received a copy of the GNU General Public License
16** along with this program; if not, write to the Free Software
17** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18**
f69c6203 19** File: nxtools.h
b7a391d7
VK
20**
21**/
22
23#ifndef _nxtools_h
24#define _nxtools_h
25
e9bf9011
VK
26/**
27 * Tool types
28 */
795ebf32
VK
29#define TOOL_TYPE_INTERNAL 0
30#define TOOL_TYPE_ACTION 1
31#define TOOL_TYPE_TABLE_SNMP 2
32#define TOOL_TYPE_TABLE_AGENT 3
33#define TOOL_TYPE_URL 4
34#define TOOL_TYPE_COMMAND 5
6fa099ea 35#define TOOL_TYPE_SERVER_COMMAND 6
e9bf9011
VK
36#define TOOL_TYPE_FILE_DOWNLOAD 7
37#define TOOL_TYPE_SERVER_SCRIPT 8
795ebf32
VK
38
39
7ac735ef 40/**
41 * Object tool flags
42 */
43#define TF_ASK_CONFIRMATION ((UINT32)0x00000001)
44#define TF_GENERATES_OUTPUT ((UINT32)0x00000002)
45#define TF_DISABLED ((UINT32)0x00000004)
46#define TF_SHOW_IN_COMMANDS ((UINT32)0x00000008)
47#define TF_SNMP_INDEXED_BY_VALUE ((UINT32)0x00000010)
795ebf32 48
795ebf32 49
7ac735ef 50/**
51 * Column formats
52 */
795ebf32
VK
53#define CFMT_STRING 0
54#define CFMT_INTEGER 1
55#define CFMT_FLOAT 2
56#define CFMT_IP_ADDR 3
57#define CFMT_MAC_ADDR 4
7e3ae259 58#define CFMT_IFINDEX 5
b7a391d7
VK
59
60
61#endif