-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_ccmdbapi20.py
More file actions
5700 lines (5697 loc) · 202 KB
/
_ccmdbapi20.py
File metadata and controls
5700 lines (5697 loc) · 202 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# generated by 'xml2py'
# flags 'cmdb.xml'
from ctypes import Structure, Union, POINTER, c_long, c_ulong, c_uint, c_int, \
c_ushort, c_double, c_ubyte, c_char, c_char_p, c_void_p, \
sizeof, alignment
# ar.h 621
class ARFuncCurrencyStruct(Structure):
pass
ARCurrencyCodeType = c_char * 4
ARFuncCurrencyStruct._fields_ = [
# ar.h 621
('value', c_char_p),
('currencyCode', ARCurrencyCodeType),
]
AR_CLIENT_TYPE_CHANGE_SEL = 4008 # Variable c_int
AR_STRUCT_ITEM_FILTER = 5 # Variable c_int
AR_QUERY_VALUE_MULTI_ERROR = 1 # Variable c_int
# ar.h 939
class ARArithOpStruct(Structure):
pass
AR_FULL_TEXT_DISABLE_SEARCHING = 0 # Variable c_int
AR_FIELD_TYPE_ATTACH = 128 # Variable c_int
AR_STRUCT_ITEM_XML_DIST_POOL = 1073741837 # Variable c_int
AR_STRUCT_ITEM_LOCK_BLOCK = 31 # Variable c_int
CMDB_RESERV_INSTANCE_FAILED_AUTOMATIC_IDENTIF = 301118000 # Variable c_int
CMDB_RESERV_ATTR_PRIMARY_KEY = 300988600 # Variable c_int
AR_DVAL_ENABLE_READ_ONLY = 1 # Variable c_int
AR_ACCESS_OPTION_READ_ONLY = AR_DVAL_ENABLE_READ_ONLY # alias
CMDB_RESERV_ATTR_ATTACH_POOL_GUID = 400138500 # Variable c_int
CMDB_CLASS_ABSTRACT_TYPE_REGULAR = 1 # Variable c_int
AR_SERVER_STAT_FILTER_TIME = 40 # Variable c_int
AR_SERVER_INFO_SVR_STATS_REC_INTERVAL = 157 # Variable c_int
CMDB_ERROR_QUERY_GRAPH_HAS_AMBIGUOUS_NODE = 120037 # Variable c_int
# ar.h 4924
class ARConfigSvrEvents(Structure):
pass
CMDB_ATTR_CHARAC_CHANGE_PERMS = 2 # Variable c_int
AR_ARCHIVE_NONE = 0 # Variable c_int
AR_FIELD_BITOPTION_AUDIT_LOG_KEY_MASK = 12 # Variable c_int
AR_FOCUS_SET_TO_FIELD = 1 # Variable c_int
# cmdb.h 665
class CMDBSortList(Structure):
pass
# cmdb.h 914
class CMDBGetRelationStruct(Structure):
pass
CMDB_VER_MAINTENANCE = 0 # Variable c_int
AR_LOCAL_VARIABLE = 52 # Variable c_int
AR_DVAL_CNTL_ITEM = 0 # Variable c_int
# ar.h 5124
class ARXMLParserHandle(Structure):
pass
ARREF_APP_FORMACTION_RESULTS_LIST_FIXED_HEADER = 32837 # Variable c_int
AR_MAX_FUNC_CURRENCY_LIMIT_TEXT_SIZE = 20 # Variable c_int
# ar.h 915
class ARFieldValueOrArithStruct(Structure):
pass
# ar.h 918
class N25ARFieldValueOrArithStruct3DOLLAR_2E(Union):
pass
ARULong32 = c_ulong
ARInternalId = ARULong32
# ar.h 656
class ARValueStruct(Structure):
pass
# ar.h 659
class N13ARValueStruct3DOLLAR_1E(Union):
pass
ARLong32 = c_long
ARTimestamp = ARLong32
ARTime = ARLong32
# ar.h 354
class ARByteList(Structure):
pass
# ar.h 611
class ARAttachStruct(Structure):
pass
# ar.h 578
class ARCoordList(Structure):
pass
# ar.h 637
class ARCurrencyStruct(Structure):
pass
N13ARValueStruct3DOLLAR_1E._fields_ = [
# ar.h 659
('keyNum', c_uint),
('intVal', ARLong32),
('realVal', c_double),
('charVal', c_char_p),
('diaryVal', c_char_p),
('enumVal', ARULong32),
('timeVal', ARTimestamp),
('maskVal', ARULong32),
('timeOfDayVal', ARTime),
('byteListVal', POINTER(ARByteList)),
('decimalVal', c_char_p),
('attachVal', POINTER(ARAttachStruct)),
('ulongVal', ARULong32),
('coordListVal', POINTER(ARCoordList)),
('dateVal', c_int),
('currencyVal', POINTER(ARCurrencyStruct)),
]
ARValueStruct._fields_ = [
# ar.h 656
('dataType', c_uint),
('u', N13ARValueStruct3DOLLAR_1E),
]
# ar.h 835
class ARStatHistoryValue(Structure):
pass
ARStatHistoryValue._fields_ = [
# ar.h 835
('enumVal', ARULong32),
('userOrTime', c_uint),
]
# ar.h 682
class ARValueList(Structure):
pass
ARValueList._fields_ = [
# ar.h 682
('numItems', c_uint),
('valueList', POINTER(ARValueStruct)),
]
# ar.h 848
class ARQueryValueStruct(Structure):
pass
# ar.h 866
class ARCurrencyPartStruct(Structure):
pass
N25ARFieldValueOrArithStruct3DOLLAR_2E._fields_ = [
# ar.h 918
('fieldId', ARInternalId),
('value', ARValueStruct),
('arithOp', POINTER(ARArithOpStruct)),
('statHistory', ARStatHistoryValue),
('valueSet', ARValueList),
('variable', c_uint),
('queryValue', POINTER(ARQueryValueStruct)),
('currencyField', POINTER(ARCurrencyPartStruct)),
]
ARFieldValueOrArithStruct._fields_ = [
# ar.h 915
('tag', c_uint),
('u', N25ARFieldValueOrArithStruct3DOLLAR_2E),
]
ARArithOpStruct._fields_ = [
# ar.h 939
('operation', c_uint),
('operandLeft', ARFieldValueOrArithStruct),
('operandRight', ARFieldValueOrArithStruct),
]
# ar.h 2672
class ARPermissionStruct(Structure):
pass
ARPermissionStruct._fields_ = [
# ar.h 2672
('groupId', ARInternalId),
('permissions', c_uint),
]
# ar.h 4087
class ARDiaryList(Structure):
pass
# ar.h 4079
class ARDiaryStruct(Structure):
pass
ARDiaryList._fields_ = [
# ar.h 4087
('numItems', c_uint),
('diaryList', POINTER(ARDiaryStruct)),
]
AR_DPROP_ALIAS_SINGULAR = 206 # Variable c_int
_IORW = 128 # Variable c_int
AR_DVAL_JUSTIFY_LEFT = 1 # Variable c_int
AR_MAX_SERVER_SIZE = 64 # Variable c_int
AR_FILTER_ACTION_LOG = 3 # Variable c_int
CMDB_RESERV_INDEX_ATTR_PENDING_ID = 400123100 # Variable c_int
AR_SERVER_STAT_FILTER_PASSED = 32 # Variable c_int
AR_DPROP_TABLE_PREFERENCES = 5060 # Variable c_int
AR_ASSIGN_TYPE_FILTER_API = 8 # Variable c_int
AR_SERVER_STAT_FILTER_FIELDP = 59 # Variable c_int
# ar.h 3064
class N18ARFieldLimitStruct4DOLLAR_12E(Union):
pass
# ar.h 2868
class ARIntegerLimitsStruct(Structure):
pass
ARIntegerLimitsStruct._fields_ = [
# ar.h 2868
('rangeLow', ARLong32),
('rangeHigh', ARLong32),
]
# ar.h 2877
class ARRealLimitsStruct(Structure):
pass
ARRealLimitsStruct._fields_ = [
# ar.h 2877
('rangeLow', c_double),
('rangeHigh', c_double),
('precision', c_int),
]
# ar.h 2898
class ARCharLimitsStruct(Structure):
pass
ARNameType = c_char * 255
ARCharLimitsStruct._fields_ = [
# ar.h 2898
('maxLength', c_uint),
('menuStyle', c_uint),
('qbeMatchOperation', c_uint),
('charMenu', ARNameType),
('pattern', c_char_p),
('fullTextOptions', c_uint),
]
# ar.h 2914
class ARDiaryLimitsStruct(Structure):
pass
ARDiaryLimitsStruct._fields_ = [
# ar.h 2914
('fullTextOptions', c_uint),
]
# ar.h 2948
class AREnumLimitsStruct(Structure):
pass
# ar.h 2951
class N18AREnumLimitsStruct4DOLLAR_11E(Union):
pass
# ar.h 290
class ARNameList(Structure):
pass
ARNameList._fields_ = [
# ar.h 290
('numItems', c_uint),
('nameList', POINTER(ARNameType)),
]
# ar.h 2931
class AREnumItemList(Structure):
pass
# ar.h 2924
class AREnumItemStruct(Structure):
pass
AREnumItemList._fields_ = [
# ar.h 2931
('numItems', c_uint),
('enumItemList', POINTER(AREnumItemStruct)),
]
# ar.h 2938
class AREnumQueryStruct(Structure):
pass
# ar.h 976
class ARQualifierStruct(Structure):
pass
# ar.h 979
class N17ARQualifierStruct3DOLLAR_3E(Union):
pass
# ar.h 981
class N17ARQualifierStruct3DOLLAR_33DOLLAR_4E(Structure):
pass
N17ARQualifierStruct3DOLLAR_33DOLLAR_4E._fields_ = [
# ar.h 981
('operandLeft', POINTER(ARQualifierStruct)),
('operandRight', POINTER(ARQualifierStruct)),
]
# ar.h 956
class ARRelOpStruct(Structure):
pass
N17ARQualifierStruct3DOLLAR_3E._fields_ = [
# ar.h 979
('andor', N17ARQualifierStruct3DOLLAR_33DOLLAR_4E),
('notQual', POINTER(ARQualifierStruct)),
('relOp', POINTER(ARRelOpStruct)),
('fieldId', ARInternalId),
]
ARQualifierStruct._fields_ = [
# ar.h 976
('operation', c_uint),
('u', N17ARQualifierStruct3DOLLAR_3E),
]
AREnumQueryStruct._fields_ = [
# ar.h 2938
('schema', ARNameType),
('server', c_char * 65),
('qualifier', ARQualifierStruct),
('nameField', ARInternalId),
('numberField', ARInternalId),
]
N18AREnumLimitsStruct4DOLLAR_11E._fields_ = [
# ar.h 2951
('regularList', ARNameList),
('customList', AREnumItemList),
('queryList', AREnumQueryStruct),
]
AREnumLimitsStruct._fields_ = [
# ar.h 2948
('listStyle', c_uint),
('u', N18AREnumLimitsStruct4DOLLAR_11E),
]
# ar.h 2963
class ARAttachLimitsStruct(Structure):
pass
ARAttachLimitsStruct._fields_ = [
# ar.h 2963
('maxSize', ARULong32),
('attachType', c_uint),
('fullTextOptions', c_uint),
]
# ar.h 2971
class ARTableLimitsStruct(Structure):
pass
ARServerNameType = c_char * 65
ARTableLimitsStruct._fields_ = [
# ar.h 2971
('numColumns', c_uint),
('qualifier', ARQualifierStruct),
('maxRetrieve', c_uint),
('schema', ARNameType),
('server', ARServerNameType),
('sampleSchema', ARNameType),
('sampleServer', ARServerNameType),
]
# ar.h 2992
class ARColumnLimitsStruct(Structure):
pass
ARColumnLimitsStruct._fields_ = [
# ar.h 2992
('parent', ARInternalId),
('dataField', ARInternalId),
('dataSource', c_uint),
('colLength', c_uint),
]
# ar.h 3004
class ARDecimalLimitsStruct(Structure):
pass
ARDecimalLimitsStruct._fields_ = [
# ar.h 3004
('rangeLow', c_char_p),
('rangeHigh', c_char_p),
('precision', c_int),
]
# ar.h 3012
class ARViewLimits(Structure):
pass
ARViewLimits._fields_ = [
# ar.h 3012
('maxLength', c_uint),
]
# ar.h 3018
class ARDisplayLimits(Structure):
pass
ARDisplayLimits._fields_ = [
# ar.h 3018
('maxLength', c_uint),
]
# ar.h 3023
class ARDateLimitsStruct(Structure):
pass
ARDateLimitsStruct._fields_ = [
# ar.h 3023
('minDate', c_int),
('maxDate', c_int),
]
# ar.h 3048
class ARCurrencyLimitsStruct(Structure):
pass
# ar.h 3041
class ARCurrencyDetailList(Structure):
pass
# ar.h 3033
class ARCurrencyDetailStruct(Structure):
pass
ARCurrencyDetailList._fields_ = [
# ar.h 3041
('numItems', c_uint),
('currencyDetailList', POINTER(ARCurrencyDetailStruct)),
]
ARCurrencyLimitsStruct._fields_ = [
# ar.h 3048
('rangeLow', c_char_p),
('rangeHigh', c_char_p),
('precision', c_int),
('functionalCurrencies', ARCurrencyDetailList),
('allowableCurrencies', ARCurrencyDetailList),
]
N18ARFieldLimitStruct4DOLLAR_12E._fields_ = [
# ar.h 3064
('intLimits', ARIntegerLimitsStruct),
('realLimits', ARRealLimitsStruct),
('charLimits', ARCharLimitsStruct),
('diaryLimits', ARDiaryLimitsStruct),
('enumLimits', AREnumLimitsStruct),
('maskLimits', AREnumLimitsStruct),
('attachLimits', ARAttachLimitsStruct),
('tableLimits', ARTableLimitsStruct),
('columnLimits', ARColumnLimitsStruct),
('decimalLimits', ARDecimalLimitsStruct),
('viewLimits', ARViewLimits),
('displayLimits', ARDisplayLimits),
('dateLimits', ARDateLimitsStruct),
('currencyLimits', ARCurrencyLimitsStruct),
]
# ar.h 2721
class ARRoleInfoStruct(Structure):
pass
# cmdb.h 907
class CMDBGetObjectList(Structure):
pass
CMDB_RESERV_INSTANCE_LAST_MODIFIED = 5 # Variable c_int
AR_REPORT_ATTR_COMPRESSED = 15 # Variable c_long
CMDB_ERROR_ATTRIBUTE_NAME_NOT_UNIQUE = 120014 # Variable c_int
# ar.h 713
class AREntryListFieldList(Structure):
pass
# ar.h 705
class AREntryListFieldStruct(Structure):
pass
AREntryListFieldList._fields_ = [
# ar.h 713
('numItems', c_uint),
('fieldsList', POINTER(AREntryListFieldStruct)),
]
AR_CLIENT_TYPE_DISPATCHER = 4001 # Variable c_int
AR_DPROP_DETAIL_PANE_COLOR = 166 # Variable c_int
AR_SERVER_INFO_ALERT_SOURCE_AR = 149 # Variable c_int
AR_SERVER_INFO_DS_PENDING = 44 # Variable c_int
AR_SERVER_STAT_ESCL_DISABLE = 43 # Variable c_int
CMDB_VER_PATCH = 0 # Variable c_int
# ar.h 1999
class ARDDEStruct(Structure):
pass
ARDDEStruct._fields_ = [
# ar.h 1999
('serviceName', c_char_p),
('topic', c_char_p),
('item', c_char_p),
('action', c_uint),
('pathToProgram', c_char_p),
('command', c_char_p),
]
ARBoolean = c_ubyte
AR_LIST_SCHEMA_ALL = 0 # Variable c_int
AR_DPROP_AUTO_FIELD_ROWNUM = 247 # Variable c_int
CMDB_ERROR_BULK_TRAN_API_SESSION_ID_BAD = 120127 # Variable c_int
AR_SERVER_STAT_ESCL_FIELDS = 46 # Variable c_int
# ar.h 2803
class ARLicenseValidStruct(Structure):
pass
# def ferror(_stream): return ((_stream)->_flag & _IOERR) # macro
AR_SERVER_INFO_ALERT_SCHEMA = 139 # Variable c_int
AR_VUI_TYPE_NONE = 0 # Variable c_int
AR_FIELD_OPTION_REQUIRED = 1 # Variable c_int
AR_ARCHIVE_DELETE = 2 # Variable c_int
AR_ACTIVE_LINK_ACTION_CLOSEWND = 12 # Variable c_int
CMDB_RESERV_INDEX_INDEX_NAME = 400111200 # Variable c_int
CMDB_RESERV_ATTR_HIDDEN = 400122800 # Variable c_int
# ar.h 2064
class ARCOMMethodStruct(Structure):
pass
ARLicenseKeyType = c_char * 31
CMDB_RESERV_CLASS_CUSTOM_CHARACTERISTICS = 400110200 # Variable c_int
AR_DVAL_COLOR_FOCUS = 'focus' # Variable c_char_p
# ARL0 = L # alias
# unresolved alias: ARL0 = L
AR_SERVER_STAT_ENTRY_TIME = 14 # Variable c_int
CMDB_RESERV_ATTR_AUDIT_TYPE = 530004500 # Variable c_int
AR_OPROP_SCC_LOCATION = 60010 # Variable c_int
CMDBRE_JOB_RUN_STATUS_FAILED = 2 # Variable c_int
AR_XML_FORM_MAP_TYPE_REFERENCE = 2 # Variable c_int
CMDB_RESERV_INSTANCE_Z_TMP_DEL_CASCADE_OP_FLAG = 400138400 # Variable c_int
CMDB_MAX_NAMESPACE_NAME_SIZE = 70 # Variable c_int
AR_SERVER_INFO_CONFIG_FILE = 198 # Variable c_int
CMDB_ERROR_NO_WEAK_RELATION_ABSTRACT_CLASS_ALLOWED = 120045 # Variable c_int
AR_DPROP_HIDE_WEBHELP = 14 # Variable c_int
AR_DPROP_COORDS = 40 # Variable c_int
CMDB_WARNING_FOREIGN_KEY_EXPAND_FAILED = 120126 # Variable c_int
# cmdb.h 624
class CMDBWeakPropagatedAttrs(Structure):
pass
def ARQQ1(x): return #x # macro
AR_CHAR_MENU_DD_FIELD = 2 # Variable c_int
CMDB_ERROR_DATASET_UNDERLAY_INTERNAL_ERROR = 120123 # Variable c_int
AR_DVAL_PAGE_DISPLAY_LEFT = 2 # Variable c_int
ARREF_WS_XML_SCHEMA_LOC = 32828 # Variable c_int
# def AR_SET_MENU_ACCESS_ENABLED(x): return (x |= 0x3) # macro
CMDB_WARN_NO_SUCH_ATTACHMENT_POOL = 120065 # Variable c_int
AR_MAX_LANG_SIZE = 15 # Variable c_int
AR_CHAR_MENU_FILE = 3 # Variable c_int
ARREF_FLASH_BOARD_DEF = 32794 # Variable c_int
AR_DPROP_TABLE_DISPLAY_TYPE = 5001 # Variable c_int
# cmdb.h 612
class CMDBClassNameId(Structure):
pass
CMDBClassNameId._fields_ = [
# cmdb.h 612
('namespaceName', ARNameType),
('className', ARNameType),
]
# cmdb.h 779
class CMDBAttributeValueList(Structure):
pass
# cmdb.h 773
class CMDBAttributeValueStruct(Structure):
pass
CMDBAttributeValueList._fields_ = [
# cmdb.h 779
('numItems', c_uint),
('attributeValueList', POINTER(CMDBAttributeValueStruct)),
]
CMDBGetRelationStruct._fields_ = [
# cmdb.h 914
('classNameId', CMDBClassNameId),
('instanceId', ARNameType),
('roleNames', ARNameType * 2),
('relatedClassNames', CMDBClassNameId * 2),
('relatedClassIds', ARNameType * 2),
('relatedInstanceIds', ARNameType * 2),
('attributeValueList', CMDBAttributeValueList),
]
AR_DPROP_NAVBAR_INITIAL_SELECTED_ITEM = 5063 # Variable c_int
ARLicenseNameType = c_char * 51
AR_DVAL_ENABLE_DISABLE = 3 # Variable c_int
# ar.h 311
class ARServerNameList(Structure):
pass
ARServerNameList._fields_ = [
# ar.h 311
('numItems', c_uint),
('nameList', POINTER(ARServerNameType)),
]
AR_DVAL_RADIO_RADIO = 1 # Variable c_int
CMDB_ITEM_TYPE_INSTANCE_DATA = 2 # Variable c_int
AR_SERVER_STAT_SINCE_START = 56 # Variable c_int
AR_DSO_MAP_BY_FIELD_IDS = 0 # Variable c_int
CMDB_ATTR_AUDITTYPE_COPY = 2 # Variable c_int
CMDB_RESERV_FEDERATED_DATA_DATA_SOURCE = 530003500 # Variable c_int
AR_DSO_ERROR_RETRY_STANDARD_DB = 3 # Variable c_int
AR_SERVER_INFO_INFORMIX_DBN = 67 # Variable c_int
AR_KEYWORD_ROWSELECTED = 24 # Variable c_int
AR_MAX_ACTIONS = 25 # Variable c_int
AR_DVAL_COLOR_INSET2 = 'inset2' # Variable c_char_p
AR_FULLTEXT_FTS_MATCH_FORCE_T_WILD = 1 # Variable c_int
AR_REP_SCHEMA_TAG = '&' # Variable c_char_p
AR_SERVER_STAT_FILTER_LOG = 37 # Variable c_int
AR_SERVER_INFO_ORACLE_CLOB_STORE_INROW = 243 # Variable c_int
AR_SERVER_INFO_FULL_HOSTNAME = 49 # Variable c_int
AR_DPROP_NAVBAR_SELECT_ITEM_ON_CLICK = 5065 # Variable c_int
AR_SMOPROP_APP_LIC_VERSION = 90008 # Variable c_int
CMDB_SYSTEM_INIT_LICENSE_MODE = 2501 # Variable c_int
AR_MAX_DDE_ITEM = 32767 # Variable c_int
AR_SVR_EVENT_CHG_IMPORT = 5 # Variable c_int
# ar.h 4687
class ARExtReferenceStruct(Structure):
pass
AR_SERVER_INFO_SSTABLE_CHUNK_SIZE = 199 # Variable c_int
CMDB_ERROR_INVALID_INDEX_LIST = 120070 # Variable c_int
# ar.h 2312
class ARPushFieldsStruct(Structure):
pass
# ar.h 1978
class ARAssignFieldStruct(Structure):
pass
# ar.h 1984
class N19ARAssignFieldStruct3DOLLAR_6E(Union):
pass
N19ARAssignFieldStruct3DOLLAR_6E._fields_ = [
# ar.h 1984
('fieldId', ARInternalId),
('statHistory', ARStatHistoryValue),
('currencyField', POINTER(ARCurrencyPartStruct)),
]
ARAssignFieldStruct._fields_ = [
# ar.h 1978
('server', c_char * 65),
('schema', ARNameType),
('qualifier', ARQualifierStruct),
('tag', c_uint),
('u', N19ARAssignFieldStruct3DOLLAR_6E),
('noMatchOption', c_uint),
('multiMatchOption', c_uint),
]
# ar.h 2106
class ARAssignStruct(Structure):
pass
# ar.h 2109
class N14ARAssignStruct3DOLLAR_8E(Union):
pass
# ar.h 2150
class ARArithOpAssignStruct(Structure):
pass
# ar.h 2230
class ARFunctionAssignStruct(Structure):
pass
# ar.h 2010
class ARAssignSQLStruct(Structure):
pass
# ar.h 2124
class ARAssignFilterApiStruct(Structure):
pass
N14ARAssignStruct3DOLLAR_8E._fields_ = [
# ar.h 2109
('value', ARValueStruct),
('field', POINTER(ARAssignFieldStruct)),
('process', c_char_p),
('arithOp', POINTER(ARArithOpAssignStruct)),
('function', POINTER(ARFunctionAssignStruct)),
('dde', POINTER(ARDDEStruct)),
('sql', POINTER(ARAssignSQLStruct)),
('filterApi', POINTER(ARAssignFilterApiStruct)),
]
ARAssignStruct._fields_ = [
# ar.h 2106
('assignType', c_uint),
('u', N14ARAssignStruct3DOLLAR_8E),
]
ARPushFieldsStruct._fields_ = [
# ar.h 2312
('field', ARAssignFieldStruct),
('assign', ARAssignStruct),
]
#Could not init _UI64_MAX ffffffffffffffff invalid literal for int(): ffffffffffffffff
ARREF_APPLICATION_HELP_INDEX_FILE2 = 32807 # Variable c_int
# cmdb.h 637
class CMDBClassRelationship(Structure):
pass
CMDB_CLASS_CHARAC_NONE = 0 # Variable c_int
AR_FIELD_BITOPTION_LOG_KEY1 = 4 # Variable c_int
AR_FUNCTION_COLCOUNT = 28 # Variable c_int
AR_STRUCT_ITEM_XML_APP = 1073741840 # Variable c_int
AR_SERVER_STAT_MERGE_E_TIME = 27 # Variable c_int
AR_MONITOR_PID = 'armonitor.pid' # Variable c_char_p
CMDB_RESERV_FEDERATED_LINK_LINK_METHOD = 530003700 # Variable c_int
# ar.h 2391
class ARGotoGuideLabelStruct(Structure):
pass
ARGotoGuideLabelStruct._fields_ = [
# ar.h 2391
('label', c_char_p),
]
AR_DVAL_JOINT_EXTENDED = 0 # Variable c_int
AR_OPERATION_CREATE = 4 # Variable c_int
# ar.h 3173
class ARCharMenuDDFieldStruct(Structure):
pass
ARCharMenuDDFieldStruct._fields_ = [
# ar.h 3173
('fieldType', c_uint),
('schema', ARNameType),
]
AR_DPROP_AUTO_LAYOUT = 251 # Variable c_int
AR_STRUCT_ITEM_XML_SCHEMA_DATA = 1073741854 # Variable c_int
CMDB_ATTR_ID_FEDERATED_DATA_RESULT3 = 'FEDDATA_RESULT3' # Variable c_char_p
AR_DVAL_FIXED_TABLE_HEADERS_ENABLE = 1 # Variable c_int
ARREF_APPLICATION_HELP_FILE5 = 32820 # Variable c_int
AR_DPROP_TEXT = 80 # Variable c_int
AR_FUNCTION_DATENAME = 34 # Variable c_int
AR_DISPLAY_TYPE_BUTTON = 6 # Variable c_int
AR_FULLTEXTINFO_STOPWORD = 2 # Variable c_int
# ar.h 2477
class ARMacroParmList(Structure):
pass
# cmdb.h 887
class CMDBGraphStruct(Structure):
pass
AR_FUNCTION_LENGTHC = 40 # Variable c_int
CMDB_RESERV_DATASET_SOURCE_DATASET_ID = 530007800 # Variable c_int
AR_SUPPORT_FILE_NONE = 0 # Variable c_int
# ar.h 3368
class ARStructItemList(Structure):
pass
AR_DVAL_JOINT_MAX_SMOOTH = 4 # Variable c_int
AR_DVAL_VIEWFIELD_BORDERS_NONE = 1 # Variable c_int
AR_ACTIVE_LINK_ACTION_AUTO = 9 # Variable c_int
# ar.h 2813
class ARLicenseValidList(Structure):
pass
ARCON_WEBSERVICE = 5 # Variable c_int
AR_SCHEMA_VENDOR = 5 # Variable c_int
CMDB_RESERV_ATTR_ATTRIBUTE_TYPE = 400122700 # Variable c_int
AR_STRUCT_ITEM_XML_LOCK_BLOCK = 1073741855 # Variable c_int
AR_WRITE_TO_STATUS_LIST = 2 # Variable c_int
# ar.h 599
class ARLocStruct(Structure):
pass
# ar.h 602
class N11ARLocStruct3DOLLAR_0E(Union):
pass
# ar.h 591
class ARBufStruct(Structure):
pass
ARBufStruct._fields_ = [
# ar.h 591
('bufSize', ARULong32),
('buffer', POINTER(c_ubyte)),
]
N11ARLocStruct3DOLLAR_0E._fields_ = [
# ar.h 602
('filename', c_char_p),
('buf', ARBufStruct),
]
ARLocStruct._fields_ = [
# ar.h 599
('locType', ARULong32),
('u', N11ARLocStruct3DOLLAR_0E),
]
ARAttachStruct._fields_ = [
# ar.h 611
('name', c_char_p),
('origSize', ARLong32),
('compSize', ARLong32),
('loc', ARLocStruct),
]
LONG_MAX = 2147483647 # Variable c_long
AR_OPROP_SCC_USER = 60009 # Variable c_int
# ar.h 4805
class ARWorkflowConnectList(Structure):
pass
# ar.h 4795
class ARWorkflowConnectStruct(Structure):
pass
ARWorkflowConnectList._fields_ = [
# ar.h 4805
('numItems', c_uint),
('workflowConnectList', POINTER(ARWorkflowConnectStruct)),
]
CMDB_ERROR_CANNOT_MODIFY_PRIMARY_KEY_ON_ATTRIBUTE = 120048 # Variable c_int
CMDB_RESERV_INSTANCE_VUI = 399999100 # Variable c_int
AR_SERVER_INFO_SERVER_IDENT = 41 # Variable c_int
AR_DPROP_IMAGE_CACHE = 229 # Variable c_int
AR_DPROP_BUTTON_SCALE_IMAGE = 113 # Variable c_int
AR_FUNCTION_RPADC = 44 # Variable c_int
AR_EXCEPTION_DIAG_INCLUDE_ALL = 0 # Variable c_int
ARREF_APPLICATION_HELP_FILE_NAME = 32782 # Variable c_int
# ar.h 5094
class ARXMLInputDoc(Structure):
pass
# ar.h 5097
class N13ARXMLInputDoc4DOLLAR_24E(Union):
pass
N13ARXMLInputDoc4DOLLAR_24E._fields_ = [
# ar.h 5097
('charBuffer', c_char_p),
('fileName', c_char_p),
('url', c_char_p),
]
ARXMLInputDoc._fields_ = [
# ar.h 5094
('docType', c_uint),
('u', N13ARXMLInputDoc4DOLLAR_24E),
]
AR_KEYWORD_GUIDE = 19 # Variable c_int
AR_REPORT_ATTR_COL_SEP = 13 # Variable c_long
AR_FUNCTION_YEAR = 5 # Variable c_int
AR_ENTRYPOINT_TYPE_DEFAULT_SEARCH = 2 # Variable c_int
PER_THREAD_LOG_TYPES = 607 # Variable c_int
AR_FILTER_FIELD_IDS_CHANGED = 3 # Variable c_int
# ar.h 4951
class ARFieldInfoList(Structure):
pass
AR_EXECUTE_ON_MENU_OPEN = 64 # Variable c_int
CMDB_RESERV_ATTR_DATE_MAX = 400117200 # Variable c_int
AR_DPROP_PATH_TO_BKG_IMAGE = 267 # Variable c_int
ARREF_MAXIMIZE_FORMS = 32770 # Variable c_int
AR_ACTIVE_LINK_ACTION_SQL = 8 # Variable c_int
# cmdb.h 931
class CMDBExportItemStruct(Structure):
pass
AR_DPROP_DRILL_DOWN = 224 # Variable c_int
AR_FILTER_ACTION_GOTOACTION = 8 # Variable c_int
AR_OPROP_INTEGRITY_KEY = 60022 # Variable c_int
# ar.h 5230
class ARComplexEntryGetInList(Structure):
pass
AR_SESS_VUI_TYPE = 8 # Variable c_int
CMDB_ATTR_ID_FEDERATED_DATA_DATA_SOURCE = 'FEDDATA_DATA_SOURCE' # Variable c_char_p
CMDB_RESERV_INSTANCE_OP_ID_WEAK_REFERENCE = 400124500 # Variable c_int
# ar.h 2686
class ARPermissionListList(Structure):
pass
# ar.h 2679
class ARPermissionList(Structure):
pass
ARPermissionListList._fields_ = [
# ar.h 2686
('numItems', c_uint),
('permissionList', POINTER(ARPermissionList)),
]
# ar.h 4656
class ARContainerOwnerObjList(Structure):
pass
# ar.h 4649
class ARContainerOwnerObj(Structure):
pass
ARContainerOwnerObjList._fields_ = [
# ar.h 4656
('numItems', c_uint),
('ownerObjList', POINTER(ARContainerOwnerObj)),
]
CMDB_RESERV_INSTANCE_WRITE_SECURITY = 60513 # Variable c_int
CMDB_CLASS_RELATIONSHIP_CARDINALITY_1_1 = 1 # Variable c_int
CMDB_ATTR_ID_REL_RECONCIL_ID_1 = 'OBJSTR_ATTR_ID_REL_RECONCIL_ID_1' # Variable c_char_p
# cmdb.h 934
class N20CMDBExportItemStruct4DOLLAR_42E(Union):
pass
N20CMDBExportItemStruct4DOLLAR_42E._fields_ = [
# cmdb.h 934
('qualifier', c_char_p),
('exportOption', c_ulong),
]
AR_DVAL_BKG_MODE_OPAQUE = 0 # Variable c_int
AR_BYTE_LIST_FUNC_PTR = 8 # Variable c_int
AR_SERVER_INFO_CLUSTERED_INDEX = 96 # Variable c_int
ARREF_PACKINGLIST_DSOPOOL = 32792 # Variable c_int
AR_ACTIVE_LINK_ACTION_OPEN_MODIFY_SPLIT = 5 # Variable c_int
AR_DPROP_LABEL_POS_ALIGN = 29 # Variable c_int
CMDB_ATTR_ID_Z_TMP_INTEGER_1 = 'OBJSTR_ATTR_ID_Z_TMP_INTEGER_1' # Variable c_char_p
# ar.h 3113
class ARCharMenuQueryStruct(Structure):
pass
ARCharMenuQueryStruct._fields_ = [
# ar.h 3113
('schema', ARNameType),
('server', c_char * 65),
('qualifier', ARQualifierStruct),
('labelField', ARInternalId * 5),
('valueField', ARInternalId),
('sortOnLabel', ARBoolean),
('sampleSchema', ARNameType),
('sampleServer', ARServerNameType),
]
AR_SERVER_INFO_NOTIFY_WEB_PATH = 229 # Variable c_int
CMDB_RESERV_INSTANCE_ACCOUNT_ID = 301186800 # Variable c_int
# ar.h 2742
class ARUserLicenseStruct(Structure):
pass
CMDB_ERROR_REQUIRED_ATTRIBUTE_VALUE_MISSING = 120076 # Variable c_int
# ar.h 4190
class ARFieldMappingStruct(Structure):
pass
_I32_MIN = -2147483648 # Variable c_long
AR_DPROP_ATTACH_FILENAME_TITLE = 237 # Variable c_int
AR_EXECUTE_ON_AFTER_SUBMIT = 4096 # Variable c_int
AR_LOCAL_TEXT_RETURN_TYPE_BIN_ATTACH = 1 # Variable c_int
# ar.h 729
class AREntryListStruct(Structure):
pass
# ar.h 258
class AREntryIdList(Structure):
pass
AREntryIdType = c_char * 16
AREntryIdList._fields_ = [
# ar.h 258
('numItems', c_uint),
('entryIdList', POINTER(AREntryIdType)),
]
AREntryListStruct._fields_ = [
# ar.h 729
('entryId', AREntryIdList),
('shortDesc', c_char_p),
]
# ar.h 2357
class ARGotoActionStruct(Structure):
pass
AR_EXECUTE_ON_EVENT = 1048576 # Variable c_int
AR_SERVER_INFO_FLOAT_TIMEOUT = 19 # Variable c_int
AR_KEYWORD_TCPPORT = 28 # Variable c_int
AR_AUDIT_LOG = 2 # Variable c_int
AR_EXECUTE_ON_MODIFY = 8 # Variable c_int
AR_SERVER_INFO_FILT_MAX_STACK = 80 # Variable c_int
# ar.h 571
class ARCoordStruct(Structure):
pass
# ar.h 2033
class ARCOMValueStruct(Structure):
pass
# ar.h 2038
class N16ARCOMValueStruct3DOLLAR_7E(Union):
pass
N16ARCOMValueStruct3DOLLAR_7E._fields_ = [
# ar.h 2038
('fieldId', ARInternalId),
('value', ARValueStruct),
]
ARCOMValueStruct._fields_ = [
# ar.h 2033
('valueIId', c_char_p),
('transId', ARInternalId),
('valueType', c_uint),
('u', N16ARCOMValueStruct3DOLLAR_7E),
]
ARAuthType = c_char * 2048
CMDB_RESERV_INSTANCE_Z_TMP_CHAR_2 = 400124700 # Variable c_int
AR_SERVER_INFO_UNQUAL_QUERIES = 20 # Variable c_int
AR_DATA_TYPE_ENUM = 6 # Variable c_int
AR_DVAL_CNTL_BUTTON = 1 # Variable c_int
ARCON_APP = 2 # Variable c_int
# ar.h 3166
class ARCharMenuDDFormStruct(Structure):
pass
AR_NO_LICENSE_DB_COUNT = 2000 # Variable c_int
AR_FULL_TEXT_ENABLE_SEARCHING = 1 # Variable c_int
CMDB_ERROR_INVALID_ABSTRACT_CLASS = 120013 # Variable c_int
AR_SERVER_INFO_FT_REINDEX = 234 # Variable c_int
# cmdb.h 1016
class CMDBREJobRunInfoList(Structure):
pass
CMDB_ERROR_CATGORIZATION_SUB_PERM_LIST_INVALID = 120062 # Variable c_int
AR_CLIENT_TYPE_TEXT = 4006 # Variable c_int
# ar.h 5353
class ARObjectInfoStruct(Structure):
pass
# ar.h 5346
class ARObjectInfoList(Structure):
pass
ARObjectInfoList._fields_ = [
# ar.h 5346
('numItems', c_uint),
('objectInfoList', POINTER(ARObjectInfoStruct)),
]
ARObjectInfoStruct._fields_ = [
# ar.h 5353
('type', c_uint),
('subType', c_uint),
('name', ARNameType),
('appBlockName', ARNameType),
('objectInfoList', ARObjectInfoList),
]
AR_SERVER_INFO_INIT_FORM = 167 # Variable c_int
AR_DPROP_APPLY_DIRTY = 228 # Variable c_int
AR_VUI_TYPE_WEB_ABS_POS = 3 # Variable c_int
AR_FUNCTION_LPAD = 21 # Variable c_int
CMDB_RESERV_ATTR_UNIQUE_FORM_IDENTIFIER = 400115700 # Variable c_int
AR_DPROP_HTML_TEXT = 83 # Variable c_int
ARREF_ICON = 32768 # Variable c_int
CMDB_RESERV_CLASS_SUPERCLASS = 400079600 # Variable c_int
CMDB_ERROR_CLASS_META_DATA_INVALID = 120010 # Variable c_int
CMDB_RESERV_ATTR_INT_MIN = 400105700 # Variable c_int
AR_MAX_STD_DATA_TYPE = 14 # Variable c_int
AR_SMOPROP_APP_ACCESS_POINT = 90011 # Variable c_int
AR_STRUCT_ITEM_DIST_POOL = 13 # Variable c_int
CMDB_FEDERATION_ACTIVATION_NONE = 0 # Variable c_int
AR_SERVER_INFO_RESERV1_A = 38 # Variable c_int
AR_MAX_FORMAT_SIZE = 32 # Variable c_int
# cmdb.h 1243
class CMDBAuditValueList(Structure):
pass
ARAccessNameType = c_char * 255
CMDBAuditValueList._fields_ = [
# cmdb.h 1243
('operation', c_uint),
('changedBy', ARAccessNameType),
('auditTimestamp', ARTimestamp),
('attrAuditValueList', POINTER(CMDBAttributeValueList)),
]
CMDB_RESERV_INSTANCE_GUID = 179 # Variable c_int
AR_NO_LICENSE_DB_LIMIT = 2000000 # Variable c_int
# ar.h 5417
class AREntryBlockStruct(Structure):
pass
AR_PRECISION_NONE = -1 # Variable c_int
AR_ATTRIBUTE_CLEAN_DELETE = 0 # Variable c_int
AR_FIELD_FORCE_DELETE = 2 # Variable c_int
AR_SERVER_STAT_ESCL_LOG = 45 # Variable c_int
CMDB_RESERV_INDEX_META_DATA_STATUS = 400122200 # Variable c_int
AR_DPROP_TABLE_CHUNK_SIZE = 5005 # Variable c_int
AR_MERGE_ENTRY_DUP_MERGE = 4 # Variable c_int
def ARQQ(x): return ARQQ1(x) # macro
AR_SVR_EVENT_SERVGROUP_FAILOVER = 1 # Variable c_int
AR_SCHEMA_DATA_DELETE = 1 # Variable c_int
AR_DVAL_AUTOFIT_COLUMNS_SET = 1 # Variable c_int
CMDB_RESERV_INSTANCE_Z_TMP_INTEGER_2 = 400124200 # Variable c_int
AR_LOCAL_TEXT_EXTERN_REPORT = 8 # Variable c_int
CMDB_ATTR_ID_DATASET_DATASET_TYPE = 'DATASET_TYPE' # Variable c_char_p
# ar.h 327
class ARTimestampList(Structure):
pass
ARTimestampList._fields_ = [
# ar.h 327
('numItems', c_uint),
('timestampList', POINTER(ARTimestamp)),
]
ARCoordList._fields_ = [
# ar.h 578
('numItems', c_uint),
('coords', POINTER(ARCoordStruct)),
]
CMDB_ATTR_DATA_TYPE_REAL = 3 # Variable c_int
AR_SERVER_INFO_DSO_DEST_PORT = 66 # Variable c_int
# ar.h 4663
class ARContainerOwnerObjListList(Structure):
pass
ARContainerOwnerObjListList._fields_ = [
# ar.h 4663
('numItems', c_uint),
('ownerObjListList', POINTER(ARContainerOwnerObjList)),
]
AR_DATA_TYPE_TIME_OF_DAY = 14 # Variable c_int
AR_DPROP_EXPAND_COLLAPSE_TREE_LEVELS = 270 # Variable c_int
CMDB_RESERV_INDEX_ATTR_UNIQUE_FORM_IDENTIFIER = 400128500 # Variable c_int
AR_SERVER_INFO_PLUGIN_TARGET_PASSWD = 163 # Variable c_int
CMDB_RESERV_INSTANCE_Z_TMP_DEL_CASCADE_RRID = 400137700 # Variable c_int
AR_SERVER_INFO_EMAIL_TIMEOUT = 100 # Variable c_int