function DBDropColumn moved to libnxdb from nxdbmgr
[public/netxms.git] / include / nms_cscp.h
CommitLineData
a650732a 1/*
7ac71e60 2** NetXMS - Network Management System
910ec896 3** Copyright (C) 2003-2015 Victor Kirhenshtein
145f8fd9
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
7** by the Free Software Foundation; either version 3 of the License, or
145f8fd9
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
145f8fd9
VK
16** along with this program; if not, write to the Free Software
17** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18**
cd00d133 19** File: nms_cscp.h
145f8fd9
VK
20**
21**/
22
23#ifndef _nms_cscp_h_
24#define _nms_cscp_h_
25
b1e9b6b3
VK
26/**
27 * Constants
28 */
9674aefa 29#define NXCP_VERSION 4
4bd3d6c5 30
534e1b83
VK
31#define SERVER_LISTEN_PORT_FOR_CLIENTS 4701
32#define SERVER_LISTEN_PORT_FOR_MOBILES 4747
e44ac467 33#define MAX_DCI_STRING_VALUE 256
158803a4 34#define CLIENT_CHALLENGE_SIZE 256
6be0a20b
VK
35#define NXCP_HEADER_SIZE 16
36#define NXCP_ENCRYPTION_HEADER_SIZE 16
37#define NXCP_EH_UNENCRYPTED_BYTES 8
38#define NXCP_EH_ENCRYPTED_BYTES (NXCP_ENCRYPTION_HEADER_SIZE - NXCP_EH_UNENCRYPTED_BYTES)
f1448d17 39#ifdef __64BIT__
98abc9f1 40#define PROXY_ENCRYPTION_CTX ((NXCPEncryptionContext *)_ULL(0xFFFFFFFFFFFFFFFF))
f1448d17 41#else
98abc9f1 42#define PROXY_ENCRYPTION_CTX ((NXCPEncryptionContext *)0xFFFFFFFF)
f1448d17 43#endif
e44ac467 44
9c0619bd
VK
45#ifndef EVP_MAX_IV_LENGTH
46#define EVP_MAX_IV_LENGTH 16
47#endif
48
30639d32
VK
49#define RECORD_ORDER_NORMAL 0
50#define RECORD_ORDER_REVERSED 1
51
43a6f3ca 52#define NXCP_TEMP_BUF_SIZE 65536
e647245b 53
00330bff
VK
54/**
55 * Ciphers
56 */
43a6f3ca
VK
57#define NXCP_CIPHER_AES_256 0
58#define NXCP_CIPHER_BLOWFISH_256 1
59#define NXCP_CIPHER_IDEA 2
60#define NXCP_CIPHER_3DES 3
61#define NXCP_CIPHER_AES_128 4
62#define NXCP_CIPHER_BLOWFISH_128 5
e44ac467 63
43a6f3ca
VK
64#define NXCP_SUPPORT_AES_256 0x01
65#define NXCP_SUPPORT_BLOWFISH_256 0x02
66#define NXCP_SUPPORT_IDEA 0x04
67#define NXCP_SUPPORT_3DES 0x08
68#define NXCP_SUPPORT_AES_128 0x10
69#define NXCP_SUPPORT_BLOWFISH_128 0x20
b04752b5 70
2407e1c4 71#ifdef __HP_aCC
086a0d5b 72#pragma pack 1
2407e1c4
VK
73#else
74#pragma pack(1)
086a0d5b 75#endif
2d2906c0 76
8f238fd7 77/**
712b2760
VK
78 * Message field flags
79 */
80#define NXCP_MFF_SIGNED 0x01
81
82/**
83 * Address family ID for NXCP
84 */
85#define NXCP_AF_INET 0
86#define NXCP_AF_INET6 1
d44496e3 87#define NXCP_AF_UNSPEC 2
712b2760
VK
88
89/**
8f238fd7
VK
90 * NXCP data field structure
91 */
145f8fd9
VK
92typedef struct
93{
b368969c
VK
94 UINT32 fieldId; // Field identifier
95 BYTE type; // Data type
712b2760 96 BYTE flags; // flags (may by type-dependent)
c62d158b 97 UINT16 int16;
145f8fd9
VK
98 union
99 {
b368969c
VK
100 INT32 int32;
101 INT64 int64;
102 UINT32 uint32;
103 UINT64 uint64;
104 double real;
145f8fd9
VK
105 struct
106 {
b368969c 107 UINT32 length;
c62d158b 108 UINT16 value[1]; // actual size depends on length value
145f8fd9 109 } string;
712b2760
VK
110 struct
111 {
de4af576
VK
112 UINT32 length;
113 BYTE value[1]; // actual size depends on length value
114 } binary;
115 struct
116 {
712b2760
VK
117 union
118 {
119 UINT32 v4;
120 BYTE v6[16];
121 } addr;
122 BYTE family;
123 BYTE maskBits;
124 BYTE padding[6];
125 } inetaddr;
145f8fd9 126 } data;
b368969c
VK
127} NXCP_MESSAGE_FIELD;
128
712b2760
VK
129#define df_int16 int16
130#define df_int32 data.int32
131#define df_uint32 data.uint32
132#define df_int64 data.int64
133#define df_uint64 data.uint64
134#define df_real data.real
135#define df_string data.string
de4af576 136#define df_binary data.binary
712b2760 137#define df_inetaddr data.inetaddr
358d83ac 138
00330bff
VK
139/**
140 * Message structure
141 */
145f8fd9
VK
142typedef struct
143{
b368969c
VK
144 UINT16 code; // Message (command) code
145 UINT16 flags; // Message flags
146 UINT32 size; // Message size (including header) in bytes
147 UINT32 id; // Unique message identifier
148 UINT32 numFields; // Number of fields in message
149 NXCP_MESSAGE_FIELD fields[1]; // Data fields - actual length depends on value in numFields
150} NXCP_MESSAGE;
145f8fd9 151
00330bff
VK
152/**
153 * Encrypted payload header
154 */
e44ac467
VK
155typedef struct
156{
967893bb
VK
157 UINT32 dwChecksum;
158 UINT32 dwReserved; // Align to 8-byte boundary
6be0a20b 159} NXCP_ENCRYPTED_PAYLOAD_HEADER;
e44ac467 160
00330bff
VK
161/**
162 * Encrypted message structure
163 */
e44ac467
VK
164typedef struct
165{
b368969c
VK
166 WORD code; // Should be CMD_ENCRYPTED_MESSAGE
167 BYTE padding; // Number of bytes added to the end of message
168 BYTE reserved;
169 UINT32 size; // Size of encrypted message (including encryption header and padding)
e44ac467 170 BYTE data[1]; // Encrypted payload
6be0a20b 171} NXCP_ENCRYPTED_MESSAGE;
e44ac467 172
00330bff
VK
173/**
174 * DCI data header structure
175 */
8df7ba23
VK
176typedef struct
177{
d673f3be
VK
178 UINT32 dciId;
179 UINT32 numRows;
180 UINT32 dataType;
181 UINT32 padding;
8df7ba23
VK
182} DCI_DATA_HEADER;
183
00330bff
VK
184/**
185 * DCI data row structure
186 */
8df7ba23
VK
187typedef struct
188{
d673f3be 189 UINT32 timeStamp;
8df7ba23
VK
190 union
191 {
d673f3be
VK
192 UINT32 int32;
193 UCS2CHAR string[MAX_DCI_STRING_VALUE];
194 struct
195 {
196 UINT32 padding;
197 union
198 {
199 UINT64 int64;
200 double real;
c689bc83
VK
201 } v64;
202 } ext;
8df7ba23
VK
203 } value;
204} DCI_DATA_ROW;
205
910ec896 206#if defined(__HP_aCC)
086a0d5b 207#pragma pack
910ec896
VK
208#elif defined(_AIX) && !defined(__GNUC__)
209#pragma pack(pop)
2407e1c4
VK
210#else
211#pragma pack()
086a0d5b 212#endif
2d2906c0 213
00330bff
VK
214/**
215 * Data types
216 */
b368969c
VK
217#define NXCP_DT_INT32 0
218#define NXCP_DT_STRING 1
219#define NXCP_DT_INT64 2
220#define NXCP_DT_INT16 3
221#define NXCP_DT_BINARY 4
222#define NXCP_DT_FLOAT 5
712b2760 223#define NXCP_DT_INETADDR 6
e9246d26 224
00330bff
VK
225/**
226 * Message flags
227 */
d3a20572
VK
228#define MF_BINARY 0x0001
229#define MF_END_OF_FILE 0x0002
230#define MF_DONT_ENCRYPT 0x0004
231#define MF_END_OF_SEQUENCE 0x0008
232#define MF_REVERSE_ORDER 0x0010
233#define MF_CONTROL 0x0020
234#define MF_COMPRESSED 0x0040
3a1356ab 235#define MF_STREAM 0x0080
a5f8dbb8 236
00330bff
VK
237/**
238 * Message (command) codes
239 */
c733fcc4
VK
240#define CMD_LOGIN 0x0001
241#define CMD_LOGIN_RESP 0x0002
242#define CMD_KEEPALIVE 0x0003
243#define CMD_OPEN_HELPDESK_ISSUE 0x0004
244#define CMD_GET_OBJECTS 0x0005
245#define CMD_OBJECT 0x0006
246#define CMD_DELETE_OBJECT 0x0007
247#define CMD_MODIFY_OBJECT 0x0008
248#define CMD_OBJECT_LIST_END 0x0009
249#define CMD_OBJECT_UPDATE 0x000A
2de8de66 250//unused: #define CMD_GET_EVENTS 0x000B
c733fcc4
VK
251#define CMD_EVENTLOG_RECORDS 0x000C
252#define CMD_GET_CONFIG_VARLIST 0x000D
253#define CMD_SET_CONFIG_VARIABLE 0x000E
254#define CMD_GET_OBJECT_TOOLS 0x000F
255#define CMD_EXECUTE_ACTION 0x0010
256#define CMD_DELETE_CONFIG_VARIABLE 0x0011
257#define CMD_NOTIFY 0x0012
258#define CMD_TRAP 0x0013
259#define CMD_OPEN_EPP 0x0014
260#define CMD_CLOSE_EPP 0x0015
261#define CMD_SAVE_EPP 0x0016
262#define CMD_EPP_RECORD 0x0017
263#define CMD_EVENT_DB_UPDATE 0x0018
264#define CMD_TRAP_CFG_UPDATE 0x0019
265#define CMD_SET_EVENT_INFO 0x001A
266#define CMD_EVENT_DB_RECORD 0x001B
267#define CMD_LOAD_EVENT_DB 0x001C
268#define CMD_REQUEST_COMPLETED 0x001D
269#define CMD_LOAD_USER_DB 0x001E
270#define CMD_USER_DATA 0x001F
271#define CMD_GROUP_DATA 0x0020
272#define CMD_USER_DB_EOF 0x0021
273#define CMD_UPDATE_USER 0x0022
274#define CMD_DELETE_USER 0x0023
275#define CMD_CREATE_USER 0x0024
276#define CMD_LOCK_USER_DB 0x0025
277#define CMD_UNLOCK_USER_DB 0x0026
278#define CMD_USER_DB_UPDATE 0x0027
279#define CMD_SET_PASSWORD 0x0028
280#define CMD_GET_NODE_DCI_LIST 0x0029
281#define CMD_NODE_DCI 0x002A
282#define CMD_GET_LOG_DATA 0x002B
283#define CMD_DELETE_NODE_DCI 0x002C
284#define CMD_MODIFY_NODE_DCI 0x002D
285#define CMD_UNLOCK_NODE_DCI_LIST 0x002E
286#define CMD_SET_OBJECT_MGMT_STATUS 0x002F
287#define CMD_CREATE_NEW_DCI 0x0030
288#define CMD_GET_DCI_DATA 0x0031
289#define CMD_DCI_DATA 0x0032
290#define CMD_GET_MIB_TIMESTAMP 0x0033
291#define CMD_GET_MIB 0x0034
292#define CMD_TEST_DCI_TRANSFORMATION 0x0035
293#define CMD_GET_JOB_LIST 0x0036
294#define CMD_CREATE_OBJECT 0x0037
295#define CMD_GET_EVENT_NAMES 0x0038
296#define CMD_EVENT_NAME_LIST 0x0039
297#define CMD_BIND_OBJECT 0x003A
298#define CMD_UNBIND_OBJECT 0x003B
299#define CMD_UNINSTALL_AGENT_POLICY 0x003C
300#define CMD_OPEN_SERVER_LOG 0x003D
301#define CMD_CLOSE_SERVER_LOG 0x003E
302#define CMD_QUERY_LOG 0x003F
303#define CMD_AUTHENTICATE 0x0040
304#define CMD_GET_PARAMETER 0x0041
305#define CMD_GET_LIST 0x0042
306#define CMD_ACTION 0x0043
307#define CMD_GET_CURRENT_USER_ATTR 0x0044
308#define CMD_SET_CURRENT_USER_ATTR 0x0045
309#define CMD_GET_ALL_ALARMS 0x0046
310#define CMD_GET_ALARM_COMMENTS 0x0047
311#define CMD_ACK_ALARM 0x0048
312#define CMD_ALARM_UPDATE 0x0049
313#define CMD_ALARM_DATA 0x004A
314#define CMD_DELETE_ALARM 0x004B
315#define CMD_ADD_CLUSTER_NODE 0x004C
316#define CMD_GET_POLICY_INVENTORY 0x004D
317#define CMD_LOAD_ACTIONS 0x004E
318#define CMD_ACTION_DB_UPDATE 0x004F
319#define CMD_MODIFY_ACTION 0x0050
320#define CMD_CREATE_ACTION 0x0051
321#define CMD_DELETE_ACTION 0x0052
322#define CMD_ACTION_DATA 0x0053
323#define CMD_SETUP_AGENT_TUNNEL 0x0054
324#define CMD_EXECUTE_LIBRARY_SCRIPT 0x0055
325#define CMD_GET_PREDICTION_ENGINES 0x0056
326#define CMD_GET_PREDICTED_DATA 0x0057
327#define CMD_STOP_SERVER_COMMAND 0x0058
328#define CMD_POLL_NODE 0x0059
329#define CMD_POLLING_INFO 0x005A
330#define CMD_COPY_DCI 0x005B
331#define CMD_WAKEUP_NODE 0x005C
332#define CMD_DELETE_EVENT_TEMPLATE 0x005D
333#define CMD_GENERATE_EVENT_CODE 0x005E
334#define CMD_FIND_NODE_CONNECTION 0x005F
335#define CMD_FIND_MAC_LOCATION 0x0060
336#define CMD_CREATE_TRAP 0x0061
337#define CMD_MODIFY_TRAP 0x0062
338#define CMD_DELETE_TRAP 0x0063
339#define CMD_LOAD_TRAP_CFG 0x0064
340#define CMD_TRAP_CFG_RECORD 0x0065
341#define CMD_QUERY_PARAMETER 0x0066
342#define CMD_GET_SERVER_INFO 0x0067
343#define CMD_SET_DCI_STATUS 0x0068
344#define CMD_FILE_DATA 0x0069
345#define CMD_TRANSFER_FILE 0x006A
346#define CMD_UPGRADE_AGENT 0x006B
347#define CMD_GET_PACKAGE_LIST 0x006C
348#define CMD_PACKAGE_INFO 0x006D
349#define CMD_REMOVE_PACKAGE 0x006E
350#define CMD_INSTALL_PACKAGE 0x006F
351#define CMD_LOCK_PACKAGE_DB 0x0070
352#define CMD_UNLOCK_PACKAGE_DB 0x0071
353#define CMD_ABORT_FILE_TRANSFER 0x0072
354#define CMD_CHECK_NETWORK_SERVICE 0x0073
355#define CMD_GET_AGENT_CONFIG 0x0074
356#define CMD_UPDATE_AGENT_CONFIG 0x0075
357#define CMD_GET_PARAMETER_LIST 0x0076
358#define CMD_DEPLOY_PACKAGE 0x0077
359#define CMD_INSTALLER_INFO 0x0078
360#define CMD_GET_LAST_VALUES 0x0079
361#define CMD_APPLY_TEMPLATE 0x007A
362#define CMD_SET_USER_VARIABLE 0x007B
363#define CMD_GET_USER_VARIABLE 0x007C
364#define CMD_ENUM_USER_VARIABLES 0x007D
365#define CMD_DELETE_USER_VARIABLE 0x007E
366#define CMD_ADM_MESSAGE 0x007F
367#define CMD_ADM_REQUEST 0x0080
368#define CMD_GET_NETWORK_PATH 0x0081
369#define CMD_REQUEST_SESSION_KEY 0x0082
370#define CMD_ENCRYPTED_MESSAGE 0x0083
371#define CMD_SESSION_KEY 0x0084
372#define CMD_REQUEST_ENCRYPTION 0x0085
373#define CMD_GET_ROUTING_TABLE 0x0086
374#define CMD_EXEC_TABLE_TOOL 0x0087
375#define CMD_TABLE_DATA 0x0088
376#define CMD_CANCEL_JOB 0x0089
377#define CMD_CHANGE_SUBSCRIPTION 0x008A
c7aa788e 378#define CMD_SET_CONFIG_TO_DEFAULT 0x008B
c733fcc4
VK
379#define CMD_SYSLOG_RECORDS 0x008C
380#define CMD_JOB_CHANGE_NOTIFICATION 0x008D
381#define CMD_DEPLOY_AGENT_POLICY 0x008E
382#define CMD_LOG_DATA 0x008F
383#define CMD_GET_OBJECT_TOOL_DETAILS 0x0090
384#define CMD_EXECUTE_SERVER_COMMAND 0x0091
385#define CMD_UPLOAD_FILE_TO_AGENT 0x0092
386#define CMD_UPDATE_OBJECT_TOOL 0x0093
387#define CMD_DELETE_OBJECT_TOOL 0x0094
388#define CMD_SETUP_PROXY_CONNECTION 0x0095
389#define CMD_GENERATE_OBJECT_TOOL_ID 0x0096
390#define CMD_GET_SERVER_STATS 0x0097
391#define CMD_GET_SCRIPT_LIST 0x0098
392#define CMD_GET_SCRIPT 0x0099
393#define CMD_UPDATE_SCRIPT 0x009A
394#define CMD_DELETE_SCRIPT 0x009B
395#define CMD_RENAME_SCRIPT 0x009C
396#define CMD_GET_SESSION_LIST 0x009D
397#define CMD_KILL_SESSION 0x009E
2de8de66 398//unused: #define CMD_GET_TRAP_LOG 0x009F
c733fcc4
VK
399#define CMD_TRAP_LOG_RECORDS 0x00A0
400#define CMD_START_SNMP_WALK 0x00A1
401#define CMD_SNMP_WALK_DATA 0x00A2
402#define CMD_GET_MAP_LIST 0x00A3
403#define CMD_LOAD_MAP 0x00A4
404#define CMD_SAVE_MAP 0x00A5
405#define CMD_DELETE_MAP 0x00A6
406#define CMD_RESOLVE_MAP_NAME 0x00A7
407#define CMD_SUBMAP_DATA 0x00A8
408#define CMD_UPLOAD_SUBMAP_BK_IMAGE 0x00A9
409#define CMD_GET_SUBMAP_BK_IMAGE 0x00AA
410#define CMD_GET_MODULE_LIST 0x00AB
411#define CMD_UPDATE_MODULE_INFO 0x00AC
412#define CMD_COPY_USER_VARIABLE 0x00AD
413#define CMD_RESOLVE_DCI_NAMES 0x00AE
414#define CMD_GET_MY_CONFIG 0x00AF
415#define CMD_GET_AGENT_CFG_LIST 0x00B0
416#define CMD_OPEN_AGENT_CONFIG 0x00B1
417#define CMD_SAVE_AGENT_CONFIG 0x00B2
418#define CMD_DELETE_AGENT_CONFIG 0x00B3
419#define CMD_SWAP_AGENT_CONFIGS 0x00B4
420#define CMD_TERMINATE_ALARM 0x00B5
421#define CMD_GET_NXCP_CAPS 0x00B6
422#define CMD_NXCP_CAPS 0x00B7
423#define CMD_GET_OBJECT_COMMENTS 0x00B8
424#define CMD_UPDATE_OBJECT_COMMENTS 0x00B9
425#define CMD_ENABLE_AGENT_TRAPS 0x00BA
426#define CMD_PUSH_DCI_DATA 0x00BB
427#define CMD_GET_ADDR_LIST 0x00BC
428#define CMD_SET_ADDR_LIST 0x00BD
429#define CMD_RESET_COMPONENT 0x00BE
430#define CMD_GET_DCI_EVENTS_LIST 0x00BF
431#define CMD_EXPORT_CONFIGURATION 0x00C0
432#define CMD_IMPORT_CONFIGURATION 0x00C1
433#define CMD_GET_TRAP_CFG_RO 0x00C2
434#define CMD_SNMP_REQUEST 0x00C3
435#define CMD_GET_DCI_INFO 0x00C4
436#define CMD_GET_GRAPH_LIST 0x00C5
437#define CMD_SAVE_GRAPH 0x00C6
438#define CMD_DELETE_GRAPH 0x00C7
439#define CMD_GET_PERFTAB_DCI_LIST 0x00C8
440#define CMD_ADD_CA_CERTIFICATE 0x00C9
441#define CMD_DELETE_CERTIFICATE 0x00CA
442#define CMD_GET_CERT_LIST 0x00CB
443#define CMD_UPDATE_CERT_COMMENTS 0x00CC
444#define CMD_QUERY_L2_TOPOLOGY 0x00CD
445#define CMD_AUDIT_RECORD 0x00CE
446#define CMD_GET_AUDIT_LOG 0x00CF
447#define CMD_SEND_SMS 0x00D0
448#define CMD_GET_COMMUNITY_LIST 0x00D1
449#define CMD_UPDATE_COMMUNITY_LIST 0x00D2
450#define CMD_GET_PERSISTENT_STORAGE 0x00D3
451#define CMD_DELETE_PSTORAGE_VALUE 0x00D4
452#define CMD_SET_PSTORAGE_VALUE 0x00D5
3c463101 453#define CMD_GET_AGENT_TUNNELS 0x00D6
c733fcc4
VK
454#define CMD_BIND_AGENT_TUNNEL 0x00D7
455#define CMD_REQUEST_CERTIFICATE 0x00D8
456#define CMD_NEW_CERTIFICATE 0x00D9
457#define CMD_CREATE_MAP 0x00DA
458#define CMD_UPLOAD_FILE 0x00DB
459#define CMD_DELETE_FILE 0x00DC
460#define CMD_CONFIG_SET_CLOB 0x00E1
461#define CMD_CONFIG_GET_CLOB 0x00E2
462#define CMD_RENAME_MAP 0x00E3
463#define CMD_CLEAR_DCI_DATA 0x00E4
464#define CMD_GET_LICENSE 0x00E5
465#define CMD_CHECK_LICENSE 0x00E6
466#define CMD_RELEASE_LICENSE 0x00E7
467#define CMD_ISC_CONNECT_TO_SERVICE 0x00E8
468#define CMD_REGISTER_AGENT 0x00E9
469#define CMD_GET_SERVER_FILE 0x00EA
470#define CMD_FORWARD_EVENT 0x00EB
471#define CMD_GET_USM_CREDENTIALS 0x00EC
472#define CMD_UPDATE_USM_CREDENTIALS 0x00ED
473#define CMD_GET_DCI_THRESHOLDS 0x00EE
474#define CMD_GET_IMAGE 0x00EF
475#define CMD_CREATE_IMAGE 0x00F0
476#define CMD_DELETE_IMAGE 0x00F1
477#define CMD_MODIFY_IMAGE 0x00F2
478#define CMD_LIST_IMAGES 0x00F3
479#define CMD_LIST_SERVER_FILES 0x00F4
480#define CMD_GET_TABLE 0x00F5
481#define CMD_QUERY_TABLE 0x00F6
482#define CMD_OPEN_CONSOLE 0x00F7
483#define CMD_CLOSE_CONSOLE 0x00F8
484#define CMD_GET_SELECTED_OBJECTS 0x00F9
485#define CMD_GET_VLANS 0x00FA
486#define CMD_HOLD_JOB 0x00FB
487#define CMD_UNHOLD_JOB 0x00FC
488#define CMD_CHANGE_ZONE 0x00FD
489#define CMD_GET_AGENT_FILE 0x00FE
490#define CMD_GET_FILE_DETAILS 0x00FF
491#define CMD_IMAGE_LIBRARY_UPDATE 0x0100
492#define CMD_GET_NODE_COMPONENTS 0x0101
493#define CMD_UPDATE_ALARM_COMMENT 0x0102
494#define CMD_GET_ALARM 0x0103
495#define CMD_GET_TABLE_LAST_VALUES 0x0104
496#define CMD_GET_TABLE_DCI_DATA 0x0105
497#define CMD_GET_THRESHOLD_SUMMARY 0x0106
498#define CMD_RESOLVE_ALARM 0x0107
499#define CMD_FIND_IP_LOCATION 0x0108
500#define CMD_REPORT_DEVICE_STATUS 0x0109
501#define CMD_REPORT_DEVICE_INFO 0x010A
502#define CMD_GET_ALARM_EVENTS 0x010B
503#define CMD_GET_ENUM_LIST 0x010C
504#define CMD_GET_TABLE_LIST 0x010D
505#define CMD_GET_MAPPING_TABLE 0x010E
506#define CMD_UPDATE_MAPPING_TABLE 0x010F
507#define CMD_DELETE_MAPPING_TABLE 0x0110
508#define CMD_LIST_MAPPING_TABLES 0x0111
509#define CMD_GET_NODE_SOFTWARE 0x0112
510#define CMD_GET_WINPERF_OBJECTS 0x0113
511#define CMD_GET_WIRELESS_STATIONS 0x0114
512#define CMD_GET_SUMMARY_TABLES 0x0115
513#define CMD_MODIFY_SUMMARY_TABLE 0x0116
514#define CMD_DELETE_SUMMARY_TABLE 0x0117
515#define CMD_GET_SUMMARY_TABLE_DETAILS 0x0118
516#define CMD_QUERY_SUMMARY_TABLE 0x0119
517#define CMD_SHUTDOWN 0x011A
518#define CMD_SNMP_TRAP 0x011B
519#define CMD_GET_SUBNET_ADDRESS_MAP 0x011C
520#define CMD_FILE_MONITORING 0x011D
521#define CMD_CANCEL_FILE_MONITORING 0x011E
522#define CMD_CHANGE_OBJECT_TOOL_STATUS 0x011F
523#define CMD_SET_ALARM_STATUS_FLOW 0x0120
524#define CMD_DELETE_ALARM_COMMENT 0x0121
525#define CMD_GET_EFFECTIVE_RIGHTS 0x0122
526#define CMD_GET_DCI_VALUES 0x0123
527#define CMD_GET_HELPDESK_URL 0x0124
528#define CMD_UNLINK_HELPDESK_ISSUE 0x0125
529#define CMD_GET_FOLDER_CONTENT 0x0126
530#define CMD_FILEMGR_DELETE_FILE 0x0127
531#define CMD_FILEMGR_RENAME_FILE 0x0128
532#define CMD_FILEMGR_MOVE_FILE 0x0129
533#define CMD_FILEMGR_UPLOAD 0x012A
534#define CMD_GET_SWITCH_FDB 0x012B
535#define CMD_COMMAND_OUTPUT 0x012C
536#define CMD_GET_LOC_HISTORY 0x012D
537#define CMD_TAKE_SCREENSHOT 0x012E
538#define CMD_EXECUTE_SCRIPT 0x012F
539#define CMD_EXECUTE_SCRIPT_UPDATE 0x0130
540#define CMD_FILEMGR_CREATE_FOLDER 0x0131
541#define CMD_QUERY_ADHOC_SUMMARY_TABLE 0x0132
542#define CMD_GRAPH_UPDATE 0x0133
543#define CMD_SET_SERVER_CAPABILITIES 0x0134
544#define CMD_FORCE_DCI_POLL 0x0135
545#define CMD_GET_DCI_SCRIPT_LIST 0x0136
546#define CMD_DATA_COLLECTION_CONFIG 0x0137
547#define CMD_SET_SERVER_ID 0x0138
548#define CMD_GET_PUBLIC_CONFIG_VAR 0x0139
549#define CMD_ENABLE_FILE_UPDATES 0x013A
550#define CMD_DETACH_LDAP_USER 0x013B
551#define CMD_VALIDATE_PASSWORD 0x013C
552#define CMD_COMPILE_SCRIPT 0x013D
553#define CMD_CLEAN_AGENT_DCI_CONF 0x013E
554#define CMD_RESYNC_AGENT_DCI_CONF 0x013F
555#define CMD_LIST_SCHEDULE_CALLBACKS 0x0140
556#define CMD_LIST_SCHEDULES 0x0141
557#define CMD_ADD_SCHEDULE 0x0142
558#define CMD_UPDATE_SCHEDULE 0x0143
559#define CMD_REMOVE_SCHEDULE 0x0144
560#define CMD_ENTER_MAINT_MODE 0x0145
561#define CMD_LEAVE_MAINT_MODE 0x0146
562#define CMD_JOIN_CLUSTER 0x0147
563#define CMD_CLUSTER_NOTIFY 0x0148
564#define CMD_ZMQ_SUBSCRIBE_EVENT 0x0149
565#define CMD_ZMQ_UNSUBSCRIBE_EVENT 0x014A
566#define CMD_ZMQ_SUBSCRIBE_DATA 0x014B
567#define CMD_ZMQ_UNSUBSCRIBE_DATA 0x014C
568#define CMD_ZMQ_GET_EVT_SUBSCRIPTIONS 0x014D
569#define CMD_ZMQ_GET_DATA_SUBSCRIPTIONS 0x014E
570#define CMD_GET_REPOSITORIES 0x014F
571#define CMD_ADD_REPOSITORY 0x0150
572#define CMD_MODIFY_REPOSITORY 0x0151
573#define CMD_DELETE_REPOSITORY 0x0152
574#define CMD_GET_ALARM_CATEGORIES 0x0153
575#define CMD_MODIFY_ALARM_CATEGORY 0x0154
576#define CMD_DELETE_ALARM_CATEGORY 0x0155
577#define CMD_ALARM_CATEGORY_UPDATE 0x0156
578#define CMD_BULK_TERMINATE_ALARMS 0x0157
579#define CMD_BULK_RESOLVE_ALARMS 0x0158
580#define CMD_BULK_ALARM_STATE_CHANGE 0x0159
581#define CMD_GET_FOLDER_SIZE 0x015A
582#define CMD_FIND_HOSTNAME_LOCATION 0x015B
583#define CMD_RESET_TUNNEL 0x015C
584#define CMD_CREATE_CHANNEL 0x015D
585#define CMD_CHANNEL_DATA 0x015E
586#define CMD_CLOSE_CHANNEL 0x015F
587#define CMD_CREATE_OBJECT_ACCESS_SNAPSHOT 0x0160
588#define CMD_UNBIND_AGENT_TUNNEL 0x0161
4ef60905 589
bc7767c4
VK
590#define CMD_RS_LIST_REPORTS 0x1100
591#define CMD_RS_GET_REPORT 0x1101
592#define CMD_RS_SCHEDULE_EXECUTION 0x1102
593#define CMD_RS_LIST_RESULTS 0x1103
29bb6817 594#define CMD_RS_RENDER_RESULT 0x1104
bc7767c4 595#define CMD_RS_DELETE_RESULT 0x1105
96fb011c
VK
596#define CMD_RS_LIST_SCHEDULES 0x1106
597#define CMD_RS_DELETE_SCHEDULE 0x1107
598#define CMD_RS_NOTIFY 0x1108
599#define CMD_RS_ADD_REPORT_NOTIFY 0x1109
bc7767c4 600
00330bff
VK
601/**
602 * Variable identifiers
603 */
967893bb
VK
604#define VID_LOGIN_NAME ((UINT32)1)
605#define VID_PASSWORD ((UINT32)2)
606#define VID_OBJECT_ID ((UINT32)3)
607#define VID_OBJECT_NAME ((UINT32)4)
608#define VID_OBJECT_CLASS ((UINT32)5)
609#define VID_SNMP_VERSION ((UINT32)6)
610#define VID_PARENT_CNT ((UINT32)7)
611#define VID_IP_ADDRESS ((UINT32)8)
612#define VID_IP_NETMASK ((UINT32)9)
613#define VID_OBJECT_STATUS ((UINT32)10)
614#define VID_IF_INDEX ((UINT32)11)
615#define VID_IF_TYPE ((UINT32)12)
616#define VID_FLAGS ((UINT32)13)
617#define VID_CREATION_FLAGS ((UINT32)14)
618#define VID_AGENT_PORT ((UINT32)15)
619#define VID_AUTH_METHOD ((UINT32)16)
620#define VID_SHARED_SECRET ((UINT32)17)
621#define VID_SNMP_AUTH_OBJECT ((UINT32)18)
622#define VID_SNMP_OID ((UINT32)19)
623#define VID_NAME ((UINT32)20)
624#define VID_VALUE ((UINT32)21)
625#define VID_PEER_GATEWAY ((UINT32)22)
626#define VID_NOTIFICATION_CODE ((UINT32)23)
627#define VID_EVENT_CODE ((UINT32)24)
628#define VID_SEVERITY ((UINT32)25)
629#define VID_MESSAGE ((UINT32)26)
630#define VID_DESCRIPTION ((UINT32)27)
631#define VID_RCC ((UINT32)28) /* RCC == Request Completion Code */
632#define VID_LOCKED_BY ((UINT32)29)
633#define VID_IS_DELETED ((UINT32)30)
634#define VID_CHILD_CNT ((UINT32)31)
635#define VID_ACL_SIZE ((UINT32)32)
636#define VID_INHERIT_RIGHTS ((UINT32)33)
637#define VID_USER_NAME ((UINT32)34)
638#define VID_USER_ID ((UINT32)35)
639#define VID_USER_SYS_RIGHTS ((UINT32)36)
640#define VID_USER_FLAGS ((UINT32)37)
641#define VID_NUM_MEMBERS ((UINT32)38) /* Number of members in users group */
642#define VID_IS_GROUP ((UINT32)39)
643#define VID_USER_FULL_NAME ((UINT32)40)
644#define VID_USER_DESCRIPTION ((UINT32)41)
645#define VID_UPDATE_TYPE ((UINT32)42)
646#define VID_DCI_ID ((UINT32)43)
647#define VID_POLLING_INTERVAL ((UINT32)44)
648#define VID_RETENTION_TIME ((UINT32)45)
649#define VID_DCI_SOURCE_TYPE ((UINT32)46)
650#define VID_DCI_DATA_TYPE ((UINT32)47)
651#define VID_DCI_STATUS ((UINT32)48)
652#define VID_MGMT_STATUS ((UINT32)49)
653#define VID_MAX_ROWS ((UINT32)50)
654#define VID_TIME_FROM ((UINT32)51)
655#define VID_TIME_TO ((UINT32)52)
656#define VID_DCI_DATA ((UINT32)53)
657#define VID_NUM_THRESHOLDS ((UINT32)54)
658#define VID_DCI_NUM_MAPS ((UINT32)55)
659#define VID_DCI_MAP_IDS ((UINT32)56)
660#define VID_DCI_MAP_INDEXES ((UINT32)57)
661#define VID_NUM_MIBS ((UINT32)58)
662#define VID_MIB_NAME ((UINT32)59)
663#define VID_MIB_FILE_SIZE ((UINT32)60)
664#define VID_MIB_FILE ((UINT32)61)
665#define VID_PROPERTIES ((UINT32)62)
666#define VID_ALARM_SEVERITY ((UINT32)63)
667#define VID_ALARM_KEY ((UINT32)64)
668#define VID_ALARM_TIMEOUT ((UINT32)65)
669#define VID_ALARM_MESSAGE ((UINT32)66)
670#define VID_RULE_ID ((UINT32)67)
671#define VID_NUM_SOURCES ((UINT32)68)
672#define VID_NUM_EVENTS ((UINT32)69)
673#define VID_NUM_ACTIONS ((UINT32)70)
674#define VID_RULE_SOURCES ((UINT32)71)
675#define VID_RULE_EVENTS ((UINT32)72)
676#define VID_RULE_ACTIONS ((UINT32)73)
677#define VID_NUM_RULES ((UINT32)74)
678#define VID_CATEGORY ((UINT32)75)
679#define VID_UPDATED_CHILD_LIST ((UINT32)76)
680#define VID_EVENT_NAME_TABLE ((UINT32)77)
681#define VID_PARENT_ID ((UINT32)78)
682#define VID_CHILD_ID ((UINT32)79)
683#define VID_SNMP_PORT ((UINT32)80)
684#define VID_CONFIG_FILE_DATA ((UINT32)81)
685#define VID_COMMENTS ((UINT32)82)
686#define VID_POLICY_ID ((UINT32)83)
687#define VID_SNMP_USM_METHODS ((UINT32)84)
688#define VID_PARAMETER ((UINT32)85)
689#define VID_NUM_STRINGS ((UINT32)86)
690#define VID_ACTION_NAME ((UINT32)87)
691#define VID_NUM_ARGS ((UINT32)88)
692#define VID_SNMP_AUTH_PASSWORD ((UINT32)89)
693#define VID_CLASS_ID_LIST ((UINT32)90)
694#define VID_SNMP_PRIV_PASSWORD ((UINT32)91)
695#define VID_NOTIFICATION_DATA ((UINT32)92)
696#define VID_ALARM_ID ((UINT32)93)
697#define VID_TIMESTAMP ((UINT32)94)
698#define VID_ACK_BY_USER ((UINT32)95)
699#define VID_IS_ACK ((UINT32)96)
700#define VID_ACTION_ID ((UINT32)97)
701#define VID_IS_DISABLED ((UINT32)98)
702#define VID_ACTION_TYPE ((UINT32)99)
703#define VID_ACTION_DATA ((UINT32)100)
704#define VID_EMAIL_SUBJECT ((UINT32)101)
705#define VID_RCPT_ADDR ((UINT32)102)
288a0046 706#define VID_NPE_NAME ((UINT32)103)
967893bb
VK
707#define VID_CATEGORY_ID ((UINT32)104)
708#define VID_DCI_DELTA_CALCULATION ((UINT32)105)
709#define VID_TRANSFORMATION_SCRIPT ((UINT32)106)
710#define VID_POLL_TYPE ((UINT32)107)
711#define VID_POLLER_MESSAGE ((UINT32)108)
712#define VID_SOURCE_OBJECT_ID ((UINT32)109)
713#define VID_DESTINATION_OBJECT_ID ((UINT32)110)
714#define VID_NUM_ITEMS ((UINT32)111)
715#define VID_ITEM_LIST ((UINT32)112)
716#define VID_MAC_ADDR ((UINT32)113)
717#define VID_TEMPLATE_VERSION ((UINT32)114)
718#define VID_NODE_TYPE ((UINT32)115)
719#define VID_INSTANCE ((UINT32)116)
720#define VID_TRAP_ID ((UINT32)117)
721#define VID_TRAP_OID ((UINT32)118)
722#define VID_TRAP_OID_LEN ((UINT32)119)
723#define VID_TRAP_NUM_MAPS ((UINT32)120)
724#define VID_SERVER_VERSION ((UINT32)121)
725#define VID_SUPPORTED_ENCRYPTION ((UINT32)122)
726#define VID_EVENT_ID ((UINT32)123)
727#define VID_AGENT_VERSION ((UINT32)124)
728#define VID_FILE_NAME ((UINT32)125)
729#define VID_PACKAGE_ID ((UINT32)126)
730#define VID_PACKAGE_VERSION ((UINT32)127)
731#define VID_PLATFORM_NAME ((UINT32)128)
732#define VID_PACKAGE_NAME ((UINT32)129)
733#define VID_SERVICE_TYPE ((UINT32)130)
734#define VID_IP_PROTO ((UINT32)131)
735#define VID_IP_PORT ((UINT32)132)
736#define VID_SERVICE_REQUEST ((UINT32)133)
737#define VID_SERVICE_RESPONSE ((UINT32)134)
738#define VID_POLLER_NODE_ID ((UINT32)135)
739#define VID_SERVICE_STATUS ((UINT32)136)
740#define VID_NUM_PARAMETERS ((UINT32)137)
741#define VID_NUM_OBJECTS ((UINT32)138)
742#define VID_OBJECT_LIST ((UINT32)139)
743#define VID_DEPLOYMENT_STATUS ((UINT32)140)
744#define VID_ERROR_MESSAGE ((UINT32)141)
745#define VID_SERVER_ID ((UINT32)142)
746#define VID_SEARCH_PATTERN ((UINT32)143)
747#define VID_NUM_VARIABLES ((UINT32)144)
748#define VID_COMMAND ((UINT32)145)
749#define VID_PROTOCOL_VERSION ((UINT32)146)
750#define VID_ZONE_ID ((UINT32)147)
751#define VID_ZONING_ENABLED ((UINT32)148)
752#define VID_ICMP_PROXY ((UINT32)149)
40c8f341 753#define VID_IP_ADDRESS_COUNT ((UINT32)150)
ea3993c8 754#define VID_ENABLED ((UINT32)151)
967893bb
VK
755#define VID_REMOVE_DCI ((UINT32)152)
756#define VID_TEMPLATE_ID ((UINT32)153)
757#define VID_PUBLIC_KEY ((UINT32)154)
758#define VID_SESSION_KEY ((UINT32)155)
759#define VID_CIPHER ((UINT32)156)
760#define VID_KEY_LENGTH ((UINT32)157)
761#define VID_SESSION_IV ((UINT32)158)
762#define VID_CONFIG_FILE ((UINT32)159)
763#define VID_STATUS_CALCULATION_ALG ((UINT32)160)
764#define VID_NUM_LOCAL_NETS ((UINT32)161)
765#define VID_NUM_REMOTE_NETS ((UINT32)162)
766#define VID_APPLY_FLAG ((UINT32)163)
767#define VID_NUM_TOOLS ((UINT32)164)
768#define VID_TOOL_ID ((UINT32)165)
769#define VID_NUM_COLUMNS ((UINT32)166)
770#define VID_NUM_ROWS ((UINT32)167)
771#define VID_TABLE_TITLE ((UINT32)168)
772#define VID_EVENT_NAME ((UINT32)169)
773#define VID_CLIENT_TYPE ((UINT32)170)
774#define VID_LOG_NAME ((UINT32)171)
775#define VID_OPERATION ((UINT32)172)
776#define VID_MAX_RECORDS ((UINT32)173)
777#define VID_NUM_RECORDS ((UINT32)174)
778#define VID_CLIENT_INFO ((UINT32)175)
779#define VID_OS_INFO ((UINT32)176)
780#define VID_LIBNXCL_VERSION ((UINT32)177)
781#define VID_VERSION ((UINT32)178)
782#define VID_NUM_NODES ((UINT32)179)
783#define VID_LOG_FILE ((UINT32)180)
784#define VID_HOP_COUNT ((UINT32)181)
785#define VID_NUM_SCHEDULES ((UINT32)182)
786#define VID_STATUS_PROPAGATION_ALG ((UINT32)183)
787#define VID_FIXED_STATUS ((UINT32)184)
788#define VID_STATUS_SHIFT ((UINT32)185)
789#define VID_STATUS_TRANSLATION_1 ((UINT32)186)
790#define VID_STATUS_TRANSLATION_2 ((UINT32)187)
791#define VID_STATUS_TRANSLATION_3 ((UINT32)188)
792#define VID_STATUS_TRANSLATION_4 ((UINT32)189)
793#define VID_STATUS_SINGLE_THRESHOLD ((UINT32)190)
794#define VID_STATUS_THRESHOLD_1 ((UINT32)191)
795#define VID_STATUS_THRESHOLD_2 ((UINT32)192)
796#define VID_STATUS_THRESHOLD_3 ((UINT32)193)
797#define VID_STATUS_THRESHOLD_4 ((UINT32)194)
798#define VID_AGENT_PROXY ((UINT32)195)
799#define VID_TOOL_TYPE ((UINT32)196)
800#define VID_TOOL_DATA ((UINT32)197)
801#define VID_ACL ((UINT32)198)
4b70cb26 802#define VID_TOOL_FILTER ((UINT32)199)
967893bb
VK
803#define VID_SERVER_UPTIME ((UINT32)200)
804#define VID_NUM_ALARMS ((UINT32)201)
805#define VID_ALARMS_BY_SEVERITY ((UINT32)202)
806#define VID_NETXMSD_PROCESS_WKSET ((UINT32)203)
807#define VID_NETXMSD_PROCESS_VMSIZE ((UINT32)204)
808#define VID_NUM_SESSIONS ((UINT32)205)
809#define VID_NUM_SCRIPTS ((UINT32)206)
810#define VID_SCRIPT_ID ((UINT32)207)
811#define VID_SCRIPT_CODE ((UINT32)208)
812#define VID_SESSION_ID ((UINT32)209)
813#define VID_RECORDS_ORDER ((UINT32)210)
814#define VID_NUM_SUBMAPS ((UINT32)211)
815#define VID_SUBMAP_LIST ((UINT32)212)
816#define VID_SUBMAP_ATTR ((UINT32)213)
817#define VID_NUM_LINKS ((UINT32)214)
818#define VID_LINK_LIST ((UINT32)215)
819#define VID_MAP_ID ((UINT32)216)
820#define VID_NUM_MAPS ((UINT32)217)
821#define VID_NUM_MODULES ((UINT32)218)
822#define VID_DST_USER_ID ((UINT32)219)
823#define VID_MOVE_FLAG ((UINT32)220)
824#define VID_CHANGE_PASSWD_FLAG ((UINT32)221)
825#define VID_GUID ((UINT32)222)
826#define VID_ACTIVATION_EVENT ((UINT32)223)
827#define VID_DEACTIVATION_EVENT ((UINT32)224)
828#define VID_SOURCE_OBJECT ((UINT32)225)
829#define VID_ACTIVE_STATUS ((UINT32)226)
830#define VID_INACTIVE_STATUS ((UINT32)227)
831#define VID_SCRIPT ((UINT32)228)
832#define VID_NODE_LIST ((UINT32)229)
833#define VID_DCI_LIST ((UINT32)230)
834#define VID_CONFIG_ID ((UINT32)231)
835#define VID_FILTER ((UINT32)232)
836#define VID_SEQUENCE_NUMBER ((UINT32)233)
837#define VID_VERSION_MAJOR ((UINT32)234)
838#define VID_VERSION_MINOR ((UINT32)235)
839#define VID_VERSION_RELEASE ((UINT32)236)
840#define VID_CONFIG_ID_2 ((UINT32)237)
841#define VID_IV_LENGTH ((UINT32)238)
842#define VID_DBCONN_STATUS ((UINT32)239)
843#define VID_CREATION_TIME ((UINT32)240)
844#define VID_LAST_CHANGE_TIME ((UINT32)241)
845#define VID_TERMINATED_BY_USER ((UINT32)242)
846#define VID_STATE ((UINT32)243)
847#define VID_CURRENT_SEVERITY ((UINT32)244)
848#define VID_ORIGINAL_SEVERITY ((UINT32)245)
849#define VID_HELPDESK_STATE ((UINT32)246)
850#define VID_HELPDESK_REF ((UINT32)247)
851#define VID_REPEAT_COUNT ((UINT32)248)
852#define VID_SNMP_RAW_VALUE_TYPE ((UINT32)249)
853#define VID_CONFIRMATION_TEXT ((UINT32)250)
854#define VID_FAILED_DCI_INDEX ((UINT32)251)
855#define VID_ADDR_LIST_TYPE ((UINT32)252)
856#define VID_COMPONENT_ID ((UINT32)253)
857#define VID_SYNC_COMMENTS ((UINT32)254)
858#define VID_EVENT_LIST ((UINT32)255)
859#define VID_NUM_TRAPS ((UINT32)256)
860#define VID_TRAP_LIST ((UINT32)257)
861#define VID_NXMP_CONTENT ((UINT32)258)
862#define VID_ERROR_TEXT ((UINT32)259)
863#define VID_COMPONENT ((UINT32)260)
864#define VID_CONSOLE_UPGRADE_URL ((UINT32)261)
865#define VID_CLUSTER_TYPE ((UINT32)262)
866#define VID_NUM_SYNC_SUBNETS ((UINT32)263)
867#define VID_SYNC_SUBNETS ((UINT32)264)
868#define VID_NUM_RESOURCES ((UINT32)265)
869#define VID_RESOURCE_ID ((UINT32)266)
870#define VID_SNMP_PROXY ((UINT32)267)
871#define VID_PORT ((UINT32)268)
872#define VID_PDU ((UINT32)269)
873#define VID_PDU_SIZE ((UINT32)270)
874#define VID_IS_SYSTEM ((UINT32)271)
875#define VID_GRAPH_CONFIG ((UINT32)272)
876#define VID_NUM_GRAPHS ((UINT32)273)
877#define VID_GRAPH_ID ((UINT32)274)
878#define VID_AUTH_TYPE ((UINT32)275)
879#define VID_CERTIFICATE ((UINT32)276)
880#define VID_SIGNATURE ((UINT32)277)
881#define VID_CHALLENGE ((UINT32)278)
882#define VID_CERT_MAPPING_METHOD ((UINT32)279)
883#define VID_CERT_MAPPING_DATA ((UINT32)280)
884#define VID_CERTIFICATE_ID ((UINT32)281)
885#define VID_NUM_CERTIFICATES ((UINT32)282)
886#define VID_ALARM_TIMEOUT_EVENT ((UINT32)283)
887#define VID_NUM_GROUPS ((UINT32)284)
888#define VID_QSIZE_CONDITION_POLLER ((UINT32)285)
889#define VID_QSIZE_CONF_POLLER ((UINT32)286)
890#define VID_QSIZE_DCI_POLLER ((UINT32)287)
891#define VID_QSIZE_DBWRITER ((UINT32)288)
892#define VID_QSIZE_EVENT ((UINT32)289)
893#define VID_QSIZE_DISCOVERY ((UINT32)290)
894#define VID_QSIZE_NODE_POLLER ((UINT32)291)
895#define VID_QSIZE_ROUTE_POLLER ((UINT32)292)
896#define VID_QSIZE_STATUS_POLLER ((UINT32)293)
897#define VID_SYNTHETIC_MASK ((UINT32)294)
898#define VID_SUBSYSTEM ((UINT32)295)
899#define VID_SUCCESS_AUDIT ((UINT32)296)
900#define VID_WORKSTATION ((UINT32)297)
901#define VID_USER_TAG ((UINT32)298)
902#define VID_REQUIRED_POLLS ((UINT32)299)
903#define VID_SYS_DESCRIPTION ((UINT32)300)
00420032 904#define VID_PSTORAGE_KEY ((UINT32)301)
905#define VID_PSTORAGE_VALUE ((UINT32)302)
906#define VID_NUM_DELETE_PSTORAGE ((UINT32)303)
967893bb 907#define VID_INSTANCE_COUNT ((UINT32)304)
00420032 908#define VID_NUM_SET_PSTORAGE ((UINT32)305)
967893bb
VK
909#define VID_NUM_TRUSTED_NODES ((UINT32)306)
910#define VID_TRUSTED_NODES ((UINT32)307)
911#define VID_TIMEZONE ((UINT32)308)
912#define VID_NUM_CUSTOM_ATTRIBUTES ((UINT32)309)
913#define VID_MAP_DATA ((UINT32)310)
914#define VID_PRODUCT_ID ((UINT32)311)
915#define VID_CLIENT_ID ((UINT32)312)
916#define VID_LICENSE_DATA ((UINT32)313)
917#define VID_TOKEN ((UINT32)314)
918#define VID_SERVICE_ID ((UINT32)315)
919#define VID_TOKEN_SOFTLIMIT ((UINT32)316)
920#define VID_TOKEN_HARDLIMIT ((UINT32)317)
921#define VID_USE_IFXTABLE ((UINT32)318)
922#define VID_USE_X509_KEY_FORMAT ((UINT32)319)
923#define VID_STICKY_FLAG ((UINT32)320)
924#define VID_AUTOBIND_FILTER ((UINT32)321)
925#define VID_BASE_UNITS ((UINT32)322)
926#define VID_MULTIPLIER ((UINT32)323)
927#define VID_CUSTOM_UNITS_NAME ((UINT32)324)
928#define VID_PERFTAB_SETTINGS ((UINT32)325)
929#define VID_EXECUTION_STATUS ((UINT32)326)
930#define VID_EXECUTION_RESULT ((UINT32)327)
931#define VID_TABLE_NUM_ROWS ((UINT32)328)
932#define VID_TABLE_NUM_COLS ((UINT32)329)
933#define VID_JOB_COUNT ((UINT32)330)
934#define VID_JOB_ID ((UINT32)331)
935#define VID_JOB_TYPE ((UINT32)332)
936#define VID_JOB_STATUS ((UINT32)333)
937#define VID_JOB_PROGRESS ((UINT32)334)
938#define VID_FAILURE_MESSAGE ((UINT32)335)
939#define VID_POLICY_TYPE ((UINT32)336)
940#define VID_FIELDS ((UINT32)337)
941#define VID_LOG_HANDLE ((UINT32)338)
942#define VID_START_ROW ((UINT32)339)
943#define VID_TABLE_OFFSET ((UINT32)340)
944#define VID_NUM_FILTERS ((UINT32)341)
945#define VID_GEOLOCATION_TYPE ((UINT32)342)
946#define VID_LATITUDE ((UINT32)343)
947#define VID_LONGITUDE ((UINT32)344)
948#define VID_NUM_ORDERING_COLUMNS ((UINT32)345)
949#define VID_SYSTEM_TAG ((UINT32)346)
950#define VID_NUM_ENUMS ((UINT32)347)
a650732a 951#define VID_NUM_PUSH_PARAMETERS ((UINT32)348)
967893bb
VK
952#define VID_OLD_PASSWORD ((UINT32)349)
953#define VID_MIN_PASSWORD_LENGTH ((UINT32)350)
954#define VID_LAST_LOGIN ((UINT32)351)
955#define VID_LAST_PASSWORD_CHANGE ((UINT32)352)
956#define VID_DISABLED_UNTIL ((UINT32)353)
957#define VID_AUTH_FAILURES ((UINT32)354)
958#define VID_RUNTIME_FLAGS ((UINT32)355)
959#define VID_FILE_SIZE ((UINT32)356)
960#define VID_MAP_TYPE ((UINT32)357)
961#define VID_LAYOUT ((UINT32)358)
3e883888 962#define VID_SEED_OBJECTS ((UINT32)359)
967893bb
VK
963#define VID_BACKGROUND ((UINT32)360)
964#define VID_NUM_ELEMENTS ((UINT32)361)
965#define VID_INTERFACE_ID ((UINT32)362)
966#define VID_LOCAL_INTERFACE_ID ((UINT32)363)
967#define VID_LOCAL_NODE_ID ((UINT32)364)
968#define VID_SYS_NAME ((UINT32)365)
969#define VID_LLDP_NODE_ID ((UINT32)366)
970#define VID_IF_SLOT ((UINT32)367)
971#define VID_IF_PORT ((UINT32)368)
972#define VID_IMAGE_DATA ((UINT32)369)
973#define VID_IMAGE_PROTECTED ((UINT32)370)
974#define VID_NUM_IMAGES ((UINT32)371)
975#define VID_IMAGE_MIMETYPE ((UINT32)372)
976#define VID_PEER_NODE_ID ((UINT32)373)
977#define VID_PEER_INTERFACE_ID ((UINT32)374)
978#define VID_VRRP_VERSION ((UINT32)375)
979#define VID_VRRP_VR_COUNT ((UINT32)376)
980#define VID_DESTINATION_FILE_NAME ((UINT32)377)
981#define VID_NUM_TABLES ((UINT32)378)
982#define VID_IMAGE ((UINT32)379)
983#define VID_DRIVER_NAME ((UINT32)380)
984#define VID_DRIVER_VERSION ((UINT32)381)
985#define VID_NUM_VLANS ((UINT32)382)
986#define VID_CREATE_JOB_ON_HOLD ((UINT32)383)
987#define VID_TILE_SERVER_URL ((UINT32)384)
988#define VID_BACKGROUND_LATITUDE ((UINT32)385)
989#define VID_BACKGROUND_LONGITUDE ((UINT32)386)
990#define VID_BACKGROUND_ZOOM ((UINT32)387)
991#define VID_BRIDGE_BASE_ADDRESS ((UINT32)388)
10d79457 992#define VID_DRILL_DOWN_OBJECT_ID ((UINT32)389)
967893bb
VK
993#define VID_REPORT_DEFINITION ((UINT32)390)
994#define VID_SLMCHECK_TYPE ((UINT32)391)
995#define VID_REASON ((UINT32)392)
996#define VID_NODE_ID ((UINT32)393)
997#define VID_UPTIME_DAY ((UINT32)394)
998#define VID_UPTIME_WEEK ((UINT32)395)
999#define VID_UPTIME_MONTH ((UINT32)396)
1000#define VID_PRIMARY_NAME ((UINT32)397)
1001#define VID_NUM_RESULTS ((UINT32)398)
1002#define VID_RESULT_ID_LIST ((UINT32)399)
1003#define VID_RENDER_FORMAT ((UINT32)400)
1004#define VID_FILE_OFFSET ((UINT32)401)
1005#define VID_IS_TEMPLATE ((UINT32)402)
1006#define VID_DOT1X_PAE_STATE ((UINT32)403)
1007#define VID_DOT1X_BACKEND_STATE ((UINT32)404)
1008#define VID_IS_COMPLETE ((UINT32)405)
c8f93990 1009#define VID_MODIFICATION_TIME ((UINT32)406)
967893bb
VK
1010#define VID_IS_PHYS_PORT ((UINT32)407)
1011#define VID_CREATE_STATUS_DCI ((UINT32)408)
1012#define VID_NUM_COMMENTS ((UINT32)409)
4644eee7 1013#define VID_COMMENT_ID ((UINT32)410)
967893bb
VK
1014#define VID_DCOBJECT_TYPE ((UINT32)411)
1015#define VID_INSTANCE_COLUMN ((UINT32)412)
1016#define VID_DATA_COLUMN ((UINT32)413)
1017#define VID_ADMIN_STATE ((UINT32)414)
1018#define VID_OPER_STATE ((UINT32)415)
1019#define VID_EXPECTED_STATE ((UINT32)416)
1020#define VID_LINK_COLOR ((UINT32)417)
75ebb063 1021#define VID_CONNECTION_TYPE ((UINT32)418)
967893bb
VK
1022#define VID_RESOLVED_BY_USER ((UINT32)419)
1023#define VID_IS_STICKY ((UINT32)420)
1024#define VID_DATE_FORMAT ((UINT32)421)
1025#define VID_TIME_FORMAT ((UINT32)422)
1026#define VID_LINK_ROUTING ((UINT32)423)
1027#define VID_BACKGROUND_COLOR ((UINT32)424)
1028#define VID_FORCE_RELOAD ((UINT32)425)
1029#define VID_DISCOVERY_RADIUS ((UINT32)426)
1030#define VID_BATTERY_LEVEL ((UINT32)427)
1031#define VID_VENDOR ((UINT32)428)
1032#define VID_MODEL ((UINT32)429)
1033#define VID_OS_NAME ((UINT32)430)
1034#define VID_OS_VERSION ((UINT32)431)
1035#define VID_SERIAL_NUMBER ((UINT32)432)
1036#define VID_DEVICE_ID ((UINT32)433)
1037#define VID_MAPPING_TABLE_ID ((UINT32)434)
1038#define VID_INSTD_METHOD ((UINT32)435)
1039#define VID_INSTD_DATA ((UINT32)436)
1040#define VID_INSTD_FILTER ((UINT32)437)
1041#define VID_ACCURACY ((UINT32)438)
1042#define VID_GEOLOCATION_TIMESTAMP ((UINT32)439)
1043#define VID_SAMPLE_COUNT ((UINT32)440)
1044#define VID_HEIGHT ((UINT32)441)
1045#define VID_RADIO_COUNT ((UINT32)442)
1046#define VID_OBJECT_TOOLTIP_ONLY ((UINT32)443)
1047#define VID_SUMMARY_TABLE_ID ((UINT32)444)
1048#define VID_MENU_PATH ((UINT32)445)
1049#define VID_COLUMNS ((UINT32)446)
1050#define VID_TITLE ((UINT32)447)
c39f1cc6
AK
1051#define VID_DAY_OF_WEEK ((UINT32)448)
1052#define VID_DAY_OF_MONTH ((UINT32)449)
c9630390
VK
1053#define VID_LOCALE ((UINT32)450)
1054#define VID_READ_ONLY ((UINT32)451)
91f6b72c 1055#define VID_CLIENT_ADDRESS ((UINT32)452)
bc969eaf 1056#define VID_SHORT_TIME_FORMAT ((UINT32)453)
71e4ed3a 1057#define VID_BOOT_TIME ((UINT32)454)
42a3be4f 1058#define VID_REQUEST_ID ((UINT32)455)
ceb0fc8d 1059#define VID_ADDRESS_MAP ((UINT32)456)
244c65ef 1060#define VID_XMPP_ID ((UINT32)457)
9fa031cd 1061#define VID_FILE_SIZE_LIMIT ((UINT32)458)
1062#define VID_FILE_FOLLOW ((UINT32)459)
1063#define VID_FILE_DATA ((UINT32)460)
fce4295c 1064#define VID_ALARM_STATUS_FLOW_STATE ((UINT32)461)
10e1e9b5 1065#define VID_GROUPS ((UINT32)462)
d39de9a8 1066#define VID_EFFECTIVE_RIGHTS ((UINT32)463)
810bd8c4 1067#define VID_EXTENSION_COUNT ((UINT32)464)
d87576c8 1068#define VID_TIMED_ALARM_ACK_ENABLED ((UINT32)465)
ea5b85ec
VK
1069#define VID_TABLE_EXTENDED_FORMAT ((UINT32)466)
1070#define VID_RS_JOB_ID ((UINT32)467)
1071#define VID_RS_JOB_TYPE ((UINT32)468)
0570bf9d 1072#define VID_RS_REPORT_NAME ((UINT32)469)
d41268ba 1073#define VID_HELPDESK_LINK_ACTIVE ((UINT32)470)
6cedeb69 1074#define VID_URL ((UINT32)471)
32745683 1075#define VID_PEER_PROTOCOL ((UINT32)472)
8deadd79 1076#define VID_VIEW_REFRESH_INTERVAL ((UINT32)473)
ac14e3e6 1077#define VID_COMMAND_NAME ((UINT32)474)
d4ce93a2 1078#define VID_COMMAND_SHORT_NAME ((UINT32)475)
2e590d1a 1079#define VID_MODULE_DATA_COUNT ((UINT32)476)
d9821bd7 1080#define VID_NEW_FILE_NAME ((UINT32)477)
b66098ac 1081#define VID_ALARM_LIST_DISP_LIMIT ((UINT32)478)
2a964810 1082#define VID_LANGUAGE ((UINT32)479)
d802fbec 1083#define VID_ROOT ((UINT32)480)
a6312bd6 1084#define VID_INCLUDE_NOVALUE_OBJECTS ((UINT32)481)
908d71bd 1085#define VID_RECEIVE_OUTPUT ((UINT32)482)
74540dab 1086#define VID_SESSION_STATE ((UINT32)483)
76fcb995 1087#define VID_PAGE_SIZE ((UINT32)484)
529956a0 1088#define VID_EXECUTION_END_FLAG ((UINT32)485)
56fa1092
VK
1089#define VID_COUNTRY ((UINT32)486)
1090#define VID_CITY ((UINT32)487)
1091#define VID_STREET_ADDRESS ((UINT32)488)
1092#define VID_POSTCODE ((UINT32)489)
2852ef09 1093#define VID_FUNCTION ((UINT32)490)
b8014eee 1094#define VID_RESPONSE_TIME ((UINT32)491)
d140955e 1095#define VID_QSIZE_DCI_CACHE_LOADER ((UINT32)492)
e95680e5
VK
1096#define VID_MTU ((UINT32)493)
1097#define VID_ALIAS ((UINT32)494)
ac58ffe9 1098#define VID_AP_INDEX ((UINT32)495)
e5390fb5 1099#define VID_PROTOCOL_VERSION_EX ((UINT32)496)
25a1e9d0
VK
1100#define VID_SCRIPT_LIST ((UINT32)497)
1101#define VID_TOOL_LIST ((UINT32)498)
4c3cc965
VK
1102#define VID_NUM_SUMMARY_TABLES ((UINT32)499)
1103#define VID_SUMMARY_TABLE_LIST ((UINT32)500)
1fa2ca0e
VK
1104#define VID_OVERVIEW_DCI_COUNT ((UINT32)501)
1105#define VID_OVERVIEW_ONLY ((UINT32)502)
9708eff4 1106#define VID_AGENT_CACHE_MODE ((UINT32)503)
5b243796 1107#define VID_DATE ((UINT32)504)
883c14ae 1108#define VID_RECONCILIATION ((UINT32)505)
7a8aa001 1109#define VID_DISPLAY_MODE ((UINT32)506)
b576249a 1110#define VID_NUM_FIELDS ((UINT32)507)
77a08c86 1111#define VID_PASSWORD_IS_VALID ((UINT32)508)
5f573844
VK
1112#define VID_SERIALIZE ((UINT32)509)
1113#define VID_COMPILATION_STATUS ((UINT32)510)
d881ea08 1114#define VID_ERROR_LINE ((UINT32)511)
3d37f7bf
VK
1115#define VID_SPEED ((UINT32)512)
1116#define VID_IFTABLE_SUFFIX ((UINT32)513)
88072662 1117#define VID_SERVER_COMMAND_TIMEOUT ((UINT32)514)
cf38357f
VK
1118#define VID_SYS_CONTACT ((UINT32)515)
1119#define VID_SYS_LOCATION ((UINT32)516)
de674bb6
VK
1120#define VID_RACK_ID ((UINT32)517)
1121#define VID_RACK_IMAGE ((UINT32)518)
1122#define VID_RACK_POSITION ((UINT32)519)
1123#define VID_RACK_HEIGHT ((UINT32)520)
4ede0acd 1124#define VID_SCHEDULE_COUNT ((UINT32)521)
bf3cf439
VK
1125#define VID_SCHEDULED_TASK_ID ((UINT32)522)
1126#define VID_TASK_HANDLER ((UINT32)523)
8bdd26dc
VK
1127#define VID_SCHEDULE ((UINT32)524)
1128#define VID_EXECUTION_TIME ((UINT32)525)
1129#define VID_LAST_EXECUTION_TIME ((UINT32)526)
1130#define VID_CALLBACK_COUNT ((UINT32)527)
1131#define VID_DASHBOARDS ((UINT32)528)
fd72d846 1132#define VID_OWNER ((UINT32)529)
01be5c8b 1133#define VID_MAINTENANCE_MODE ((UINT32)530)
5cf931e2 1134#define VID_IS_MASTER ((UINT32)531)
4e3133ee 1135#define VID_AGENT_COMM_TIME ((UINT32)532)
aed41472 1136#define VID_GRAPH_TEMPALTE ((UINT32)533)
1137#define VID_OVERVRITE ((UINT32)534)
1a5ddd2a
VK
1138#define VID_IPV6_SUPPORT ((UINT32)535)
1139#define VID_BULK_RECONCILIATION ((UINT32)536)
a1273b42 1140#define VID_STATUS ((UINT32)537)
53e39123 1141#define VID_FLAGS_MASK ((UINT32)538)
b120cd0f 1142#define VID_TOP_BOTTOM ((UINT32)539)
dfddafeb
VK
1143#define VID_AUTH_TOKEN ((UINT32)540)
1144#define VID_REPOSITORY_ID ((UINT32)541)
928fca65 1145#define VID_TOOLTIP_DCI_COUNT ((UINT32)542)
e4926628
VK
1146#define VID_CONTROLLER_ID ((UINT32)543)
1147#define VID_CHASSIS_ID ((UINT32)544)
e980db40 1148#define VID_NODE_SUBTYPE ((UINT32)545)
241541f4
VK
1149#define VID_SSH_LOGIN ((UINT32)546)
1150#define VID_SSH_PASSWORD ((UINT32)547)
1151#define VID_SSH_PROXY ((UINT32)548)
43b62436 1152#define VID_ZONE_PROXY ((UINT32)549)
685508a7 1153#define VID_MESSAGE_LENGTH ((UINT32)550)
7cdeb1cf
VK
1154#define VID_LDAP_DN ((UINT32)551)
1155#define VID_LDAP_ID ((UINT32)552)
56ecdd40 1156#define VID_FAIL_CODE_LIST ((UINT32)553)
f3e2e618 1157#define VID_FOLDER_SIZE ((UINT32)554)
56ecdd40 1158#define VID_ALARM_CATEGORY_ID ((UINT32)555)
f3e2e618 1159#define VID_FILE_COUNT ((UINT32)556)
56ecdd40 1160#define VID_ALARM_CATEGORY_ACL ((UINT32)557)
1af3bfac 1161#define VID_ALLOW_MULTIPART ((UINT32)558)
56ecdd40
EJ
1162#define VID_ALARM_ID_LIST ((UINT32)559)
1163#define VID_NUM_COMPONENTS ((UINT32)560)
88072662
VK
1164#define VID_SERVER_NAME ((UINT32)561)
1165#define VID_SERVER_COLOR ((UINT32)562)
8b75662b 1166#define VID_MESSAGE_OF_THE_DAY ((UINT32)563)
291644e3
EJ
1167#define VID_PORT_ROW_COUNT ((UINT32)564)
1168#define VID_PORT_NUMBERING_SCHEME ((UINT32)565)
e11eade2 1169#define VID_NUM_VALUES ((UINT32)566)
00420032 1170#define VID_NUM_PSTORAGE ((UINT32)567)
45ac5dd0 1171#define VID_COMMAND_ID ((UINT32)568)
f1984eb9 1172#define VID_HOSTNAME ((UINT32)569)
9674aefa
VK
1173#define VID_ENABLE_COMPRESSION ((UINT32)570)
1174#define VID_AGENT_COMPRESSION_MODE ((UINT32)571)
0207b7dd 1175#define VID_TRAP_TYPE ((UINT32)572)
cce82c3a 1176#define VID_IS_ACTIVE ((UINT32)573)
e3ff8ad1 1177#define VID_CHANNEL_ID ((UINT32)574)
d1c4701c 1178#define VID_NUM_URLS ((UINT32)575)
d888bc1c 1179#define VID_GRACE_LOGINS ((UINT32)576)
0837f989 1180#define VID_TUNNEL_GUID ((UINT32)577)
c48843a5 1181#define VID_ORGANIZATION ((UINT32)578)
c733fcc4 1182#define VID_TUNNEL_ID ((UINT32)579)
26cfeea3 1183#define VID_PARENT_INTERFACE ((UINT32)580)
1621a079
VK
1184
1185// Base variabe for single threshold in message
967893bb 1186#define VID_THRESHOLD_BASE ((UINT32)0x00800000)
8a9913fa
VK
1187
1188// Map elements list base
967893bb
VK
1189#define VID_ELEMENT_LIST_BASE ((UINT32)0x10000000)
1190#define VID_LINK_LIST_BASE ((UINT32)0x40000000)
552faa91 1191
296ae03d
VK
1192// Node info list base
1193#define VID_NODE_INFO_LIST_BASE ((UINT32)0x60000000)
1194
effb51ab 1195// Variable ranges for object's ACL
967893bb
VK
1196#define VID_ACL_USER_BASE ((UINT32)0x00001000)
1197#define VID_ACL_USER_LAST ((UINT32)0x00001FFF)
1198#define VID_ACL_RIGHTS_BASE ((UINT32)0x00002000)
1199#define VID_ACL_RIGHTS_LAST ((UINT32)0x00002FFF)
552faa91 1200
5ac3236b 1201// Variable range for user group members
967893bb
VK
1202#define VID_GROUP_MEMBER_BASE ((UINT32)0x00004000)
1203#define VID_GROUP_MEMBER_LAST ((UINT32)0x00004FFF)
5ac3236b 1204
b4369830 1205// Variable range for data collection object attributes
967893bb
VK
1206#define VID_DCI_COLUMN_BASE ((UINT32)0x30000000)
1207#define VID_DCI_THRESHOLD_BASE ((UINT32)0x20000000)
1208#define VID_DCI_SCHEDULE_BASE ((UINT32)0x10000000)
f86ffdd2 1209
f6eade3f 1210// Variable range for event argument list
967893bb
VK
1211#define VID_EVENT_ARG_BASE ((UINT32)0x00008000)
1212#define VID_EVENT_ARG_LAST ((UINT32)0x00008FFF)
f6eade3f 1213
840eb902 1214// Variable range for trap parameter list
0207b7dd 1215#define VID_TRAP_PBASE ((UINT32)0x00009000)
840eb902 1216
552faa91 1217// Object information can contain variable number of parent and child objects' ids.
a5f8dbb8 1218// Because each variable in message have to have unique identifier,
552faa91 1219// we reserver a two range ids for this variables.
967893bb
VK
1220#define VID_PARENT_ID_BASE ((UINT32)0x00003000)
1221#define VID_PARENT_ID_LAST ((UINT32)0x00003FFF)
552faa91
VK
1222
1223// Reservation of 0x7FFFFFFF ids for child object's list
967893bb
VK
1224#define VID_CHILD_ID_BASE ((UINT32)0x80000000)
1225#define VID_CHILD_ID_LAST ((UINT32)0xFFFFFFFE)
a5f8dbb8 1226
2e590d1a 1227// Base value for custom attributes and module data
967893bb 1228#define VID_CUSTOM_ATTRIBUTES_BASE ((UINT32)0x70000000)
2e590d1a 1229#define VID_MODULE_DATA_BASE ((UINT32)0x71000000)
0b16a7bf 1230
1fa2ca0e
VK
1231// Base value for overview DCI list
1232#define VID_OVERVIEW_DCI_LIST_BASE ((UINT32)0x72000000)
1233
928fca65
VK
1234// Base value for tooltip DCI list
1235#define VID_TOOLTIP_DCI_LIST_BASE ((UINT32)0x73000000)
1236
d1c4701c
VK
1237// Base value for URL list
1238#define VID_URL_LIST_BASE ((UINT32)0x74000000)
1239
40c8f341
VK
1240// IP address list base
1241#define VID_IP_ADDRESS_LIST_BASE ((UINT32)0x7F000000)
1242
6f512367 1243// Base value for cluster resource list
967893bb 1244#define VID_RESOURCE_LIST_BASE ((UINT32)0x20000000)
6f512367 1245
c75e9ee4
VK
1246// Base value for cluster sync network list
1247#define VID_SYNC_SUBNETS_BASE ((UINT32)0x28000000)
1248
901c96c7 1249// Base value for agent's enum values
967893bb 1250#define VID_ENUM_VALUE_BASE ((UINT32)0x10000000)
901c96c7 1251
3c774461 1252// Base value for agent's action arguments
967893bb 1253#define VID_ACTION_ARG_BASE ((UINT32)0x10000000)
3c774461 1254
a72a1fb1 1255// Base value for agent's parameter list
967893bb
VK
1256#define VID_PARAM_LIST_BASE ((UINT32)0x10000000)
1257#define VID_ENUM_LIST_BASE ((UINT32)0x20000000)
1258#define VID_PUSHPARAM_LIST_BASE ((UINT32)0x30000000)
1259#define VID_TABLE_LIST_BASE ((UINT32)0x40000000)
a72a1fb1 1260
20aaa307 1261// Base value for DCI last values
967893bb 1262#define VID_DCI_VALUES_BASE ((UINT32)0x10000000)
a5f8dbb8 1263
510f1295 1264// Base value for variable names
967893bb 1265#define VID_VARLIST_BASE ((UINT32)0x10000000)
510f1295 1266
a11d8dab 1267// Base value for network list
967893bb 1268#define VID_VPN_NETWORK_BASE ((UINT32)0x10000000)
a11d8dab 1269
b7a391d7 1270// Base value for network list
967893bb 1271#define VID_OBJECT_TOOLS_BASE ((UINT32)0x10000000)
b7a391d7 1272
b576249a 1273// Base values for table data and object tools
967893bb
VK
1274#define VID_COLUMN_INFO_BASE ((UINT32)0x10000000)
1275#define VID_COLUMN_NAME_BASE ((UINT32)0x10000000)
1276#define VID_COLUMN_FMT_BASE ((UINT32)0x20000000)
1277#define VID_ROW_DATA_BASE ((UINT32)0x30000000)
b576249a
VK
1278#define VID_COLUMN_INFO_BASE ((UINT32)0x10000000)
1279#define VID_FIELD_LIST_BASE ((UINT32)0x70000000)
f0feeb32 1280
240ab52a 1281// Base value for event log records
967893bb 1282#define VID_EVENTLOG_MSG_BASE ((UINT32)0x10000000)
240ab52a 1283
23b8cd4f 1284// Base value for syslog records
967893bb 1285#define VID_SYSLOG_MSG_BASE ((UINT32)0x10000000)
23b8cd4f 1286
30639d32 1287// Base value for trap log records
967893bb 1288#define VID_TRAP_LOG_MSG_BASE ((UINT32)0x10000000)
30639d32 1289
ae30e099 1290// Base value for script list
967893bb 1291#define VID_SCRIPT_LIST_BASE ((UINT32)0x10000000)
ae30e099 1292
99b949c1 1293// Base value for session data
967893bb 1294#define VID_SESSION_DATA_BASE ((UINT32)0x10000000)
99b949c1 1295
f3010fc1 1296// Base value for SNMP walker data
967893bb 1297#define VID_SNMP_WALKER_DATA_BASE ((UINT32)0x10000000)
f3010fc1 1298
8b56eec1 1299// Base value for map list
967893bb 1300#define VID_MAP_LIST_BASE ((UINT32)0x10000000)
8b56eec1 1301
15952045 1302// Base value for module list
967893bb 1303#define VID_MODULE_LIST_BASE ((UINT32)0x10000000)
15952045 1304
d2d7327c 1305// Base value for agent configs list
967893bb 1306#define VID_AGENT_CFG_LIST_BASE ((UINT32)0x10000000)
d2d7327c 1307
383b42a1 1308// Base and last values for condition's DCI list
967893bb
VK
1309#define VID_DCI_LIST_BASE ((UINT32)0x40000000)
1310#define VID_DCI_LIST_LAST ((UINT32)0x4FFFFFFF)
383b42a1 1311
4e3e69ce 1312// Base value for DCI push data
967893bb 1313#define VID_PUSH_DCI_DATA_BASE ((UINT32)0x10000000)
4e3e69ce 1314
e2ce7f94 1315// Base value for address list
967893bb 1316#define VID_ADDR_LIST_BASE ((UINT32)0x10000000)
e2ce7f94 1317
c0177331 1318// Base value for trap configuration records
967893bb 1319#define VID_TRAP_INFO_BASE ((UINT32)0x10000000)
c0177331 1320
0aa59db6 1321// Base value for graph list
967893bb
VK
1322#define VID_GRAPH_LIST_BASE ((UINT32)0x10000000)
1323#define VID_GRAPH_ACL_BASE ((UINT32)0x20000000)
0aa59db6 1324
bb7a686c 1325// Base value for system DCI list
967893bb 1326#define VID_SYSDCI_LIST_BASE ((UINT32)0x10000000)
bb7a686c 1327
3d1058ed 1328// Base value for certificate list
967893bb 1329#define VID_CERT_LIST_BASE ((UINT32)0x10000000)
3d1058ed 1330
72c0e661 1331// Base value for various string lists
967893bb 1332#define VID_STRING_LIST_BASE ((UINT32)0x10000000)
72c0e661 1333
00420032 1334// Base values for persistent storage actions in epp
1335#define VID_PSTORAGE_SET_LIST_BASE ((UINT32)0x10000000)
1336#define VID_PSTORAGE_DELETE_LIST_BASE ((UINT32)0x20000000)
1337
1338// Base values for persistent storage lists
1339#define VID_PSTORAGE_LIST_BASE ((UINT32)0x10000000)
1340
1341//Base values for file list
967893bb 1342#define VID_INSTANCE_LIST_BASE ((UINT32)0x20000000)
e638b3f3 1343
0e0da2f1 1344// Base value for object links list
967893bb
VK
1345#define VID_OBJECT_LINKS_BASE ((UINT32)0x10000000)
1346#define VID_SUBMAP_LINK_NAMES_BASE ((UINT32)0x20000000)
0e0da2f1 1347
967893bb
VK
1348#define VID_TABLE_COLUMN_INFO_BASE ((UINT32)0x10000000)
1349#define VID_TABLE_DATA_BASE ((UINT32)0x20000000)
ccc34207 1350
967893bb 1351#define VID_JOB_LIST_BASE ((UINT32)0x10000000)
ab621f39 1352
967893bb
VK
1353#define VID_COLUMN_FILTERS_BASE ((UINT32)0x10000000)
1354#define VID_ORDERING_COLUMNS_BASE ((UINT32)0x40000000)
27c66fcb 1355
967893bb 1356#define VID_USM_CRED_LIST_BASE ((UINT32)0x10000000)
df8a4ca2 1357
967893bb 1358#define VID_IMAGE_LIST_BASE ((UINT32)0x10000000)
e6b9439a 1359
967893bb 1360#define VID_VLAN_LIST_BASE ((UINT32)0x10000000)
7f632dfe 1361
967893bb 1362#define VID_NETWORK_PATH_BASE ((UINT32)0x40000000)
6d069676 1363
967893bb 1364#define VID_COMPONENT_LIST_BASE ((UINT32)0x20000000)
8836184f 1365
967893bb 1366#define VID_RADIO_LIST_BASE ((UINT32)0x30000000)
bde67a1f 1367
2f431c19 1368#define VID_RULE_LIST_BASE ((UINT32)0x10000000)
a11d8dab 1369
810bd8c4 1370#define VID_EXTENSION_LIST_BASE ((UINT32)0x10000000)
1371
2ab9314f 1372#define VID_DCI_VALUES_BASE ((UINT32)0x10000000)
1373
d9821bd7 1374#define VID_FILE_LIST_BASE ((UINT32)0x10000000)
1375
4899db4d 1376#define VID_LOC_LIST_BASE ((UINT32)0x10000000)
1377
4ede0acd 1378#define VID_SCHEDULE_LIST_BASE ((UINT32)0x10000000)
1379
a44a910c 1380#define VID_CALLBACK_BASE ((UINT32)0x10000000)
1381
4ef60905
AK
1382#define VID_ZMQ_SUBSCRIPTION_BASE ((UINT32)0x10000000)
1383
b50f1100
VK
1384#ifdef __cplusplus
1385
b368969c 1386inline BOOL IsBinaryMsg(NXCP_MESSAGE *msg)
a5f8dbb8 1387{
b368969c 1388 return ntohs(msg->flags) & MF_BINARY;
a5f8dbb8 1389}
145f8fd9 1390
b50f1100
VK
1391#endif
1392
145f8fd9
VK
1393
1394#endif /* _nms_cscp_h_ */