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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
/* automatically generated by rust-bindgen 0.70.1 */

pub const CanSuccess: u32 = 0;
pub const DnetSuccess: u32 = 0;
pub const NC_ATTR_STATE: u32 = 2147483657;
pub const NC_ATTR_STATUS: u32 = 2147483658;
pub const NC_ATTR_BAUD_RATE: u32 = 2147483655;
pub const NC_ATTR_START_ON_OPEN: u32 = 2147483654;
pub const NC_ATTR_ABS_TIME: u32 = 2147483656;
pub const NC_ATTR_PERIOD: u32 = 2147483663;
pub const NC_ATTR_TIMESTAMPING: u32 = 2147483664;
pub const NC_ATTR_READ_PENDING: u32 = 2147483665;
pub const NC_ATTR_WRITE_PENDING: u32 = 2147483666;
pub const NC_ATTR_READ_Q_LEN: u32 = 2147483667;
pub const NC_ATTR_WRITE_Q_LEN: u32 = 2147483668;
pub const NC_ATTR_RX_CHANGES_ONLY: u32 = 2147483669;
pub const NC_ATTR_COMM_TYPE: u32 = 2147483670;
pub const NC_ATTR_RTSI_MODE: u32 = 2147483671;
pub const NC_ATTR_RTSI_SIGNAL: u32 = 2147483672;
pub const NC_ATTR_RTSI_SIG_BEHAV: u32 = 2147483673;
pub const NC_ATTR_RTSI_FRAME: u32 = 2147483680;
pub const NC_ATTR_RTSI_SKIP: u32 = 2147483681;
pub const NC_ATTR_COMP_STD: u32 = 2147549185;
pub const NC_ATTR_MASK_STD: u32 = 2147549186;
pub const NC_ATTR_COMP_XTD: u32 = 2147549187;
pub const NC_ATTR_MASK_XTD: u32 = 2147549188;
pub const NC_ATTR_TX_RESPONSE: u32 = 2147549190;
pub const NC_ATTR_DATA_LEN: u32 = 2147549191;
pub const NC_ATTR_LOG_COMM_ERRS: u32 = 2147549194;
pub const NC_ATTR_NOTIFY_MULT_LEN: u32 = 2147549195;
pub const NC_ATTR_RX_Q_LEN: u32 = 2147549196;
pub const NC_ATTR_VIRTUAL_BUS_TIMING: u32 = 2684354609;
pub const NC_ATTR_TRANSMIT_MODE: u32 = 2147614761;
pub const NC_ATTR_LOG_START_TRIGGER: u32 = 2147614769;
pub const NC_ATTR_TIMESTAMP_FORMAT: u32 = 2147614770;
pub const NC_ATTR_MASTER_TIMEBASE_RATE: u32 = 2147614771;
pub const NC_ATTR_WRITE_ENTRIES_FREE: u32 = 2147614772;
pub const NC_ATTR_TIMELINE_RECOVERY: u32 = 2147614773;
pub const NC_ATTR_LOG_BUS_ERROR: u32 = 2147614775;
pub const NC_ATTR_LOG_TRANSCEIVER_FAULT: u32 = 2147614776;
pub const NC_ATTR_TERMINATION: u32 = 2147614785;
pub const NC_ATTR_LIN_SLEEP: u32 = 2147614786;
pub const NC_ATTR_LIN_CHECKSUM_TYPE: u32 = 2147614787;
pub const NC_ATTR_LIN_RESPONSE_TIMEOUT: u32 = 2147614788;
pub const NC_ATTR_LIN_ENABLE_DLC_CHECK: u32 = 2147614789;
pub const NC_ATTR_LIN_LOG_WAKEUP: u32 = 2147614790;
pub const NC_ATTR_LISTEN_ONLY: u32 = 2147549200;
pub const NC_ATTR_RX_ERROR_COUNTER: u32 = 2147549201;
pub const NC_ATTR_TX_ERROR_COUNTER: u32 = 2147549202;
pub const NC_ATTR_SERIES2_COMP: u32 = 2147549203;
pub const NC_ATTR_SERIES2_MASK: u32 = 2147549204;
pub const NC_ATTR_SERIES2_FILTER_MODE: u32 = 2147549205;
pub const NC_ATTR_SELF_RECEPTION: u32 = 2147549206;
pub const NC_ATTR_SINGLE_SHOT_TX: u32 = 2147549207;
pub const NC_ATTR_BEHAV_FINAL_OUT: u32 = 2147549208;
pub const NC_ATTR_TRANSCEIVER_MODE: u32 = 2147549209;
pub const NC_ATTR_TRANSCEIVER_EXTERNAL_OUT: u32 = 2147549210;
pub const NC_ATTR_TRANSCEIVER_EXTERNAL_IN: u32 = 2147549211;
pub const NC_ATTR_SERIES2_ERR_ARB_CAPTURE: u32 = 2147549212;
pub const NC_ATTR_TRANSCEIVER_TYPE: u32 = 2147614727;
pub const NC_ATTR_NUM_CARDS: u32 = 2147614722;
pub const NC_ATTR_HW_SERIAL_NUM: u32 = 2147614723;
pub const NC_ATTR_HW_FORMFACTOR: u32 = 2147614724;
pub const NC_ATTR_HW_SERIES: u32 = 2147614725;
pub const NC_ATTR_NUM_PORTS: u32 = 2147614726;
pub const NC_ATTR_HW_TRANSCEIVER: u32 = 2147614727;
pub const NC_ATTR_INTERFACE_NUM: u32 = 2147614728;
pub const NC_ATTR_VERSION_MAJOR: u32 = 2147614729;
pub const NC_ATTR_VERSION_MINOR: u32 = 2147614730;
pub const NC_ATTR_VERSION_UPDATE: u32 = 2147614731;
pub const NC_ATTR_VERSION_PHASE: u32 = 2147614732;
pub const NC_ATTR_VERSION_BUILD: u32 = 2147614733;
pub const NC_ATTR_VERSION_COMMENT: u32 = 2147614734;
pub const NC_ATTR_PROTOCOL: u32 = 2147483649;
pub const NC_ATTR_PROTOCOL_VERSION: u32 = 2147483650;
pub const NC_ATTR_SOFTWARE_VERSION: u32 = 2147483651;
pub const NC_ATTR_BKD_READ_SIZE: u32 = 2147483659;
pub const NC_ATTR_BKD_WRITE_SIZE: u32 = 2147483660;
pub const NC_ATTR_BKD_TYPE: u32 = 2147483661;
pub const NC_ATTR_BKD_WHEN_USED: u32 = 2147483662;
pub const NC_ATTR_BKD_PERIOD: u32 = 2147483663;
pub const NC_ATTR_BKD_CHANGES_ONLY: u32 = 2147483669;
pub const NC_ATTR_SERIAL_NUMBER: u32 = 2147483808;
pub const NC_ATTR_CAN_BIT_TIMINGS: u32 = 2147549189;
pub const NC_ATTR_BKD_CAN_RESPONSE: u32 = 2147549190;
pub const NC_ATTR_CAN_DATA_LENGTH: u32 = 2147549191;
pub const NC_ATTR_CAN_COMP_STD: u32 = 2147549185;
pub const NC_ATTR_CAN_MASK_STD: u32 = 2147549186;
pub const NC_ATTR_CAN_COMP_XTD: u32 = 2147549187;
pub const NC_ATTR_CAN_MASK_XTD: u32 = 2147549188;
pub const NC_ATTR_CAN_TX_RESPONSE: u32 = 2147549190;
pub const NC_ATTR_NOTIFY_MULT_SIZE: u32 = 2147549195;
pub const NC_ATTR_RESET_ON_START: u32 = 2147549192;
pub const NC_ATTR_NET_SYNC_COUNT: u32 = 2147549197;
pub const NC_ATTR_IS_NET_SYNC: u32 = 2147549198;
pub const NC_ATTR_START_TRIG_BEHAVIOR: u32 = 2147549219;
pub const NC_BKD_TYPE_PEER2PEER: u32 = 1;
pub const NC_BKD_TYPE_REQUEST: u32 = 2;
pub const NC_BKD_TYPE_RESPONSE: u32 = 3;
pub const NC_BKD_WHEN_PERIODIC: u32 = 1;
pub const NC_BKD_WHEN_UNSOLICITED: u32 = 2;
pub const NC_BKD_CAN_ZERO_SIZE: u32 = 32768;
pub const NC_TRUE: u32 = 1;
pub const NC_FALSE: u32 = 0;
pub const NC_DURATION_NONE: u32 = 0;
pub const NC_DURATION_INFINITE: u32 = 4294967295;
pub const NC_DURATION_1MS: u32 = 1;
pub const NC_DURATION_10MS: u32 = 10;
pub const NC_DURATION_100MS: u32 = 100;
pub const NC_DURATION_1SEC: u32 = 1000;
pub const NC_DURATION_10SEC: u32 = 10000;
pub const NC_DURATION_100SEC: u32 = 100000;
pub const NC_DURATION_1MIN: u32 = 60000;
pub const NC_PROTOCOL_CAN: u32 = 1;
pub const NC_PROTOCOL_DNET: u32 = 2;
pub const NC_PROTOCOL_LIN: u32 = 3;
pub const NC_ST_READ_AVAIL: u32 = 1;
pub const NC_ST_WRITE_SUCCESS: u32 = 2;
pub const NC_ST_ESTABLISHED: u32 = 8;
pub const NC_ST_STOPPED: u32 = 4;
pub const NC_ST_ERROR: u32 = 16;
pub const NC_ST_WARNING: u32 = 32;
pub const NC_ST_READ_MULT: u32 = 8;
pub const NC_ST_REMOTE_WAKEUP: u32 = 64;
pub const NC_ST_WRITE_MULT: u32 = 128;
pub const NC_OP_START: u32 = 2147483649;
pub const NC_OP_STOP: u32 = 2147483650;
pub const NC_OP_RESET: u32 = 2147483651;
pub const NC_OP_ACTIVE: u32 = 2147483652;
pub const NC_OP_IDLE: u32 = 2147483653;
pub const NC_OP_RTSI_OUT: u32 = 2147483652;
pub const NC_BAUD_10K: u32 = 10000;
pub const NC_BAUD_100K: u32 = 100000;
pub const NC_BAUD_125K: u32 = 125000;
pub const NC_BAUD_250K: u32 = 250000;
pub const NC_BAUD_500K: u32 = 500000;
pub const NC_BAUD_1000K: u32 = 1000000;
pub const NC_CAN_COMM_RX_UNSOL: u32 = 0;
pub const NC_CAN_COMM_TX_BY_CALL: u32 = 1;
pub const NC_CAN_COMM_RX_PERIODIC: u32 = 2;
pub const NC_CAN_COMM_TX_PERIODIC: u32 = 3;
pub const NC_CAN_COMM_RX_BY_CALL: u32 = 4;
pub const NC_CAN_COMM_TX_RESP_ONLY: u32 = 5;
pub const NC_CAN_COMM_TX_WAVEFORM: u32 = 6;
pub const NC_RTSI_NONE: u32 = 0;
pub const NC_RTSI_TX_ON_IN: u32 = 1;
pub const NC_RTSI_TIME_ON_IN: u32 = 2;
pub const NC_RTSI_OUT_ON_RX: u32 = 3;
pub const NC_RTSI_OUT_ON_TX: u32 = 4;
pub const NC_RTSI_OUT_ACTION_ONLY: u32 = 5;
pub const NC_RTSISIG_PULSE: u32 = 0;
pub const NC_RTSISIG_TOGGLE: u32 = 1;
pub const NC_START_TRIG_NONE: u32 = 0;
pub const NC_RESET_TIMESTAMP_ON_START: u32 = 1;
pub const NC_LOG_START_TRIG: u32 = 2;
pub const NC_FL_CAN_ARBID_XTD: u32 = 536870912;
pub const NC_CAN_ARBID_NONE: u32 = 3489660927;
pub const NC_FRMTYPE_DATA: u32 = 0;
pub const NC_FRMTYPE_REMOTE: u32 = 1;
pub const NC_FRMTYPE_COMM_ERR: u32 = 2;
pub const NC_FRMTYPE_RTSI: u32 = 3;
pub const NC_FRMTYPE_TRIG_START: u32 = 4;
pub const NC_FRMTYPE_DELAY: u32 = 5;
pub const NC_FRMTYPE_BUS_ERR: u32 = 6;
pub const NC_FRMTYPE_TRANSCEIVER_ERR: u32 = 7;
pub const NC_FRMTYPE_LIN_RESPONSE_ENTRY: u32 = 16;
pub const NC_FRMTYPE_LIN_HEADER: u32 = 17;
pub const NC_FRMTYPE_LIN_FULL: u32 = 18;
pub const NC_FRMTYPE_LIN_WAKEUP_RECEIVED: u32 = 19;
pub const NC_FRMTYPE_LIN_BUS_INACTIVE: u32 = 20;
pub const NC_FRMTYPE_LIN_BUS_ERR: u32 = 21;
pub const NC_MASK_STD_MUSTMATCH: u32 = 2047;
pub const NC_MASK_XTD_MUSTMATCH: u32 = 536870911;
pub const NC_MASK_STD_DONTCARE: u32 = 0;
pub const NC_MASK_XTD_DONTCARE: u32 = 0;
pub const NC_SERIES2_MASK_MUSTMATCH: u32 = 0;
pub const NC_SERIES2_MASK_DONTCARE: u32 = 4294967295;
pub const NC_HW_SERIES_1: u32 = 0;
pub const NC_HW_SERIES_2: u32 = 1;
pub const NC_HW_SERIES_847X: u32 = 2;
pub const NC_HW_SERIES_847X_SYNC: u32 = 3;
pub const NC_HW_SERIES_NIXNET: u32 = 4;
pub const NC_SRC_TERM_RTSI0: u32 = 0;
pub const NC_SRC_TERM_RTSI1: u32 = 1;
pub const NC_SRC_TERM_RTSI2: u32 = 2;
pub const NC_SRC_TERM_RTSI3: u32 = 3;
pub const NC_SRC_TERM_RTSI4: u32 = 4;
pub const NC_SRC_TERM_RTSI5: u32 = 5;
pub const NC_SRC_TERM_RTSI6: u32 = 6;
pub const NC_SRC_TERM_RTSI_CLOCK: u32 = 7;
pub const NC_SRC_TERM_PXI_STAR: u32 = 8;
pub const NC_SRC_TERM_INTF_RECEIVE_EVENT: u32 = 9;
pub const NC_SRC_TERM_INTF_TRANSCEIVER_EVENT: u32 = 10;
pub const NC_SRC_TERM_PXI_CLK10: u32 = 11;
pub const NC_SRC_TERM_20MHZ_TIMEBASE: u32 = 12;
pub const NC_SRC_TERM_10HZ_RESYNC_CLOCK: u32 = 13;
pub const NC_SRC_TERM_START_TRIGGER: u32 = 14;
pub const NC_DEST_TERM_RTSI0: u32 = 0;
pub const NC_DEST_TERM_RTSI1: u32 = 1;
pub const NC_DEST_TERM_RTSI2: u32 = 2;
pub const NC_DEST_TERM_RTSI3: u32 = 3;
pub const NC_DEST_TERM_RTSI4: u32 = 4;
pub const NC_DEST_TERM_RTSI5: u32 = 5;
pub const NC_DEST_TERM_RTSI6: u32 = 6;
pub const NC_DEST_TERM_RTSI_CLOCK: u32 = 7;
pub const NC_DEST_TERM_MASTER_TIMEBASE: u32 = 8;
pub const NC_DEST_TERM_10HZ_RESYNC_CLOCK: u32 = 9;
pub const NC_DEST_TERM_START_TRIGGER: u32 = 10;
pub const NC_HW_FORMFACTOR_PCI: u32 = 0;
pub const NC_HW_FORMFACTOR_PXI: u32 = 1;
pub const NC_HW_FORMFACTOR_PCMCIA: u32 = 2;
pub const NC_HW_FORMFACTOR_AT: u32 = 3;
pub const NC_HW_FORMFACTOR_USB: u32 = 4;
pub const NC_TRANSCEIVER_TYPE_HS: u32 = 0;
pub const NC_TRANSCEIVER_TYPE_LS: u32 = 1;
pub const NC_TRANSCEIVER_TYPE_SW: u32 = 2;
pub const NC_TRANSCEIVER_TYPE_EXT: u32 = 3;
pub const NC_TRANSCEIVER_TYPE_DISC: u32 = 4;
pub const NC_TRANSCEIVER_TYPE_LIN: u32 = 5;
pub const NC_TRANSCEIVER_TYPE_UNKNOWN: u32 = 255;
pub const NC_HW_TRANSCEIVER_HS: u32 = 0;
pub const NC_HW_TRANSCEIVER_LS: u32 = 1;
pub const NC_HW_TRANSCEIVER_SW: u32 = 2;
pub const NC_HW_TRANSCEIVER_EXT: u32 = 3;
pub const NC_HW_TRANSCEIVER_DISC: u32 = 4;
pub const NC_TRANSCEIVER_MODE_NORMAL: u32 = 0;
pub const NC_TRANSCEIVER_MODE_SLEEP: u32 = 1;
pub const NC_TRANSCEIVER_MODE_SW_WAKEUP: u32 = 2;
pub const NC_TRANSCEIVER_MODE_SW_HIGHSPEED: u32 = 3;
pub const NC_OUT_BEHAV_REPEAT_FINAL: u32 = 0;
pub const NC_OUT_BEHAV_CEASE_TRANSMIT: u32 = 1;
pub const NC_FILTER_SINGLE_STANDARD: u32 = 0;
pub const NC_FILTER_SINGLE_EXTENDED: u32 = 1;
pub const NC_FILTER_DUAL_STANDARD: u32 = 2;
pub const NC_FILTER_DUAL_EXTENDED: u32 = 3;
pub const NC_SRC_TERM_10HZ_RESYNC_EVENT: u32 = 13;
pub const NC_SRC_TERM_START_TRIG_EVENT: u32 = 14;
pub const NC_DEST_TERM_10HZ_RESYNC: u32 = 9;
pub const NC_DEST_TERM_START_TRIG: u32 = 10;
pub const NC_MK_VER_MAJOR: u32 = 4278190080;
pub const NC_MK_VER_MINOR: u32 = 16711680;
pub const NC_MK_VER_SUBMINOR: u32 = 65280;
pub const NC_MK_VER_BETA: u32 = 255;
pub const NC_FL_CAN_ARBID_INFO: u32 = 1073741824;
pub const NC_ARBID_INFO_RTSI_INPUT: u32 = 1;
pub const NC_CAN_MASK_STD_MUSTMATCH: u32 = 2047;
pub const NC_CAN_MASK_XTD_MUSTMATCH: u32 = 536870911;
pub const NC_CAN_MASK_STD_DONTCARE: u32 = 0;
pub const NC_CAN_MASK_XTD_DONTCARE: u32 = 0;
pub const NC_TX_MODE_IMMEDIATE: u32 = 0;
pub const NC_TX_MODE_TIMESTAMPED: u32 = 1;
pub const NC_TIME_FORMAT_ABSOLUTE: u32 = 0;
pub const NC_TIME_FORMAT_RELATIVE: u32 = 1;
pub const NC_TIMEBASE_RATE_10: u32 = 10;
pub const NC_TIMEBASE_RATE_20: u32 = 20;
pub const NCT_MAX_UNIT_LEN: u32 = 64;
pub const nctChannelConfigId_MDM: u32 = 2;
pub const nctSuccess: u32 = 0;
pub const nctPropChanStartBit: u32 = 100001;
pub const nctPropChanNumBits: u32 = 100002;
pub const nctPropChanDataType: u32 = 100003;
pub const nctPropChanByteOrder: u32 = 100004;
pub const nctPropChanScalFactor: u32 = 100005;
pub const nctPropChanScalOffset: u32 = 100006;
pub const nctPropChanMaxValue: u32 = 100007;
pub const nctPropChanMinValue: u32 = 100008;
pub const nctPropChanDefaultValue: u32 = 100009;
pub const nctPropChanUnitString: u32 = 100031;
pub const nctPropChanIsModeDependent: u32 = 100033;
pub const nctPropChanModeValue: u32 = 100034;
pub const nctPropMsgArbitrationId: u32 = 100010;
pub const nctPropMsgIsExtended: u32 = 100011;
pub const nctPropMsgByteLength: u32 = 100012;
pub const nctPropMsgDistribution: u32 = 100020;
pub const nctPropMsgName: u32 = 100032;
pub const nctPropSamplesPending: u32 = 100013;
pub const nctPropNumChannels: u32 = 100014;
pub const nctPropTimeout: u32 = 100015;
pub const nctPropInterface: u32 = 100016;
pub const nctPropSampleRate: u32 = 100017;
pub const nctPropMode: u32 = 100018;
pub const nctPropNoValue: u32 = 100019;
pub const nctPropBehavAfterFinalOut: u32 = 2147549208;
pub const nctPropIntfBaudRate: u32 = 2147483655;
pub const nctPropIntfListenOnly: u32 = 2147549200;
pub const nctPropIntfRxErrorCounter: u32 = 2147549201;
pub const nctPropIntfTxErrorCounter: u32 = 2147549202;
pub const nctPropIntfSeries2Comp: u32 = 2147549203;
pub const nctPropIntfSeries2Mask: u32 = 2147549204;
pub const nctPropIntfSeries2FilterMode: u32 = 2147549205;
pub const nctPropIntfSingleShotTx: u32 = 2147549207;
pub const nctPropIntfSelfReception: u32 = 2147549206;
pub const nctPropIntfTransceiverMode: u32 = 2147549209;
pub const nctPropIntfTransceiverExternalOut: u32 = 2147549210;
pub const nctPropIntfTransceiverExternalIn: u32 = 2147549211;
pub const nctPropIntfSeries2ErrArbCapture: u32 = 2147549212;
pub const nctPropIntfTransceiverType: u32 = 2147614727;
pub const nctPropIntfVirtualBusTiming: u32 = 2684354609;
pub const nctPropHwSerialNum: u32 = 2147614723;
pub const nctPropHwFormFactor: u32 = 2147614724;
pub const nctPropHwSeries: u32 = 2147614725;
pub const nctPropHwTransceiver: u32 = 2147614727;
pub const nctPropHwMasterTimebaseRate: u32 = 2147614771;
pub const nctPropHwTimestampFormat: u32 = 2147614770;
pub const nctPropVersionMajor: u32 = 2147614729;
pub const nctPropVersionMinor: u32 = 2147614730;
pub const nctPropVersionUpdate: u32 = 2147614731;
pub const nctPropVersionPhase: u32 = 2147614732;
pub const nctPropVersionBuild: u32 = 2147614733;
pub const nctPropVersionComment: u32 = 2147614734;
pub const nctModeInput: u32 = 0;
pub const nctModeOutput: u32 = 1;
pub const nctModeTimestampedInput: u32 = 2;
pub const nctModeOutputRecent: u32 = 3;
pub const nctDataSigned: u32 = 0;
pub const nctDataUnsigned: u32 = 1;
pub const nctDataFloat: u32 = 2;
pub const nctOrderIntel: u32 = 0;
pub const nctOrderMotorola: u32 = 1;
pub const nctHwSeries1: u32 = 0;
pub const nctHwSeries2: u32 = 1;
pub const nctHwSeriesNIXNET: u32 = 4;
pub const nctHwTimebaseRate10: u32 = 10;
pub const nctHwTimebaseRate20: u32 = 20;
pub const nctHwTimeFormatAbsolute: u32 = 0;
pub const nctHwTimeFormatRelative: u32 = 1;
pub const nctSrcTermRTSI0: u32 = 0;
pub const nctSrcTermRTSI1: u32 = 1;
pub const nctSrcTermRTSI2: u32 = 2;
pub const nctSrcTermRTSI3: u32 = 3;
pub const nctSrcTermRTSI4: u32 = 4;
pub const nctSrcTermRTSI5: u32 = 5;
pub const nctSrcTermRTSI6: u32 = 6;
pub const nctSrcTermRTSI_Clock: u32 = 7;
pub const nctSrcTermPXI_Star: u32 = 8;
pub const nctSrcTermIntfReceiveEvent: u32 = 9;
pub const nctSrcTermIntfTransceiverEvent: u32 = 10;
pub const nctSrcTermPXI_Clk10: u32 = 11;
pub const nctSrcTerm20MHzTimebase: u32 = 12;
pub const nctSrcTerm10HzResyncClock: u32 = 13;
pub const nctSrcTermStartTrigger: u32 = 14;
pub const nctDestTermRTSI0: u32 = 0;
pub const nctDestTermRTSI1: u32 = 1;
pub const nctDestTermRTSI2: u32 = 2;
pub const nctDestTermRTSI3: u32 = 3;
pub const nctDestTermRTSI4: u32 = 4;
pub const nctDestTermRTSI5: u32 = 5;
pub const nctDestTermRTSI6: u32 = 6;
pub const nctDestTermRTSI_Clock: u32 = 7;
pub const nctDestTermMasterTimebase: u32 = 8;
pub const nctDestTerm10HzResyncClock: u32 = 9;
pub const nctDestTermStartTrigger: u32 = 10;
pub const nctHwFormFactorPCI: u32 = 0;
pub const nctHwFormFactorPXI: u32 = 1;
pub const nctHwFormFactorPCMCIA: u32 = 2;
pub const nctHwFormFactorAT: u32 = 3;
pub const nctTransceiverTypeHS: u32 = 0;
pub const nctTransceiverTypeLS: u32 = 1;
pub const nctTransceiverTypeSW: u32 = 2;
pub const nctTransceiverTypeExternal: u32 = 3;
pub const nctTransceiverTypeDisconnect: u32 = 4;
pub const nctHwTransceiverHS: u32 = 0;
pub const nctHwTransceiverLS: u32 = 1;
pub const nctHwTransceiverSW: u32 = 2;
pub const nctHwTransceiverExternal: u32 = 3;
pub const nctHwTransceiverDisconnect: u32 = 4;
pub const nctTransceiverModeNormal: u32 = 0;
pub const nctTransceiverModeSleep: u32 = 1;
pub const nctTransceiverModeSWWakeup: u32 = 2;
pub const nctTransceiverModeSWHighSpeed: u32 = 3;
pub const nctFilterSingleStandard: u32 = 0;
pub const nctFilterSingleExtended: u32 = 1;
pub const nctFilterDualStandard: u32 = 2;
pub const nctFilterDualExtended: u32 = 3;
pub const nctOutBehavRepeatFinalSample: u32 = 0;
pub const nctOutBehavCeaseTransmit: u32 = 1;
pub const nctDistrUniform: u32 = 0;
pub const nctDistrBurst: u32 = 1;
pub const nctGetNamesModeChannels: u32 = 0;
pub const nctGetNamesModeMessages: u32 = 1;
pub const nctSrcTermRTSI_CLOCK: u32 = 7;
pub const nctSrcTermPXI_STAR: u32 = 8;
pub const nctSrcTermPXI_CLK10: u32 = 11;
pub const nctSrcTermStartTrigEvent: u32 = 14;
pub const nctDestTermRTSI_CLOCK: u32 = 7;
pub const nctSrcTerm10HzResyncEvent: u32 = 13;
pub const nctDestTerm10HzResync: u32 = 9;
pub const nctDestTermStartTrig: u32 = 10;
pub const NC_MAX_WRITE_MULT: u32 = 512;
pub const NC_MAX_SERV_DATA: u32 = 240;
pub const NC_ATTR_MAC_ID: u32 = 2147483776;
pub const NC_ATTR_VENDOR_ID: u32 = 2147483778;
pub const NC_ATTR_PRODUCT_CODE: u32 = 2147483779;
pub const NC_ATTR_DEVICE_TYPE: u32 = 2147483780;
pub const NC_ATTR_IN_LEN: u32 = 2147483793;
pub const NC_ATTR_OUT_LEN: u32 = 2147483794;
pub const NC_ATTR_EXP_PACKET_RATE: u32 = 2147483797;
pub const NC_ATTR_ACK_SUPPRESS: u32 = 2147483802;
pub const NC_ATTR_INHIBIT_TIMER: u32 = 2147483799;
pub const NC_ATTR_ACK_TIMER: u32 = 2147483798;
pub const NC_ATTR_KEEP_EXPL_MSG: u32 = 2147483801;
pub const NC_ATTR_POLL_MODE: u32 = 2147483803;
pub const NC_ATTR_EM_INHIBIT_TIMER: u32 = 2147483791;
pub const NC_POLL_AUTO: u32 = 0;
pub const NC_POLL_SCAN: u32 = 1;
pub const NC_POLL_INDIV: u32 = 2;
pub const NC_CONN_POLL: u32 = 0;
pub const NC_CONN_STROBE: u32 = 1;
pub const NC_CONN_COS: u32 = 2;
pub const NC_CONN_CYCLIC: u32 = 3;
pub type NCTYPE_INT8 = ::std::os::raw::c_char;
pub type NCTYPE_INT16 = ::std::os::raw::c_short;
pub type NCTYPE_INT32 = ::std::os::raw::c_long;
pub type NCTYPE_UINT8 = ::std::os::raw::c_uchar;
pub type NCTYPE_UINT16 = ::std::os::raw::c_ushort;
pub type NCTYPE_UINT32 = ::std::os::raw::c_ulong;
pub type NCTYPE_REAL = f32;
pub type NCTYPE_LREAL = f64;
#[repr(C, packed(2))]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_UINT64 {
    pub LowPart: NCTYPE_UINT32,
    pub HighPart: NCTYPE_UINT32,
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_UINT64"][::std::mem::size_of::<NCTYPE_UINT64>() - 8usize];
    ["Alignment of NCTYPE_UINT64"][::std::mem::align_of::<NCTYPE_UINT64>() - 2usize];
    ["Offset of field: NCTYPE_UINT64::LowPart"]
        [::std::mem::offset_of!(NCTYPE_UINT64, LowPart) - 0usize];
    ["Offset of field: NCTYPE_UINT64::HighPart"]
        [::std::mem::offset_of!(NCTYPE_UINT64, HighPart) - 4usize];
};
pub type NCTYPE_BOOL = ::std::os::raw::c_uchar;
pub type NCTYPE_STRING = *mut ::std::os::raw::c_char;
pub type NCTYPE_STATUS = NCTYPE_INT32;
pub type NCTYPE_OBJH = NCTYPE_UINT32;
pub type NCTYPE_VERSION = NCTYPE_UINT32;
pub type NCTYPE_DURATION = NCTYPE_UINT32;
pub type NCTYPE_ATTRID = NCTYPE_UINT32;
pub type NCTYPE_OPCODE = NCTYPE_UINT32;
pub type NCTYPE_PROTOCOL = NCTYPE_UINT32;
pub type NCTYPE_BAUD_RATE = NCTYPE_UINT32;
pub type NCTYPE_STATE = NCTYPE_UINT32;
pub type NCTYPE_ANY_P = *mut ::std::os::raw::c_void;
pub type NCTYPE_INT8_P = *mut NCTYPE_INT8;
pub type NCTYPE_INT16_P = *mut NCTYPE_INT16;
pub type NCTYPE_INT32_P = *mut NCTYPE_INT32;
pub type NCTYPE_UINT8_P = *mut NCTYPE_UINT8;
pub type NCTYPE_UINT16_P = *mut NCTYPE_UINT16;
pub type NCTYPE_UINT32_P = *mut NCTYPE_UINT32;
pub type NCTYPE_REAL_P = *mut NCTYPE_REAL;
pub type NCTYPE_LREAL_P = *mut NCTYPE_LREAL;
pub type NCTYPE_UINT64_P = *mut NCTYPE_UINT64;
pub type NCTYPE_BOOL_P = *mut NCTYPE_BOOL;
pub type NCTYPE_STATUS_P = *mut NCTYPE_STATUS;
pub type NCTYPE_OBJH_P = *mut NCTYPE_OBJH;
pub type NCTYPE_VERSION_P = *mut NCTYPE_VERSION;
pub type NCTYPE_DURATION_P = *mut NCTYPE_DURATION;
pub type NCTYPE_ATTRID_P = *mut NCTYPE_ATTRID;
pub type NCTYPE_OPCODE_P = *mut NCTYPE_OPCODE;
pub type NCTYPE_PROTOCOL_P = *mut NCTYPE_PROTOCOL;
pub type NCTYPE_BAUD_RATE_P = *mut NCTYPE_BAUD_RATE;
pub type NCTYPE_STATE_P = *mut NCTYPE_STATE;
pub type NCTYPE_NOTIFY_CALLBACK = ::std::option::Option<
    unsafe extern "C" fn(
        ObjHandle: NCTYPE_OBJH,
        CurrentState: NCTYPE_STATE,
        Status: NCTYPE_STATUS,
        RefData: NCTYPE_ANY_P,
    ) -> NCTYPE_STATE,
