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
pub const AARTSAAPI_MEMORY_SMALL: u32 = 0;
pub const AARTSAAPI_MEMORY_MEDIUM: u32 = 1;
pub const AARTSAAPI_MEMORY_LARGE: u32 = 2;
pub const AARTSAAPI_MEMORY_LUDICROUS: u32 = 3;
pub const AARTSAAPI_PACKET_STREAM_START: u32 = 1;
pub const AARTSAAPI_PACKET_STREAM_END: u32 = 2;
pub const AARTSAAPI_PACKET_SEGMENT_START: u32 = 4;
pub const AARTSAAPI_PACKET_SEGMENT_END: u32 = 8;
pub type AARTSAAPI_Result = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_Handle {
pub d: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_Handle() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_Handle> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_Handle>(),
8usize,
concat!("Size of: ", stringify!(AARTSAAPI_Handle))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_Handle>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_Handle))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Handle),
"::",
stringify!(d)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_Device {
pub d: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_Device() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_Device> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_Device>(),
8usize,
concat!("Size of: ", stringify!(AARTSAAPI_Device))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_Device>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_Device))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Device),
"::",
stringify!(d)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_Config {
pub d: *mut ::std::os::raw::c_void,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_Config() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_Config> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_Config>(),
8usize,
concat!("Size of: ", stringify!(AARTSAAPI_Config))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_Config>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_Config))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).d) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Config),
"::",
stringify!(d)
)
);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_Packet {
pub cbsize: i64,
pub streamID: u64,
pub flags: u64,
pub startTime: f64,
pub endTime: f64,
pub startFrequency: f64,
pub stepFrequency: f64,
pub spanFrequency: f64,
pub rbwFrequency: f64,
pub num: i64,
pub total: i64,
pub size: i64,
pub stride: i64,
pub fp32: *mut f32,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_Packet() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_Packet> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_Packet>(),
112usize,
concat!("Size of: ", stringify!(AARTSAAPI_Packet))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_Packet>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_Packet))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).cbsize) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(cbsize)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).streamID) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(streamID)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).flags) as usize - ptr as usize },
16usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(flags)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).startTime) as usize - ptr as usize },
24usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(startTime)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).endTime) as usize - ptr as usize },
32usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(endTime)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).startFrequency) as usize - ptr as usize },
40usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(startFrequency)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).stepFrequency) as usize - ptr as usize },
48usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(stepFrequency)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).spanFrequency) as usize - ptr as usize },
56usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(spanFrequency)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).rbwFrequency) as usize - ptr as usize },
64usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(rbwFrequency)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).num) as usize - ptr as usize },
72usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(num)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).total) as usize - ptr as usize },
80usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(total)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).size) as usize - ptr as usize },
88usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(size)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).stride) as usize - ptr as usize },
96usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(stride)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).fp32) as usize - ptr as usize },
104usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_Packet),
"::",
stringify!(fp32)
)
);
}
extern "C" {
pub fn AARTSAAPI_Init(memory: u32) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_Shutdown() -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_Version() -> u32;
}
extern "C" {
pub fn AARTSAAPI_Open(handle: *mut AARTSAAPI_Handle) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_Close(handle: *mut AARTSAAPI_Handle) -> AARTSAAPI_Result;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_DeviceInfo {
pub cbsize: i64,
pub serialNumber: [u32; 120usize],
pub ready: bool,
pub boost: bool,
pub superspeed: bool,
pub active: bool,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_DeviceInfo() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_DeviceInfo> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_DeviceInfo>(),
496usize,
concat!("Size of: ", stringify!(AARTSAAPI_DeviceInfo))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_DeviceInfo>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_DeviceInfo))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).cbsize) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(cbsize)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).serialNumber) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(serialNumber)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).ready) as usize - ptr as usize },
488usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(ready)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).boost) as usize - ptr as usize },
489usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(boost)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).superspeed) as usize - ptr as usize },
490usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(superspeed)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).active) as usize - ptr as usize },
491usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_DeviceInfo),
"::",
stringify!(active)
)
);
}
extern "C" {
pub fn AARTSAAPI_RescanDevices(
handle: *mut AARTSAAPI_Handle,
timeout: ::std::os::raw::c_int,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ResetDevices(handle: *mut AARTSAAPI_Handle) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_EnumDevice(
handle: *mut AARTSAAPI_Handle,
type_: *const u32,
index: i32,
dinfo: *mut AARTSAAPI_DeviceInfo,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_OpenDevice(
handle: *mut AARTSAAPI_Handle,
dhandle: *mut AARTSAAPI_Device,
type_: *const u32,
serialNumber: *const u32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_CloseDevice(
handle: *mut AARTSAAPI_Handle,
dhandle: *mut AARTSAAPI_Device,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConnectDevice(dhandle: *mut AARTSAAPI_Device) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_DisconnectDevice(dhandle: *mut AARTSAAPI_Device) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_StartDevice(dhandle: *mut AARTSAAPI_Device) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_StopDevice(dhandle: *mut AARTSAAPI_Device) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_GetDeviceState(dhandle: *mut AARTSAAPI_Device) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_AvailPackets(
dhandle: *mut AARTSAAPI_Device,
channel: i32,
num: *mut i32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_GetPacket(
dhandle: *mut AARTSAAPI_Device,
channel: i32,
index: i32,
packet: *mut AARTSAAPI_Packet,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConsumePackets(
dhandle: *mut AARTSAAPI_Device,
channel: i32,
num: i32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_GetMasterStreamTime(
dhandle: *mut AARTSAAPI_Device,
stime: *mut f64,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_SendPacket(
dhandle: *mut AARTSAAPI_Device,
channel: i32,
packet: *const AARTSAAPI_Packet,
) -> AARTSAAPI_Result;
}
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_OTHER: AARTSAAPI_ConfigType = 0;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_GROUP: AARTSAAPI_ConfigType = 1;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_BLOB: AARTSAAPI_ConfigType = 2;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_NUMBER: AARTSAAPI_ConfigType = 3;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_BOOL: AARTSAAPI_ConfigType = 4;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_ENUM: AARTSAAPI_ConfigType = 5;
pub const AARTSAAPI_ConfigType_AARTSAAPI_CONFIG_TYPE_STRING: AARTSAAPI_ConfigType = 6;
pub type AARTSAAPI_ConfigType = ::std::os::raw::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct AARTSAAPI_ConfigInfo {
pub cbsize: i64,
pub name: [u32; 80usize],
pub title: [u32; 120usize],
pub type_: AARTSAAPI_ConfigType,
pub minValue: f64,
pub maxValue: f64,
pub stepValue: f64,
pub unit: [u32; 10usize],
pub options: [u32; 1000usize],
pub disabledOptions: u64,
}
#[test]
fn bindgen_test_layout_AARTSAAPI_ConfigInfo() {
const UNINIT: ::std::mem::MaybeUninit<AARTSAAPI_ConfigInfo> = ::std::mem::MaybeUninit::uninit();
let ptr = UNINIT.as_ptr();
assert_eq!(
::std::mem::size_of::<AARTSAAPI_ConfigInfo>(),
4888usize,
concat!("Size of: ", stringify!(AARTSAAPI_ConfigInfo))
);
assert_eq!(
::std::mem::align_of::<AARTSAAPI_ConfigInfo>(),
8usize,
concat!("Alignment of ", stringify!(AARTSAAPI_ConfigInfo))
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).cbsize) as usize - ptr as usize },
0usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(cbsize)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
8usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(name)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).title) as usize - ptr as usize },
328usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(title)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).type_) as usize - ptr as usize },
808usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(type_)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).minValue) as usize - ptr as usize },
816usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(minValue)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).maxValue) as usize - ptr as usize },
824usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(maxValue)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).stepValue) as usize - ptr as usize },
832usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(stepValue)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).unit) as usize - ptr as usize },
840usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(unit)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).options) as usize - ptr as usize },
880usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(options)
)
);
assert_eq!(
unsafe { ::std::ptr::addr_of!((*ptr).disabledOptions) as usize - ptr as usize },
4880usize,
concat!(
"Offset of field: ",
stringify!(AARTSAAPI_ConfigInfo),
"::",
stringify!(disabledOptions)
)
);
}
extern "C" {
pub fn AARTSAAPI_ConfigRoot(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigHealth(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigFirst(
dhandle: *mut AARTSAAPI_Device,
group: *mut AARTSAAPI_Config,
config: *mut AARTSAAPI_Config,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigNext(
dhandle: *mut AARTSAAPI_Device,
group: *mut AARTSAAPI_Config,
config: *mut AARTSAAPI_Config,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigFind(
dhandle: *mut AARTSAAPI_Device,
group: *mut AARTSAAPI_Config,
config: *mut AARTSAAPI_Config,
name: *const u32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigGetName(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
name: *mut u32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigGetInfo(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
cinfo: *mut AARTSAAPI_ConfigInfo,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigSetFloat(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: f64,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigGetFloat(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: *mut f64,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigSetString(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: *const u32,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigGetString(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: *mut u32,
size: *mut i64,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigSetInteger(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: i64,
) -> AARTSAAPI_Result;
}
extern "C" {
pub fn AARTSAAPI_ConfigGetInteger(
dhandle: *mut AARTSAAPI_Device,
config: *mut AARTSAAPI_Config,
value: *mut i64,
) -> AARTSAAPI_Result;
}