-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path_cars7604-LinuxPaddingApproach.py
More file actions
5951 lines (5942 loc) · 203 KB
/
_cars7604-LinuxPaddingApproach.py
File metadata and controls
5951 lines (5942 loc) · 203 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 'ar.xml'
from ctypes import Structure, Union, POINTER, c_long, c_ulong, c_uint, c_int, \
c_double, c_ubyte, c_char, c_char_p, c_void_p, \
sizeof, c_longlong
import struct, sys
runningAs64bit = ( 8 * struct.calcsize("P")) == 64
if runningAs64bit: # sizeof(c_long) == 8:
if sys.platform == 'win32':
size_t = c_longlong
else:
size_t = c_ulong # c_ulong is not 8 bytes, but 4 bytes under Windows 64bit!
ARLong32 = c_int
ARULong32 = c_uint
else:
size_t = c_uint
ARLong32 = c_long
ARULong32 = c_ulong
#import sys
#class BMCStructure(Structure):
# if sys.platform.startswith('linux'):
# _pack_ = 8
#
#class BMCUnion(Union):
# if sys.platform.startswith('linux'):
# _pack_ = 8
# new approach based on a suggestion from
# Andrew Mcintyre
c_double._alignment = 8
c_long_long._alignment = 8
def align_union(union_class):
for n, t in union_class._fields_:
if hasattr(t, '_alignment'):
union_class._alignment = t._alignment
break
class BMCUnion(Union):
_alignment = 8
def __init__(self):
if sys.platform.startswith('linux'):
align_union(self)
Union.__init__(self)
# patch the 'fields' sequence of a ctypes Structure by inserting
# dummy fields to achieve required alignment
def pad_struct(fields):
if not sys.platform.startswith('linux'):
return fields
result = []
size = 0
for n, t in fields:
if hasattr(t, '_alignment'):
padding = size % t._alignment
if padding:
padding = t._alignment - padding
result.append(('', c_char * padding))
size += padding
size += sizeof(t)
result.append((n, t))
return result
class BMCStructure(Structure):
# in this approach we have to pad_struct the fields
# of those structures -- this needs to happen manually.
_alignment = 8
# ar.h 6936
class ARMultiSchemaFuncQueryFromStruct(Structure):
pass
AR_FUNCTION_DATENAME = 34 # Variable c_int
AR_SERVER_INFO_ENC_LIBRARY_LEVEL = 301 # Variable c_int
AR_FULLTEXT_FTS_MATCH_UNCHANGED = 4 # Variable c_int
# ar.h 5898
class N24ARLocalizedRequestStruct4DOLLAR_214DOLLAR_22E(Structure):
pass
N24ARLocalizedRequestStruct4DOLLAR_214DOLLAR_22E._fields_ = [
# ar.h 5898
('ifElse', c_uint),
('action', c_uint),
]
AR_KEYWORD_SHIFT_KEY = 48 # Variable c_int
ARREF_APPLICATION_PRIMARY_FORM = 32777 # Variable c_int
AR_NOTIFY_VIA_XREF = 99 # Variable c_int
AR_SERVER_INFO_SVRGRP_LOG_FORM = 269 # Variable c_int
SCHAR_MIN = -128 # Variable c_int
AR_SERVER_STAT_FILTER_LOG = 37 # Variable c_int
# ar.h 337
class ARNamePtrList(Structure):
pass
ARNamePtrList._fields_ = [
# ar.h 337
('numItems', c_uint),
('namePtrList', POINTER(c_char_p)),
]
AR_SERVER_STAT_ESCL_NOTIFY = 44 # Variable c_int
AR_DATA_TYPE_ULONG = 40 # Variable c_int
AR_DPROP_NAVIGATION_MODE = 5117 # Variable c_int
AR_CURRENCY_PART_DATE = 3 # Variable c_int
# ar.h 5432
class ARSchemaInheritanceList(Structure):
pass
AR_MULTI_FORM_SEARCH_OPTION_NONE = 0 # Variable c_int
# ar.h 1406
class ARDisplayInstanceListPtrList(Structure):
pass
# ar.h 3195
class ARFieldCharacteristics(Structure):
pass
#ARULong32 = c_ulong
ARInternalId = ARULong32
# ar.h 1363
class ARPropList(Structure):
pass
# ar.h 1355
class ARPropStruct(BMCStructure):
pass
ARPropList._fields_ = pad_struct([
# ar.h 1363
('numItems', c_uint),
('props', POINTER(ARPropStruct)),
])
ARFieldCharacteristics._fields_ = [
# ar.h 3195
('option', c_uint),
('fieldId', ARInternalId),
('charMenu', c_char_p),
('props', ARPropList),
('focus', c_uint),
('accessOption', c_uint),
]
# ar.h 6887
class ARMultiSchemaFuncRelOpStruct(Structure):
pass
AR_FIELD_OPTION_FORCE_SYSTEM = 5 # Variable c_int
AR_MAX_SUBJECT_SIZE = 255 # Variable c_int
AR_SERVER_INFO_NEW_ENC_PUB_KEY = 297 # Variable c_int
# ar.h 3358
class ARActiveLinkActionList(Structure):
pass
# ar.h 910
class AREntryListFieldValueStruct(Structure):
pass
# ar.h 297
class AREntryIdList(Structure):
pass
AREntryIdType = c_char * 16
AREntryIdList._fields_ = [
# ar.h 297
('numItems', c_uint),
('entryIdList', POINTER(AREntryIdType)),
]
# ar.h 899
class ARFieldValueList(Structure):
pass
AREntryListFieldValueStruct._fields_ = [
# ar.h 910
('entryId', AREntryIdList),
('entryValues', POINTER(ARFieldValueList)),
]
AR_DPROP_IMAGE = 100 # Variable c_int
AR_VERCNTL_OBJ_RESERVATION_MODE_DISABLED = 0 # Variable c_int
# ar.h 370
class ARServerNameList(Structure):
pass
AR_MERGE_ENTRY_DUP_NEW_ID = 2 # Variable c_int
AR_LIST_SCHEMA_ALL = 0 # Variable c_int
AR_DVAL_AUTO_FIELD_NEW_COLUMN_OFF = 0 # Variable c_int
# ar.h 6591
class ARBulkEntryReturn(Structure):
pass
AR_FULLTEXTINFO_STATE = 5 # Variable c_int
# ar.h 3787
class ARCurrencyDetailList(Structure):
pass
# ar.h 3779
class ARCurrencyDetailStruct(Structure):
pass
ARCurrencyDetailList._fields_ = [
# ar.h 3787
('numItems', c_uint),
('currencyDetailList', POINTER(ARCurrencyDetailStruct)),
]
AR_SERVER_INFO_ORACLE_QUERY_ON_CLOB = 137 # Variable c_int
# ar.h 5439
class ARSchemaInheritanceListList(Structure):
pass
AR_SERVER_STAT_GETLIST_E_TIME = 29 # Variable c_int
AR_DVAL_COLOR_INSET1 = 'inset1' # Variable c_char_p
# ar.h 949
class AREntryListFieldFuncValueList(Structure):
pass
AR_BYTE_LIST_PNG = 10 # Variable c_int
AR_DPROP_VIEWFIELD_SCROLLBARS = 5024 # Variable c_int
AR_DPROP_LABEL = 20 # Variable c_int
AR_SERVER_INFO_FT_COLLECTION_DIR = 231 # Variable c_int
AR_REL_OP_LESS = 4 # Variable c_int
AR_SERVER_INFO_AP_LOG_FILE = 93 # Variable c_int
AR_DPROP_ALIAS_SINGULAR = 206 # Variable c_int
AR_PATTERN_KEY_LOWER = 106 # Variable c_int
AR_SERVER_INFO_ENC_PUB_KEY_ALG = 168 # Variable c_int
AR_SERVER_INFO_CURRENCY_INTERVAL = 175 # Variable c_int
AR_DVAL_PANE_VISIBLE = 1 # Variable c_int
AR_NO_MAX_LIST_RETRIEVE = 0 # Variable c_int
AR_DATA_TYPE_KEYWORD = 1 # Variable c_int
AR_MAX_PASSWORD_SIZE = 30 # Variable c_int
# ar.h 7097
class ARTaskCheckpointList(Structure):
pass
# ar.h 7086
class ARTaskCheckpoint(Structure):
pass
ARTaskCheckpointList._fields_ = [
# ar.h 7097
('numItems', c_uint),
('listPtr', POINTER(ARTaskCheckpoint)),
]
AR_IMPORT_OPT_OVERWRITE_DISP_PROPS = 16777216 # Variable c_int
AR_SERVER_INFO_SCC_TARGET_DIR = 105 # Variable c_int
AR_DVAL_AUTO_REFRESH_TABLE_MAX = 1 # Variable c_int
AR_LICENSE_TAG_RESV_INDEX = 1 # Variable c_int
AR_STRUCT_ITEM_IMAGE = 17 # Variable c_int
AR_FIELD = 1 # Variable c_int
AR_SIGNAL_APPLICATION_SIGNAL = 7 # Variable c_int
AR_DPROP_JOINT_STYLE = 43 # Variable c_int
AR_PLUGIN_LOG_ALL = 100 # Variable c_int
# ar.h 5266
class ARFieldMappingPtrList(Structure):
pass
# ar.h 5246
class ARFieldMappingStruct(Structure):
pass
ARFieldMappingPtrList._fields_ = [
# ar.h 5266
('numItems', c_uint),
('mappingPtrList', POINTER(POINTER(ARFieldMappingStruct))),
]
SECURITY_POLICY = 7 # Variable c_int
AR_DPROP_TABLE_PAGE_ARRAY_TOP_MARGIN = 5102 # Variable c_int
# ar.h 971
class ARFieldValueListList(Structure):
pass
ARFieldValueListList._fields_ = [
# ar.h 971
('numItems', c_uint),
('valueListList', POINTER(ARFieldValueList)),
]
# ar.h 7134
class ARTaskInfo(Structure):
pass
AR_DVAL_SPLITTER_HIDE = 0 # Variable c_int
AR_DPROP_LABEL_COLOR_LINE = 31 # Variable c_int
AR_REPORT_COL_TITLE_PER = 19 # Variable c_int
AR_SERVER_INFO_EMAIL_LINE_LEN = 84 # Variable c_int
AR_SERVER_INFO_OVERLAY_MODE = 340 # Variable c_int
AR_DVAL_VIEWFIELD_BORDERS_ENABLE = 2 # Variable c_int
AR_KEYWORD_LASTID = 13 # Variable c_int
# ar.h 5763
class ARExtReferenceStruct(BMCStructure):
pass
# ar.h 305
class ARInternalIdList(Structure):
pass
ARInternalIdList._fields_ = [
# ar.h 305
('numItems', c_uint),
('internalIdList', POINTER(ARInternalId)),
]
# ar.h 753
class ARValueStruct(BMCStructure):
pass
# ar.h 756
class N13ARValueStruct3DOLLAR_1E(BMCUnion):
pass
#size_t = c_uint
#ARLong32 = c_long
ARTimestamp = ARLong32
ARTime = ARLong32
# ar.h 422
class ARByteList(Structure):
pass
# ar.h 708
class ARAttachStruct(Structure):
pass
# ar.h 675
class ARCoordList(Structure):
pass
# ar.h 734
class ARCurrencyStruct(Structure):
pass
N13ARValueStruct3DOLLAR_1E._fields_ = [
# ar.h 756
('noval_', size_t),
('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)),
('ptrVal', c_void_p),
]
ARValueStruct._fields_ = pad_struct([
# ar.h 753
('dataType', c_uint),
('u', N13ARValueStruct3DOLLAR_1E),
])
ARExtReferenceStruct._fields_ = pad_struct([
# ar.h 5763
('permittedGroups', ARInternalIdList),
('value', ARValueStruct),
])
AR_KEYWORD_HOMEURL = 29 # Variable c_int
ARCONOWNER_SCHEMA = 2 # Variable c_int
AR_SERVER_INFO_SYBASE_CHARSET = 72 # Variable c_int
AR_FIELD_INHERITANCE = 5 # Variable c_int
AR_COM_PARM_NULL = 0 # Variable c_int
AR_KEY_OPERATION_SET = 'SET' # Variable c_char_p
# ar.h 1090
class ARFieldValueOrArithStruct(BMCStructure):
pass
# ar.h 3077
class ARFilterActionStruct(Structure):
pass
# ar.h 3080
class N20ARFilterActionStruct3DOLLAR_8E(Union):
pass
# ar.h 2927
class ARFilterActionNotify(Structure):
pass
# ar.h 2895
class ARFilterActionNotifyAdvanced(Structure):
pass
ARFilterActionNotify._fields_ = [
# ar.h 2927
('user', c_char_p),
('notifyText', c_char_p),
('notifyPriority', c_uint),
('notifyMechanism', c_uint),
('notifyMechanismXRef', ARInternalId),
('subjectText', c_char_p),
('fieldIdListType', c_uint),
('fieldIdList', ARInternalIdList),
('notifyBehavior', c_uint),
('notifyPermission', c_uint),
('notifyAdvanced', POINTER(ARFilterActionNotifyAdvanced)),
]
# ar.h 2944
class ARFilterStatusStruct(Structure):
pass
ARFilterStatusStruct._fields_ = [
# ar.h 2944
('messageType', c_uint),
('messageNum', ARLong32),
('messageText', c_char_p),
]
# ar.h 2978
class ARSetFieldsActionStruct(Structure):
pass
# ar.h 2769
class ARFieldAssignList(Structure):
pass
# ar.h 2761
class ARFieldAssignStruct(BMCStructure):
pass
ARFieldAssignList._fields_ = [
# ar.h 2769
('numItems', c_uint),
('fieldAssignList', POINTER(ARFieldAssignStruct)),
]
ARServerNameType = c_char * 65
ARNameType = c_char * 255
ARSetFieldsActionStruct._fields_ = [
# ar.h 2978
('fieldList', ARFieldAssignList),
('sampleServer', ARServerNameType),
('sampleSchema', ARNameType),
]
# ar.h 2969
class ARPushFieldsActionStruct(Structure):
pass
# ar.h 2961
class ARPushFieldsList(Structure):
pass
# ar.h 2953
class ARPushFieldsStruct(BMCStructure):
pass
ARPushFieldsList._fields_ = [
# ar.h 2961
('numItems', c_uint),
('pushFieldsList', POINTER(ARPushFieldsStruct)),
]
ARPushFieldsActionStruct._fields_ = [
# ar.h 2969
('pushFieldsList', ARPushFieldsList),
('sampleServer', ARServerNameType),
('sampleSchema', ARNameType),
]
# ar.h 2986
class ARSQLStruct(Structure):
pass
ARSQLStruct._fields_ = [
# ar.h 2986
('server', c_char * 65),
('command', c_char_p),
]
# ar.h 3008
class ARGotoActionStruct(Structure):
pass
ARGotoActionStruct._fields_ = [
# ar.h 3008
('tag', c_uint),
('fieldIdOrValue', ARULong32),
]
# ar.h 3016
class ARCallGuideStruct(Structure):
pass
ARCallGuideStruct._fields_ = [
# ar.h 3016
('serverName', ARServerNameType),
('guideName', ARNameType),
('guideMode', c_int),
('guideTableId', ARInternalId),
('inputValueFieldPairs', ARFieldAssignList),
('outputValueFieldPairs', ARFieldAssignList),
('sampleServer', ARServerNameType),
('sampleGuide', ARNameType),
]
# ar.h 3036
class ARExitGuideStruct(Structure):
pass
ARBoolean = c_ubyte
ARExitGuideStruct._fields_ = [
# ar.h 3036
('closeAll', ARBoolean),
]
# ar.h 3042
class ARGotoGuideLabelStruct(Structure):
pass
ARGotoGuideLabelStruct._fields_ = [
# ar.h 3042
('label', c_char_p),
]
# ar.h 3048
class ARSvcActionStruct(Structure):
pass
ARSvcActionStruct._fields_ = [
# ar.h 3048
('serverName', ARServerNameType),
('serviceSchema', ARNameType),
('requestIdMap', ARInternalId),
('inputFieldMapping', ARFieldAssignList),
('outputFieldMapping', ARFieldAssignList),
('sampleServer', ARServerNameType),
('sampleSchema', ARNameType),
]
N20ARFilterActionStruct3DOLLAR_8E._fields_ = [
# ar.h 3080
('notify', ARFilterActionNotify),
('message', ARFilterStatusStruct),
('logFile', c_char_p),
('setFields', ARSetFieldsActionStruct),
('process', c_char_p),
('pushFields', ARPushFieldsActionStruct),
('sqlCommand', ARSQLStruct),
('gotoAction', ARGotoActionStruct),
('callGuide', ARCallGuideStruct),
('exitGuide', ARExitGuideStruct),
('gotoGuide', ARGotoGuideLabelStruct),
('serviceAction', ARSvcActionStruct),
]
ARFilterActionStruct._fields_ = [
# ar.h 3077
('action', c_uint),
('u', N20ARFilterActionStruct3DOLLAR_8E),
]
AR_DPROP_DETAIL_PANE_VISIBILITY = 163 # Variable c_int
AR_CLIENT_TYPE_DIST = 16 # Variable c_int
AR_COREFIELD_LENGTH_FACTOR = 4 # Variable c_int
# ar.h 5807
class ARReferenceTypeList(Structure):
pass
AR_CHAR_MENU_DD_FORMAT_L_NAME = 11 # Variable c_int
SCHAR_MAX = 127 # Variable c_int
CHAR_MAX = SCHAR_MAX # alias
# ar.h 3572
class ARUserInfoList(Structure):
pass
# ar.h 2869
class ARFunctionAssignStruct(Structure):
pass
AR_SERVER_STAT_FILTER_MESSAGE = 36 # Variable c_int
AR_QUERY_VALUE_MULTI_SET = 3 # Variable c_int
AR_SERVER_INFO_USE_CON_NAME_IN_STATS = 248 # Variable c_int
AR_SERVER_INFO_DISABLE_ESCALATIONS = 143 # Variable c_int
# ar.h 5128
class ARStatusHistoryList(Structure):
pass
# ar.h 5121
class ARStatusHistoryStruct(Structure):
pass
ARStatusHistoryList._fields_ = [
# ar.h 5128
('numItems', c_uint),
('statHistList', POINTER(ARStatusHistoryStruct)),
]
AR_SERVER_INFO_LICENSE_USAGE = 282 # Variable c_int
AR_MAX_GROUPLIST_SIZE = 255 # Variable c_int
# ar.h 6795
class ARMultiSchemaFieldFuncList(Structure):
pass
AR_DVAL_AUTO_FIELD_REGULAR = 0 # Variable c_int
AR_DPROP_PANEL_FIT_TO_CONTENT = 309 # Variable c_int
LONG_MIN = -2147483648 # Variable c_long
ARLONG32_MIN = LONG_MIN # alias
# ar.h 6389
class ARComplexEntryGetInList(Structure):
pass
# ar.h 6397
class ARComplexEntryGetIn(Structure):
pass
ARComplexEntryGetInList._fields_ = [
# ar.h 6389
('numItems', c_uint),
('list', POINTER(ARComplexEntryGetIn)),
]
# ar.h 941
class AREntryListFieldFuncValueStruct(Structure):
pass
AR_DVAL_ENABLE_DISABLE = 3 # Variable c_int
AR_ACCESS_OPTION_DISABLE = AR_DVAL_ENABLE_DISABLE # alias
AR_DPROP_AUTO_RESIZE = 323 # Variable c_int
AR_DPROP_TABLE_ROOT_NODE_ALT_TEXT = 5114 # Variable c_int
MAX_CLIENT_MANAGED_TRANSACTIONS_TIMEOUT = 600 # Variable c_int
# ar.h 3402
class ARPermissionListPtrList(Structure):
pass
# ar.h 3388
class ARPermissionList(Structure):
pass
ARPermissionListPtrList._fields_ = [
# ar.h 3402
('numItems', c_uint),
('permissionListPtrList', POINTER(POINTER(ARPermissionList))),
]
ARREF_FLASH_VARIABLE_DEF = 32796 # Variable c_int
AR_DPROP_MENU_PARENT = 123 # Variable c_int
AR_PREF_SERVER_USE_NOT_THIS_SERVER = 3 # Variable c_int
AR_EXECUTE_ON_HOVER_FIELD_LABEL = 4194304 # Variable c_int
AR_FT_MFS_INDEX_TABLE_FIELD_OPTION_NO = 0 # Variable c_int
AR_DPROP_APPLIST_MODE = 5120 # Variable c_int
AR_SERVER_INFO_ARFORK_LOG_FILE = 123 # Variable c_int
AR_MFS_WEIGHTED_RELEVANCY_ENVIRONMENT_FIELD_TAG = 2 # Variable c_int
AR_DVAL_LOCALIZE_FIELD_ALL = 1 # Variable c_int
AR_DPROP_PAGEHOLDER_DISPLAY_TYPE = 273 # Variable c_int
AR_WRITE_TO_FILE = 1 # Variable c_int
AR_MAX_FLATFILE_LIMIT = 10000000 # Variable c_int
ARREF_APPLICATION_HELP_FILE_NAME5 = 32818 # Variable c_int
def AR_NELEM(a): return (sizeof(a)/sizeof((a)[0])) # macro
AR_SERVER_STAT_DELETE_E_COUNT = 24 # Variable c_int
# ar.h 891
class ARFieldValueStruct(BMCStructure):
pass
ARFieldValueList._fields_ = [
# ar.h 899
('numItems', c_uint),
('fieldValueList', POINTER(ARFieldValueStruct)),
]
AR_ENTRYPOINT_BROWSER_TYPE_NN4 = 2 # Variable c_int
AR_DVAL_PAGE_FIELD_EDITABLE = 1 # Variable c_int
ARREF_APP_DATA_MERGE_IMP_OPTION = 32842 # Variable c_int
AR_SIGNAL_DSO_SIGNAL = 5 # Variable c_int
AR_DVAL_SECTOR_NORTH = 2 # Variable c_int
# ar.h 3605
class ARRealLimitsStruct(BMCStructure):
pass
ARRealLimitsStruct._fields_ = pad_struct([
# ar.h 3605
('rangeLow', c_double),
('rangeHigh', c_double),
('precision', c_int),
])
# ar.h 1243
class ARIndexList(Structure):
pass
# ar.h 1232
class ARIndexStruct(Structure):
pass
ARIndexList._fields_ = [
# ar.h 1243
('numItems', c_uint),
('indexList', POINTER(ARIndexStruct)),
]
AR_SERVER_INFO_DB_NAME = 9 # Variable c_int
_UI8_MAX = 255 # Variable c_uint
AR_BYTE_LIST_AUTH_STRING = 7 # Variable c_int
AR_SVR_EVENT_CHG_SCHEMA = 1 # Variable c_int
AR_SVR_EVENT_USER_MODIFIED = 1 # Variable c_int
# ar.h 6063
class ARFieldInfoList(Structure):
pass
# ar.h 6041
class ARFieldInfoStruct(Structure):
pass
ARFieldInfoList._fields_ = [
# ar.h 6063
('numItems', c_uint),
('fieldList', POINTER(ARFieldInfoStruct)),
]
ARCONOWNER_ALL = 1 # Variable c_int
AR_LIST_SCHEMA_ALL_WITH_DATA = 7 # Variable c_int
AR_SERVER_INFO_LOG_FORM_SELECTED = 284 # Variable c_int
AR_DVAL_CNTL_A_MENU = 5 # Variable c_int
AR_SERVER_STAT_NUM_THREADS = 63 # Variable c_int
AR_KEY_OPERATION_ERRHANDLE = 'ERROR-HANDLER' # Variable c_char_p
AR_DVAL_AUTO_FIELD_NEW_SECTION_ON = 1 # Variable c_int
AR_DPROP_PAGE_FIELD_TYPE = 181 # Variable c_int
# ar.h 3988
class ARCharMenuStructList(Structure):
pass
# ar.h 3679
class AREnumQueryStruct(Structure):
pass
AR_SERVER_INFO_ACTLINK_SHELL = 98 # Variable c_int
# ar.h 6893
class ARMultiSchemaQualifierStruct(Structure):
pass
# ar.h 6895
class N28ARMultiSchemaQualifierStruct4DOLLAR_28E(Union):
pass
# ar.h 6858
class ARMultiSchemaAndOrStruct(Structure):
pass
ARMultiSchemaAndOrStruct._fields_ = [
# ar.h 6858
('operandLeft', POINTER(ARMultiSchemaQualifierStruct)),
('operandRight', POINTER(ARMultiSchemaQualifierStruct)),
]
# ar.h 6881
class ARMultiSchemaRelOpStruct(BMCStructure):
pass
# ar.h 6770
class ARMultiSchemaFieldIdStruct(Structure):
pass
ARMultiSchemaFieldIdStruct._fields_ = [
# ar.h 6770
('queryFromAlias', ARNameType),
('fieldId', ARInternalId),
]
N28ARMultiSchemaQualifierStruct4DOLLAR_28E._fields_ = [
# ar.h 6895
('andor', ARMultiSchemaAndOrStruct),
('notQual', POINTER(ARMultiSchemaQualifierStruct)),
('relOp', POINTER(ARMultiSchemaRelOpStruct)),
('fieldId', ARMultiSchemaFieldIdStruct),
]
ARMultiSchemaQualifierStruct._fields_ = [
# ar.h 6893
('operation', c_uint),
('u', N28ARMultiSchemaQualifierStruct4DOLLAR_28E),
]
AR_SERVER_INFO_ATRIUMSSO_PASSWORD = 346 # Variable c_int
AR_FUNCTION_MONTH = 3 # Variable c_int
AR_LOG_TO_FORM_SERVGROUP = 256 # Variable c_int
AR_MAX_LICENSE_KEY_SIZE = 30 # Variable c_int
AR_FT_STRIP_TAGS_OPTION_NO = 0 # Variable c_int
AR_DSO_ERROR_RETRY_STANDARD_DB = 3 # Variable c_int
AR_SERVER_INFO_REM_WKFLW_TARGET_PASSWD = 165 # Variable c_int
AR_SIGNAL_USER_CACHE_CHANGED = 6 # Variable c_int
AR_ALERT_SOURCE_AR = 2 # Variable c_int
ARMAX_CON_DESCRIPTION_LEN = 2000 # Variable c_int
AR_CLIENT_TYPE_FT_TEXT_READER = 37 # Variable c_int
AR_SERVER_INFO_CONFIG_FILE = 198 # Variable c_int
AR_BULK_ENTRY_MERGE = 4 # Variable c_int
# ar.h 431
class ARLocalizationInfo(Structure):
pass
# ar.h 5404
class ARDataMappingInfoStruct(Structure):
pass
ARDataMappingInfoStruct._fields_ = [
# ar.h 5404
('id', c_uint),
('name', ARNameType),
('primaryKeyIndexName', ARNameType),
('foreignKeyFieldIdList', ARInternalIdList),
('opMask', c_uint),
('readOrder', c_uint),
('writeOrder', c_uint),
]
AR_DPROP_CHARFIELD_AUTO_COMPLETE = 68 # Variable c_int
AR_SERVER_INFO_MAX_L_DAEMONS = 30 # Variable c_int
# ar.h 6954
class ARMultiSchemaFuncQueryFromList(Structure):
pass
AR_LOCALIZE_FORM_VIEWS_SKIP = 0 # Variable c_int
AR_ACTIVE_LINK_ACTION_OPEN_DSPLY_DETAIL = 7 # Variable c_int
AR_SERVER_INFO_UNQUAL_QUERIES = 20 # Variable c_int
# ar.h 3231
class ARCloseWndStruct(Structure):
pass
ARCloseWndStruct._fields_ = [
# ar.h 3231
('closeAll', ARBoolean),
]
AR_STRUCT_ITEM_XML_SCHEMA = 1073741825 # Variable c_int
_I32_MIN = -2147483648 # Variable c_long
AR_FULLTEXTINFO_COLLECTION_DIR = 1 # Variable c_int
# ar.h 5397
class ARCompoundSchemaList(Structure):
pass
# ar.h 5385
class ARCompoundSchema(Structure):
pass
ARCompoundSchemaList._fields_ = [
# ar.h 5397
('numItems', c_uint),
('compoundSchema', POINTER(ARCompoundSchema)),
]
AR_SESS_OVERRIDE_PREV_IP = 9 # Variable c_int
AR_DVAL_CNTL_VERTICALNAV = 256 # Variable c_int
# ar.h 349
class ARAccessNameList(Structure):
pass
ARAccessNameType = c_char * 255
ARAccessNameList._fields_ = [
# ar.h 349
('numItems', c_uint),
('nameList', POINTER(ARAccessNameType)),
]
# ar.h 7018
class ARMultiSchemaSortList(Structure):
pass
# ar.h 6905
class N32ARMultiSchemaFuncQualifierStruct4DOLLAR_29E(Union):
pass
# ar.h 6864
class ARMultiSchemaFuncAndOrStruct(Structure):
pass
# ar.h 6903
class ARMultiSchemaFuncQualifierStruct(Structure):
pass
ARMultiSchemaFuncAndOrStruct._fields_ = [
# ar.h 6864
('operandLeft', POINTER(ARMultiSchemaFuncQualifierStruct)),
('operandRight', POINTER(ARMultiSchemaFuncQualifierStruct)),
]
# ar.h 6784
class ARMultiSchemaFieldFuncStruct(Structure):
pass
ARMultiSchemaFieldFuncStruct._fields_ = [
# ar.h 6784
('queryFromAlias', ARNameType),
('fieldId', ARInternalId),
('funcId', c_int),
]
N32ARMultiSchemaFuncQualifierStruct4DOLLAR_29E._fields_ = [
# ar.h 6905
('andor', ARMultiSchemaFuncAndOrStruct),
('notQual', POINTER(ARMultiSchemaFuncQualifierStruct)),
('relOp', POINTER(ARMultiSchemaFuncRelOpStruct)),
('fieldFunc', ARMultiSchemaFieldFuncStruct),
]
AR_DPROP_ALIAS_SHORT_SINGULAR = 208 # Variable c_int
AR_KEYWORD_GROUPS = 8 # Variable c_int
AR_SVR_EVENT_IMPORT_SET_OBJECT = 0 # Variable c_int
AR_SERVER_INFO_DS_RPC_SOCKET = 45 # Variable c_int
AR_XML_DOC_FILE_NAME = 2 # Variable c_int
AR_FULL_TEXT_SEARCH_CASE_SENSITIVE = 0 # Variable c_int
AR_QUERY_VALUE_MULTI_FIRST = 2 # Variable c_int
# ar.h 289
class ARTextString(Structure):
pass
ARTextString._fields_ = [
# ar.h 289
('length', c_uint),
('string', c_char_p),
]
# ar.h 7081
class ARTaskCheckpointObjList(Structure):
pass
# ar.h 7072
class ARTaskCheckpointObj(Structure):
pass
ARTaskCheckpointObjList._fields_ = [
# ar.h 7081
('numItems', c_uint),
('listPtr', POINTER(ARTaskCheckpointObj)),
]
ARTaskCheckpoint._fields_ = [
# ar.h 7086
('taskId', ARInternalId),
('checkpointId', ARInternalId),
('checkpointName', ARNameType),
('timestamp', ARTimestamp),
('description', ARTextString),
('objPropList', ARPropList),
('cpObjNodeList', ARTaskCheckpointObjList),
]
AR_SERVER_INFO_LOG_TO_FORM = 262 # Variable c_int
# ar.h 925
class ARFieldFuncValueStruct(Structure):
pass
ARFieldFuncValueStruct._fields_ = [
# ar.h 925
('fieldId', ARInternalId),
('funcId', c_int),
('value', ARValueStruct),
]
AR_FUNCTION_MINUTE = 8 # Variable c_int
# ar.h 6618
class AREntryBlockList(Structure):
pass
AR_SERVER_INFO_SAVE_LOGIN = 50 # Variable c_int
AR_CLIENT_TYPE_LABEL = 4010 # Variable c_int
# ar.h 386
class ARTimestampList(Structure):
pass
# ar.h 6938
class N32ARMultiSchemaFuncQueryFromStruct4DOLLAR_31E(Union):
pass
# ar.h 6991
class ARMultiSchemaNestedFuncQueryStruct(Structure):
pass
# ar.h 6974
class ARMultiSchemaRecursiveFuncQueryStruct(Structure):
pass
N32ARMultiSchemaFuncQueryFromStruct4DOLLAR_31E._fields_ = [
# ar.h 6938
('schemaName', ARNameType),
('nestedQuery', POINTER(ARMultiSchemaNestedFuncQueryStruct)),
('recursiveQuery', POINTER(ARMultiSchemaRecursiveFuncQueryStruct)),
]
AR_ENUM_STYLE_REGULAR = 1 # Variable c_int
AR_DPROP_TABLE_DISPLAY_TYPE = 5001 # Variable c_int
AR_ASSIGN_TYPE_DDE = 6 # Variable c_int
# ar.h 3225
class ARCommitChangesStruct(Structure):
pass
AR_DVAL_ALIGNED_RIGHT = 1 # Variable c_int
AR_DPROP_ENTRYPOINT_LABEL_DEFAULT_SEARCH = 5027 # Variable c_int
AR_KEYWORD_CURRENTWINID = 33 # Variable c_int
AR_MAX_MENU_ITEMS = 199 # Variable c_int
AR_DPROP_AUTO_FIELD_NEW_COLUMN = 262 # Variable c_int
AR_DPROP_TABLE_AUTOREFRESH = 5010 # Variable c_int
AR_SERVER_INFO_ENC_SEC_POLICY = 133 # Variable c_int
AR_CURRENCY_CODE_LEN = 3 # Variable c_int
# ar.h 6464
class ARComplexEntrySet(Structure):
pass
ARFieldValueStruct._fields_ = pad_struct([
# ar.h 891
('fieldId', ARInternalId),
('value', ARValueStruct),
])
# ar.h 6457
class ARComplexEntrySetList(Structure):
pass
ARComplexEntrySetList._fields_ = [
# ar.h 6457
('numItems', c_int),
('list', POINTER(ARComplexEntrySet)),
]
ARComplexEntrySet._fields_ = [
# ar.h 6464
('formName', ARNameType),
('serverName', ARServerNameType),
('primaryKey', ARFieldValueStruct),
('distinguishingKey', ARFieldValueStruct),
('foreignKeyFieldId', ARInternalId),
('parent', POINTER(ARComplexEntrySet)),
('children', ARComplexEntrySetList),
('fieldValueList', ARFieldValueList),
]
AR_DVAL_COLOR_EDIT_FG = 'edit_fg' # Variable c_char_p
AR_DVAL_SECTOR_SOUTH = 8 # Variable c_int
AR_SERVER_INFO_REGISTRY_PASSWORD = 318 # Variable c_int
AR_DVAL_ALIGNED_LEFT = 0 # Variable c_int
AR_AUDIT_COPY = 1 # Variable c_int
AR_ACTIVE_LINK_ACTION_COMMITC = 11 # Variable c_int
AR_SERVER_STAT_NO_WRITE_TOKEN = 3 # Variable c_int
AR_MENU_OVERWRITE = 2 # Variable c_int
AR_DVAL_AUTO_COMPLETE_MATCH_BY_LABEL = 1 # Variable c_int
# ar.h 3810
class N18ARFieldLimitStruct4DOLLAR_11E(BMCUnion):
pass
# ar.h 3596
class ARIntegerLimitsStruct(Structure):
pass
ARIntegerLimitsStruct._fields_ = [
# ar.h 3596
('rangeLow', ARLong32),
('rangeHigh', ARLong32),
]
# ar.h 3636
class ARCharLimitsStruct(Structure):
pass
ARCharLimitsStruct._fields_ = [
# ar.h 3636
('maxLength', c_uint),
('menuStyle', c_uint),
('qbeMatchOperation', c_uint),
('charMenu', ARNameType),
('pattern', c_char_p),
('fullTextOptions', c_uint),
('lengthUnits', c_uint),
('storageOptionForCLOB', c_uint),
]
# ar.h 3655
class ARDiaryLimitsStruct(Structure):
pass
ARDiaryLimitsStruct._fields_ = [
# ar.h 3655
('fullTextOptions', c_uint),
]
# ar.h 3689
class AREnumLimitsStruct(Structure):
pass
# ar.h 3692
class N18AREnumLimitsStruct4DOLLAR_10E(Union):
pass
# ar.h 329
class ARNameList(Structure):
pass
ARNameList._fields_ = [
# ar.h 329
('numItems', c_uint),
('nameList', POINTER(ARNameType)),
]
# ar.h 3672
class AREnumItemList(Structure):
pass
# ar.h 3665
class AREnumItemStruct(Structure):
pass
AREnumItemList._fields_ = [
# ar.h 3672
('numItems', c_uint),
('enumItemList', POINTER(AREnumItemStruct)),
]
# ar.h 1163
class ARQualifierStruct(Structure):
pass
# ar.h 1166
class N17ARQualifierStruct3DOLLAR_3E(Union):
pass
# ar.h 1153
class ARAndOrStruct(Structure):
pass
ARAndOrStruct._fields_ = [
# ar.h 1153
('operandLeft', POINTER(ARQualifierStruct)),
('operandRight', POINTER(ARQualifierStruct)),
]
# ar.h 1138
class ARRelOpStruct(BMCStructure):
pass
N17ARQualifierStruct3DOLLAR_3E._fields_ = [
# ar.h 1166
('andor', ARAndOrStruct),
('notQual', POINTER(ARQualifierStruct)),
('relOp', POINTER(ARRelOpStruct)),
('fieldId', ARInternalId),
]
ARQualifierStruct._fields_ = [
# ar.h 1163
('operation', c_uint),
('u', N17ARQualifierStruct3DOLLAR_3E),
]
AREnumQueryStruct._fields_ = [
# ar.h 3679
('schema', ARNameType),
('server', c_char * 65),
('qualifier', ARQualifierStruct),
('nameField', ARInternalId),
('numberField', ARInternalId),
]
N18AREnumLimitsStruct4DOLLAR_10E._fields_ = [
# ar.h 3692
('regularList', ARNameList),
('customList', AREnumItemList),
('queryList', AREnumQueryStruct),
]
AREnumLimitsStruct._fields_ = [
# ar.h 3689
('listStyle', c_uint),
('u', N18AREnumLimitsStruct4DOLLAR_10E),
]