>;
pub type NCTYPE_COMM_TYPE = NCTYPE_UINT32;
pub type NCTYPE_RTSI_MODE = NCTYPE_UINT32;
pub type NCTYPE_RTSI_SIG_BEHAV = NCTYPE_UINT32;
pub type NCTYPE_ABS_TIME = NCTYPE_UINT64;
pub type NCTYPE_CAN_ARBID = NCTYPE_UINT32;
#[repr(C, packed(2))]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_CAN_FRAME {
    pub ArbitrationId: NCTYPE_CAN_ARBID,
    pub IsRemote: NCTYPE_BOOL,
    pub DataLength: NCTYPE_UINT8,
    pub Data: [NCTYPE_UINT8; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_CAN_FRAME"][::std::mem::size_of::<NCTYPE_CAN_FRAME>() - 14usize];
    ["Alignment of NCTYPE_CAN_FRAME"][::std::mem::align_of::<NCTYPE_CAN_FRAME>() - 2usize];
    ["Offset of field: NCTYPE_CAN_FRAME::ArbitrationId"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME, ArbitrationId) - 0usize];
    ["Offset of field: NCTYPE_CAN_FRAME::IsRemote"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME, IsRemote) - 4usize];
    ["Offset of field: NCTYPE_CAN_FRAME::DataLength"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME, DataLength) - 5usize];
    ["Offset of field: NCTYPE_CAN_FRAME::Data"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME, Data) - 6usize];
};
#[repr(C, packed(2))]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_CAN_FRAME_TIMED {
    pub Timestamp: NCTYPE_ABS_TIME,
    pub ArbitrationId: NCTYPE_CAN_ARBID,
    pub IsRemote: NCTYPE_BOOL,
    pub DataLength: NCTYPE_UINT8,
    pub Data: [NCTYPE_UINT8; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_CAN_FRAME_TIMED"][::std::mem::size_of::<NCTYPE_CAN_FRAME_TIMED>() - 22usize];
    ["Alignment of NCTYPE_CAN_FRAME_TIMED"]
        [::std::mem::align_of::<NCTYPE_CAN_FRAME_TIMED>() - 2usize];
    ["Offset of field: NCTYPE_CAN_FRAME_TIMED::Timestamp"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME_TIMED, Timestamp) - 0usize];
    ["Offset of field: NCTYPE_CAN_FRAME_TIMED::ArbitrationId"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME_TIMED, ArbitrationId) - 8usize];
    ["Offset of field: NCTYPE_CAN_FRAME_TIMED::IsRemote"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME_TIMED, IsRemote) - 12usize];
    ["Offset of field: NCTYPE_CAN_FRAME_TIMED::DataLength"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME_TIMED, DataLength) - 13usize];
    ["Offset of field: NCTYPE_CAN_FRAME_TIMED::Data"]
        [::std::mem::offset_of!(NCTYPE_CAN_FRAME_TIMED, Data) - 14usize];
};
#[repr(C, packed(2))]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_CAN_STRUCT {
    pub Timestamp: NCTYPE_ABS_TIME,
    pub ArbitrationId: NCTYPE_CAN_ARBID,
    pub FrameType: NCTYPE_UINT8,
    pub DataLength: NCTYPE_UINT8,
    pub Data: [NCTYPE_UINT8; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_CAN_STRUCT"][::std::mem::size_of::<NCTYPE_CAN_STRUCT>() - 22usize];
    ["Alignment of NCTYPE_CAN_STRUCT"][::std::mem::align_of::<NCTYPE_CAN_STRUCT>() - 2usize];
    ["Offset of field: NCTYPE_CAN_STRUCT::Timestamp"]
        [::std::mem::offset_of!(NCTYPE_CAN_STRUCT, Timestamp) - 0usize];
    ["Offset of field: NCTYPE_CAN_STRUCT::ArbitrationId"]
        [::std::mem::offset_of!(NCTYPE_CAN_STRUCT, ArbitrationId) - 8usize];
    ["Offset of field: NCTYPE_CAN_STRUCT::FrameType"]
        [::std::mem::offset_of!(NCTYPE_CAN_STRUCT, FrameType) - 12usize];
    ["Offset of field: NCTYPE_CAN_STRUCT::DataLength"]
        [::std::mem::offset_of!(NCTYPE_CAN_STRUCT, DataLength) - 13usize];
    ["Offset of field: NCTYPE_CAN_STRUCT::Data"]
        [::std::mem::offset_of!(NCTYPE_CAN_STRUCT, Data) - 14usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_CAN_DATA {
    pub Data: [NCTYPE_UINT8; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_CAN_DATA"][::std::mem::size_of::<NCTYPE_CAN_DATA>() - 8usize];
    ["Alignment of NCTYPE_CAN_DATA"][::std::mem::align_of::<NCTYPE_CAN_DATA>() - 1usize];
    ["Offset of field: NCTYPE_CAN_DATA::Data"]
        [::std::mem::offset_of!(NCTYPE_CAN_DATA, Data) - 0usize];
};
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct NCTYPE_CAN_DATA_TIMED {
    pub Timestamp: NCTYPE_ABS_TIME,
    pub Data: [NCTYPE_UINT8; 8usize],
}
#[allow(clippy::unnecessary_operation, clippy::identity_op)]
const _: () = {
    ["Size of NCTYPE_CAN_DATA_TIMED"][::std::mem::size_of::<NCTYPE_CAN_DATA_TIMED>() - 16usize];
    ["Alignment of NCTYPE_CAN_DATA_TIMED"]
        [::std::mem::align_of::<NCTYPE_CAN_DATA_TIMED>() - 2usize];
    ["Offset of field: NCTYPE_CAN_DATA_TIMED::Timestamp"]
        [::std::mem::offset_of!(NCTYPE_CAN_DATA_TIMED, Timestamp) - 0usize];
    ["Offset of field: NCTYPE_CAN_DATA_TIMED::Data"]
        [::std::mem::offset_of!(NCTYPE_CAN_DATA_TIMED, Data) - 8usize];
};
pub type NCTYPE_COMM_TYPE_P = *mut NCTYPE_COMM_TYPE;
pub type NCTYPE_ABS_TIME_P = *mut NCTYPE_ABS_TIME;
pub type NCTYPE_CAN_ARBID_P = *mut NCTYPE_CAN_ARBID;
pub type NCTYPE_CAN_FRAME_P = *mut NCTYPE_CAN_FRAME;
pub type NCTYPE_CAN_FRAME_TIMED_P = *mut NCTYPE_CAN_FRAME_TIMED;
pub type NCTYPE_CAN_STRUCT_P = *mut NCTYPE_CAN_STRUCT;
pub type NCTYPE_CAN_DATA_P = *mut NCTYPE_CAN_DATA;
pub type NCTYPE_CAN_DATA_TIMED_P = *mut NCTYPE_CAN_DATA_TIMED;
pub type NCTYPE_RTSI_MODE_P = *mut NCTYPE_RTSI_MODE;
pub type NCTYPE_RTSI_SIG_BEHAV_P = *mut NCTYPE_RTSI_SIG_BEHAV;
pub type NCTYPE_BKD_TYPE = NCTYPE_UINT32;
pub type NCTYPE_BKD_WHEN = NCTYPE_UINT32;
pub type NCTYPE_BKD_TYPE_P = *mut NCTYPE_BKD_TYPE;
pub type NCTYPE_BKD_WHEN_P = *mut NCTYPE_BKD_WHEN;
// extern "C" {
//     pub fn ncAction(
//         ObjHandle: NCTYPE_OBJH,
//         Opcode: NCTYPE_OPCODE,
//         Param: NCTYPE_UINT32,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncCloseObject(ObjHandle: NCTYPE_OBJH) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncConfig(
//         ObjName: NCTYPE_STRING,
//         NumAttrs: NCTYPE_UINT32,
//         AttrIdList: NCTYPE_ATTRID_P,
//         AttrValueList: NCTYPE_UINT32_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncConnectTerminals(
//         ObjHandle: NCTYPE_OBJH,
//         SourceTerminal: NCTYPE_UINT32,
//         DestinationTerminal: NCTYPE_UINT32,
//         Modifiers: NCTYPE_UINT32,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncDisconnectTerminals(
//         ObjHandle: NCTYPE_OBJH,
//         SourceTerminal: NCTYPE_UINT32,
//         DestinationTerminal: NCTYPE_UINT32,
//         Modifiers: NCTYPE_UINT32,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncCreateNotification(
//         ObjHandle: NCTYPE_OBJH,
//         DesiredState: NCTYPE_STATE,
//         Timeout: NCTYPE_DURATION,
//         RefData: NCTYPE_ANY_P,
//         Callback: NCTYPE_NOTIFY_CALLBACK,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncGetAttribute(
//         ObjHandle: NCTYPE_OBJH,
//         AttrId: NCTYPE_ATTRID,
//         SizeofAttr: NCTYPE_UINT32,
//         Attr: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncGetHardwareInfo(
//         CardIndex: NCTYPE_UINT32,
//         PortIndex: NCTYPE_UINT32,
//         AttrId: NCTYPE_ATTRID,
//         AttrSize: NCTYPE_UINT32,
//         Attr: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncOpenObject(ObjName: NCTYPE_STRING, ObjHandle: NCTYPE_OBJH_P) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncRead(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         Data: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncReadMult(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         Data: NCTYPE_ANY_P,
//         ActualDataSize: NCTYPE_UINT32_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncReset(IntfName: NCTYPE_STRING, Param: NCTYPE_UINT32) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncSetAttribute(
//         ObjHandle: NCTYPE_OBJH,
//         AttrId: NCTYPE_ATTRID,
//         SizeofAttr: NCTYPE_UINT32,
//         Attr: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncStatusToString(
//         Status: NCTYPE_STATUS,
//         SizeofString: NCTYPE_UINT32,
//         ErrorString: NCTYPE_STRING,
//     );
// }
// extern "C" {
//     pub fn ncWaitForState(
//         ObjHandle: NCTYPE_OBJH,
//         DesiredState: NCTYPE_STATE,
//         Timeout: NCTYPE_DURATION,
//         CurrentState: NCTYPE_STATE_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncWrite(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         Data: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncWriteMult(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         FrameArray: NCTYPE_CAN_STRUCT_P,
//     ) -> NCTYPE_STATUS;
// }
// pub type i8_ = ::std::os::raw::c_schar;
// pub type i16_ = ::std::os::raw::c_short;
// pub type i32_ = ::std::os::raw::c_long;
// pub type u8_ = ::std::os::raw::c_uchar;
// pub type u16_ = ::std::os::raw::c_ushort;
// pub type u32_ = ::std::os::raw::c_ulong;
// pub type f32_ = f32;
// pub type f64_ = f64;
// pub type str_ = *mut ::std::os::raw::c_char;
// pub type cstr = *const ::std::os::raw::c_char;
// pub type nctTypeTaskRef = u32_;
// pub type nctTypeStatus = i32_;
// #[repr(C, packed(2))]
// #[derive(Debug, Copy, Clone)]
// pub struct nctTypeTimestamp {
//     pub LowPart: u32_,
//     pub HighPart: u32_,
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of nctTypeTimestamp"][::std::mem::size_of::<nctTypeTimestamp>() - 8usize];
//     ["Alignment of nctTypeTimestamp"][::std::mem::align_of::<nctTypeTimestamp>() - 2usize];
//     ["Offset of field: nctTypeTimestamp::LowPart"]
//         [::std::mem::offset_of!(nctTypeTimestamp, LowPart) - 0usize];
//     ["Offset of field: nctTypeTimestamp::HighPart"]
//         [::std::mem::offset_of!(nctTypeTimestamp, HighPart) - 4usize];
// };
// #[repr(C, packed(2))]
// #[derive(Debug, Copy, Clone)]
// pub struct nctTypeMessageConfig {
//     pub MsgArbitrationID: i32_,
//     pub MsgDataBytes: i32_,
//     pub Extended: i32_,
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of nctTypeMessageConfig"][::std::mem::size_of::<nctTypeMessageConfig>() - 12usize];
//     ["Alignment of nctTypeMessageConfig"][::std::mem::align_of::<nctTypeMessageConfig>() - 2usize];
//     ["Offset of field: nctTypeMessageConfig::MsgArbitrationID"]
//         [::std::mem::offset_of!(nctTypeMessageConfig, MsgArbitrationID) - 0usize];
//     ["Offset of field: nctTypeMessageConfig::MsgDataBytes"]
//         [::std::mem::offset_of!(nctTypeMessageConfig, MsgDataBytes) - 4usize];
//     ["Offset of field: nctTypeMessageConfig::Extended"]
//         [::std::mem::offset_of!(nctTypeMessageConfig, Extended) - 8usize];
// };
// #[repr(C, packed(2))]
// #[derive(Debug, Copy, Clone)]
// pub struct nctTypeChannelConfig {
//     pub StartBit: i32_,
//     pub NumBits: i32_,
//     pub DataType: i32_,
//     pub ByteOrder: i32_,
//     pub ScalingFactor: f64_,
//     pub ScalingOffset: f64_,
//     pub MaxValue: f64_,
//     pub MinValue: f64_,
//     pub DefaultValue: f64_,
//     pub Unit: [::std::os::raw::c_char; 64usize],
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of nctTypeChannelConfig"][::std::mem::size_of::<nctTypeChannelConfig>() - 120usize];
//     ["Alignment of nctTypeChannelConfig"][::std::mem::align_of::<nctTypeChannelConfig>() - 2usize];
//     ["Offset of field: nctTypeChannelConfig::StartBit"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, StartBit) - 0usize];
//     ["Offset of field: nctTypeChannelConfig::NumBits"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, NumBits) - 4usize];
//     ["Offset of field: nctTypeChannelConfig::DataType"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, DataType) - 8usize];
//     ["Offset of field: nctTypeChannelConfig::ByteOrder"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, ByteOrder) - 12usize];
//     ["Offset of field: nctTypeChannelConfig::ScalingFactor"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, ScalingFactor) - 16usize];
//     ["Offset of field: nctTypeChannelConfig::ScalingOffset"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, ScalingOffset) - 24usize];
//     ["Offset of field: nctTypeChannelConfig::MaxValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, MaxValue) - 32usize];
//     ["Offset of field: nctTypeChannelConfig::MinValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, MinValue) - 40usize];
//     ["Offset of field: nctTypeChannelConfig::DefaultValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, DefaultValue) - 48usize];
//     ["Offset of field: nctTypeChannelConfig::Unit"]
//         [::std::mem::offset_of!(nctTypeChannelConfig, Unit) - 56usize];
// };
// #[repr(C, packed(2))]
// #[derive(Debug, Copy, Clone)]
// pub struct nctTypeModeChanConfig {
//     pub ModeValue: u32_,
//     pub StartBit: i32_,
//     pub NumBits: i32_,
//     pub ByteOrder: i32_,
//     pub DefaultValue: u32_,
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of nctTypeModeChanConfig"][::std::mem::size_of::<nctTypeModeChanConfig>() - 20usize];
//     ["Alignment of nctTypeModeChanConfig"]
//         [::std::mem::align_of::<nctTypeModeChanConfig>() - 2usize];
//     ["Offset of field: nctTypeModeChanConfig::ModeValue"]
//         [::std::mem::offset_of!(nctTypeModeChanConfig, ModeValue) - 0usize];
//     ["Offset of field: nctTypeModeChanConfig::StartBit"]
//         [::std::mem::offset_of!(nctTypeModeChanConfig, StartBit) - 4usize];
//     ["Offset of field: nctTypeModeChanConfig::NumBits"]
//         [::std::mem::offset_of!(nctTypeModeChanConfig, NumBits) - 8usize];
//     ["Offset of field: nctTypeModeChanConfig::ByteOrder"]
//         [::std::mem::offset_of!(nctTypeModeChanConfig, ByteOrder) - 12usize];
//     ["Offset of field: nctTypeModeChanConfig::DefaultValue"]
//         [::std::mem::offset_of!(nctTypeModeChanConfig, DefaultValue) - 16usize];
// };
// #[repr(C, packed(2))]
// #[derive(Debug, Copy, Clone)]
// pub struct nctTypeChannelConfigMDM {
//     pub StartBit: i32_,
//     pub NumBits: i32_,
//     pub DataType: i32_,
//     pub ByteOrder: i32_,
//     pub ScalingFactor: f64_,
//     pub ScalingOffset: f64_,
//     pub MaxValue: f64_,
//     pub MinValue: f64_,
//     pub DefaultValue: f64_,
//     pub Unit: [::std::os::raw::c_char; 64usize],
//     pub NumModeChannels: i32_,
//     pub ModeChannel: nctTypeModeChanConfig,
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of nctTypeChannelConfigMDM"]
//         [::std::mem::size_of::<nctTypeChannelConfigMDM>() - 144usize];
//     ["Alignment of nctTypeChannelConfigMDM"]
//         [::std::mem::align_of::<nctTypeChannelConfigMDM>() - 2usize];
//     ["Offset of field: nctTypeChannelConfigMDM::StartBit"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, StartBit) - 0usize];
//     ["Offset of field: nctTypeChannelConfigMDM::NumBits"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, NumBits) - 4usize];
//     ["Offset of field: nctTypeChannelConfigMDM::DataType"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, DataType) - 8usize];
//     ["Offset of field: nctTypeChannelConfigMDM::ByteOrder"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, ByteOrder) - 12usize];
//     ["Offset of field: nctTypeChannelConfigMDM::ScalingFactor"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, ScalingFactor) - 16usize];
//     ["Offset of field: nctTypeChannelConfigMDM::ScalingOffset"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, ScalingOffset) - 24usize];
//     ["Offset of field: nctTypeChannelConfigMDM::MaxValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, MaxValue) - 32usize];
//     ["Offset of field: nctTypeChannelConfigMDM::MinValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, MinValue) - 40usize];
//     ["Offset of field: nctTypeChannelConfigMDM::DefaultValue"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, DefaultValue) - 48usize];
//     ["Offset of field: nctTypeChannelConfigMDM::Unit"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, Unit) - 56usize];
//     ["Offset of field: nctTypeChannelConfigMDM::NumModeChannels"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, NumModeChannels) - 120usize];
//     ["Offset of field: nctTypeChannelConfigMDM::ModeChannel"]
//         [::std::mem::offset_of!(nctTypeChannelConfigMDM, ModeChannel) - 124usize];
// };
// extern "C" {
//     pub fn nctClear(TaskRef: nctTypeTaskRef) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctConnectTerminals(
//         TaskRef: nctTypeTaskRef,
//         SourceTerminal: u32_,
//         DestinationTerminal: u32_,
//         Modifiers: u32_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctCreateMessage(
//         MessageConfig: *mut nctTypeMessageConfig,
//         NumberOfChannels: u32_,
//         ChannelConfigList: *mut nctTypeChannelConfig,
//         Interface: i32_,
//         Mode: i32_,
//         SampleRate: f64_,
//         TaskRef: *mut nctTypeTaskRef,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctCreateMessageEx(
//         ConfigId: u32_,
//         MessageConfig: *mut ::std::os::raw::c_void,
//         NumberOfChannels: u32_,
//         ChannelConfigList: *mut ::std::os::raw::c_void,
//         Interface: i32_,
//         Mode: i32_,
//         SampleRate: f64_,
//         TaskRef: *mut nctTypeTaskRef,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctDisconnectTerminals(
//         TaskRef: nctTypeTaskRef,
//         SourceTerminal: u32_,
//         DestinationTerminal: u32_,
//         Modifiers: u32_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctGetNames(
//         FilePath: cstr,
//         Mode: u32_,
//         MessageName: cstr,
//         SizeofChannelList: u32_,
//         ChannelList: str_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctGetNamesLength(
//         FilePath: cstr,
//         Mode: u32_,
//         MessageName: cstr,
//         SizeOfNames: *mut u32_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctGetProperty(
//         TaskRef: nctTypeTaskRef,
//         ChannelName: cstr,
//         PropertyId: u32_,
//         SizeofValue: u32_,
//         Value: *mut ::std::os::raw::c_void,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctInitialize(
//         ChannelList: cstr,
//         Interface: i32_,
//         Mode: i32_,
//         SampleRate: f64_,
//         TaskRef: *mut nctTypeTaskRef,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctInitStart(
//         ChannelList: cstr,
//         Interface: i32_,
//         Mode: i32_,
//         SampleRate: f64_,
//         TaskRef: *mut nctTypeTaskRef,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctRead(
//         TaskRef: nctTypeTaskRef,
//         NumberOfSamplesToRead: u32_,
//         StartTime: *mut nctTypeTimestamp,
//         DeltaTime: *mut nctTypeTimestamp,
//         SampleArray: *mut f64_,
//         NumberOfSamplesReturned: *mut u32_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctReadTimestamped(
//         TaskRef: nctTypeTaskRef,
//         NumberOfSamplesToRead: u32_,
//         TimestampArray: *mut nctTypeTimestamp,
//         SampleArray: *mut f64_,
//         NumberOfSamplesReturned: *mut u32_,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctStart(TaskRef: nctTypeTaskRef) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctStop(TaskRef: nctTypeTaskRef) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctSetProperty(
//         TaskRef: nctTypeTaskRef,
//         ChannelName: cstr,
//         PropertyId: u32_,
//         SizeofValue: u32_,
//         Value: *mut ::std::os::raw::c_void,
//     ) -> nctTypeStatus;
// }
// extern "C" {
//     pub fn nctWrite(
//         TaskRef: nctTypeTaskRef,
//         NumberOfSamplesToWrite: u32_,
//         SampleArray: *mut f64_,
//     ) -> nctTypeStatus;
// }
// pub type NCTYPE_POLL_MODE = NCTYPE_UINT32;
// pub type NCTYPE_CONN_TYPE = NCTYPE_UINT32;
// pub type NCTYPE_ITEMTYPE = NCTYPE_UINT8;
// #[repr(C)]
// #[derive(Debug, Copy, Clone)]
// pub struct NCTYPE_DNET_EXPL_MSG_READ {
//     pub ServiceCode: NCTYPE_UINT16,
//     pub ServDataLength: NCTYPE_UINT16,
//     pub ServData: [NCTYPE_UINT8; 240usize],
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of NCTYPE_DNET_EXPL_MSG_READ"]
//         [::std::mem::size_of::<NCTYPE_DNET_EXPL_MSG_READ>() - 244usize];
//     ["Alignment of NCTYPE_DNET_EXPL_MSG_READ"]
//         [::std::mem::align_of::<NCTYPE_DNET_EXPL_MSG_READ>() - 2usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_READ::ServiceCode"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_READ, ServiceCode) - 0usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_READ::ServDataLength"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_READ, ServDataLength) - 2usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_READ::ServData"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_READ, ServData) - 4usize];
// };
// #[repr(C)]
// #[derive(Debug, Copy, Clone)]
// pub struct NCTYPE_DNET_EXPL_MSG_WRITE {
//     pub ServiceCode: NCTYPE_UINT16,
//     pub ClassId: NCTYPE_UINT16,
//     pub InstanceId: NCTYPE_UINT16,
//     pub ServDataLength: NCTYPE_UINT16,
//     pub ServData: [NCTYPE_UINT8; 240usize],
// }
// #[allow(clippy::unnecessary_operation, clippy::identity_op)]
// const _: () = {
//     ["Size of NCTYPE_DNET_EXPL_MSG_WRITE"]
//         [::std::mem::size_of::<NCTYPE_DNET_EXPL_MSG_WRITE>() - 248usize];
//     ["Alignment of NCTYPE_DNET_EXPL_MSG_WRITE"]
//         [::std::mem::align_of::<NCTYPE_DNET_EXPL_MSG_WRITE>() - 2usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_WRITE::ServiceCode"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_WRITE, ServiceCode) - 0usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_WRITE::ClassId"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_WRITE, ClassId) - 2usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_WRITE::InstanceId"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_WRITE, InstanceId) - 4usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_WRITE::ServDataLength"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_WRITE, ServDataLength) - 6usize];
//     ["Offset of field: NCTYPE_DNET_EXPL_MSG_WRITE::ServData"]
//         [::std::mem::offset_of!(NCTYPE_DNET_EXPL_MSG_WRITE, ServData) - 8usize];
// };
// extern "C" {
//     pub fn ncGetDnetAttribute(
//         ObjHandle: NCTYPE_OBJH,
//         ClassId: NCTYPE_UINT16,
//         InstanceId: NCTYPE_UINT16,
//         AttributeId: NCTYPE_UINT8,
//         Timeout: NCTYPE_DURATION,
//         SizeofAttrData: NCTYPE_UINT16,
//         AttrData: NCTYPE_ANY_P,
//         ActualAttrDataLength: NCTYPE_UINT16_P,
//         DeviceError: NCTYPE_UINT16_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncGetDriverAttr(
//         ObjHandle: NCTYPE_OBJH,
//         AttrId: NCTYPE_ATTRID,
//         SizeofAttr: NCTYPE_UINT32,
//         Attr: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncOpenDnetExplMsg(
//         IntfName: NCTYPE_STRING,
//         DeviceMacId: NCTYPE_UINT32,
//         ObjHandle: NCTYPE_OBJH_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncOpenDnetIntf(
//         IntfName: NCTYPE_STRING,
//         IntfMacId: NCTYPE_UINT32,
//         BaudRate: NCTYPE_UINT32,
//         PollMode: NCTYPE_POLL_MODE,
//         ObjHandle: NCTYPE_OBJH_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncOpenDnetIO(
//         IntfName: NCTYPE_STRING,
//         DeviceMacId: NCTYPE_UINT32,
//         ConnectionType: NCTYPE_CONN_TYPE,
//         InputLength: NCTYPE_UINT32,
//         OutputLength: NCTYPE_UINT32,
//         ExpPacketRate: NCTYPE_UINT32,
//         ObjHandle: NCTYPE_OBJH_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncOperateDnetIntf(
//         ObjHandle: NCTYPE_OBJH,
//         Opcode: NCTYPE_OPCODE,
//         Param: NCTYPE_UINT32,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncReadDnetExplMsg(
//         ObjHandle: NCTYPE_OBJH,
//         ServiceCode: NCTYPE_UINT8_P,
//         SizeofServData: NCTYPE_UINT16,
//         ServData: NCTYPE_ANY_P,
//         ActualServDataLength: NCTYPE_UINT16_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncReadDnetIO(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         Data: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncSetDnetAttribute(
//         ObjHandle: NCTYPE_OBJH,
//         ClassId: NCTYPE_UINT16,
//         InstanceId: NCTYPE_UINT16,
//         AttributeId: NCTYPE_UINT8,
//         Timeout: NCTYPE_DURATION,
//         AttrDataLength: NCTYPE_UINT16,
//         AttrData: NCTYPE_ANY_P,
//         DeviceError: NCTYPE_UINT16_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncSetDriverAttr(
//         ObjHandle: NCTYPE_OBJH,
//         AttrId: NCTYPE_ATTRID,
//         SizeofAttr: NCTYPE_UINT32,
//         Attr: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncWriteDnetExplMsg(
//         ObjHandle: NCTYPE_OBJH,
//         ServiceCode: NCTYPE_UINT8,
//         ClassId: NCTYPE_UINT16,
//         InstanceId: NCTYPE_UINT16,
//         ServDataLength: NCTYPE_UINT16,
//         ServData: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }
// extern "C" {
//     pub fn ncWriteDnetIO(
//         ObjHandle: NCTYPE_OBJH,
//         SizeofData: NCTYPE_UINT32,
//         Data: NCTYPE_ANY_P,
//     ) -> NCTYPE_STATUS;
// }