change log updated
[public/netxms.git] / include / nxtools.h
1 /*
2 ** NetXMS - Network Management System
3 ** Copyright (C) 2003-2016 Victor Kirhenshtein
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 **
19 ** File: nxtools.h
20 **
21 **/
22
23 #ifndef _nxtools_h
24 #define _nxtools_h
25
26 /**
27 * Tool types
28 */
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
35 #define TOOL_TYPE_SERVER_COMMAND 6
36 #define TOOL_TYPE_FILE_DOWNLOAD 7
37 #define TOOL_TYPE_SERVER_SCRIPT 8
38
39
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)
48
49
50 /**
51 * Column formats
52 */
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
58 #define CFMT_IFINDEX 5
59
60
61 #endif