FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
tinyb/include/generated-code.h at master · intel-iot-devkit/tinyb · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
This repository was archived by the owner on Jan 4, 2023. It is now read-only.
intel-iot-devkit
/
tinyb
Public archive
Notifications
You must be signed in to change notification settings
Fork
120
Star
270
Code
Issues
83
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
tinyb
/
include
/
generated-code.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
1523 lines (1160 loc) · 49.3 KB
Breadcrumbs
tinyb
/
include
/
generated-code.h
Copy path
File metadata and controls
1523 lines (1160 loc) · 49.3 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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 gdbus-codegen 2.48.2. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
#ifndef
__GENERATED_CODE_H__
#define
__GENERATED_CODE_H__
#include
<gio/gio.h>
G_BEGIN_DECLS
/* ------------------------------------------------------------------------ */
/* Declarations for org.bluez.Adapter1 */
#define
TYPE_ADAPTER1
(adapter1_get_type ())
#define
ADAPTER1
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ADAPTER1, Adapter1))
#define
IS_ADAPTER1
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ADAPTER1))
#define
ADAPTER1_GET_IFACE
(
o
) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ADAPTER1, Adapter1Iface))
struct
_Adapter1
;
typedef
struct
_Adapter1
Adapter1
;
typedef
struct
_Adapter1Iface
Adapter1Iface
;
struct
_Adapter1Iface
{
GTypeInterface
parent_iface
;
gboolean
(
*
handle_remove_device
) (
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
,
const
gchar
*
arg_device
);
gboolean
(
*
handle_start_discovery
) (
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_stop_discovery
) (
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_set_discovery_filter
) (
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
,
GVariant
*
arg_filter
);
const
gchar
*
(
*
get_address
) (
Adapter1
*
object
);
const
gchar
*
(
*
get_alias
) (
Adapter1
*
object
);
guint
(
*
get_class
) (
Adapter1
*
object
);
gboolean
(
*
get_discoverable
) (
Adapter1
*
object
);
guint
(
*
get_discoverable_timeout
) (
Adapter1
*
object
);
gboolean
(
*
get_discovering
) (
Adapter1
*
object
);
const
gchar
*
(
*
get_modalias
) (
Adapter1
*
object
);
const
gchar
*
(
*
get_name
) (
Adapter1
*
object
);
gboolean
(
*
get_pairable
) (
Adapter1
*
object
);
guint
(
*
get_pairable_timeout
) (
Adapter1
*
object
);
gboolean
(
*
get_powered
) (
Adapter1
*
object
);
const
gchar
*
const
*
(
*
get_uuids
) (
Adapter1
*
object
);
};
GType
adapter1_get_type
(
void
)
G_GNUC_CONST
;
GDBusInterfaceInfo
*
adapter1_interface_info
(
void
);
guint
adapter1_override_properties
(
GObjectClass
*
klass
,
guint
property_id_begin
);
/* D-Bus method call completion functions: */
void
adapter1_complete_start_discovery
(
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
adapter1_complete_stop_discovery
(
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
adapter1_complete_remove_device
(
Adapter1
*
object
,
GDBusMethodInvocation
*
invocation
);
/* D-Bus method calls: */
void
adapter1_call_start_discovery
(
Adapter1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
adapter1_call_start_discovery_finish
(
Adapter1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
adapter1_call_start_discovery_sync
(
Adapter1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
adapter1_call_stop_discovery
(
Adapter1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
adapter1_call_stop_discovery_finish
(
Adapter1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
adapter1_call_stop_discovery_sync
(
Adapter1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
adapter1_call_remove_device
(
Adapter1
*
proxy
,
const
gchar
*
arg_device
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
adapter1_call_remove_device_finish
(
Adapter1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
adapter1_call_remove_device_sync
(
Adapter1
*
proxy
,
const
gchar
*
arg_device
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
adapter1_call_set_discovery_filter
(
Adapter1
*
proxy
,
GVariant
*
arg_filter
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
adapter1_call_set_discovery_filter_finish
(
Adapter1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
adapter1_call_set_discovery_filter_sync
(
Adapter1
*
proxy
,
GVariant
*
arg_filter
,
GCancellable
*
cancellable
,
GError
*
*
error
);
/* D-Bus property accessors: */
const
gchar
*
adapter1_get_address
(
Adapter1
*
object
);
gchar
*
adapter1_dup_address
(
Adapter1
*
object
);
void
adapter1_set_address
(
Adapter1
*
object
,
const
gchar
*
value
);
const
gchar
*
adapter1_get_name
(
Adapter1
*
object
);
gchar
*
adapter1_dup_name
(
Adapter1
*
object
);
void
adapter1_set_name
(
Adapter1
*
object
,
const
gchar
*
value
);
const
gchar
*
adapter1_get_alias
(
Adapter1
*
object
);
gchar
*
adapter1_dup_alias
(
Adapter1
*
object
);
void
adapter1_set_alias
(
Adapter1
*
object
,
const
gchar
*
value
);
guint
adapter1_get_class
(
Adapter1
*
object
);
void
adapter1_set_class
(
Adapter1
*
object
,
guint
value
);
gboolean
adapter1_get_powered
(
Adapter1
*
object
);
void
adapter1_set_powered
(
Adapter1
*
object
,
gboolean
value
);
gboolean
adapter1_get_discoverable
(
Adapter1
*
object
);
void
adapter1_set_discoverable
(
Adapter1
*
object
,
gboolean
value
);
guint
adapter1_get_discoverable_timeout
(
Adapter1
*
object
);
void
adapter1_set_discoverable_timeout
(
Adapter1
*
object
,
guint
value
);
gboolean
adapter1_get_pairable
(
Adapter1
*
object
);
void
adapter1_set_pairable
(
Adapter1
*
object
,
gboolean
value
);
guint
adapter1_get_pairable_timeout
(
Adapter1
*
object
);
void
adapter1_set_pairable_timeout
(
Adapter1
*
object
,
guint
value
);
gboolean
adapter1_get_discovering
(
Adapter1
*
object
);
void
adapter1_set_discovering
(
Adapter1
*
object
,
gboolean
value
);
const
gchar
*
const
*
adapter1_get_uuids
(
Adapter1
*
object
);
gchar
*
*
adapter1_dup_uuids
(
Adapter1
*
object
);
void
adapter1_set_uuids
(
Adapter1
*
object
,
const
gchar
*
const
*
value
);
const
gchar
*
adapter1_get_modalias
(
Adapter1
*
object
);
gchar
*
adapter1_dup_modalias
(
Adapter1
*
object
);
void
adapter1_set_modalias
(
Adapter1
*
object
,
const
gchar
*
value
);
/* ---- */
#define
TYPE_ADAPTER1_PROXY
(adapter1_proxy_get_type ())
#define
ADAPTER1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ADAPTER1_PROXY, Adapter1Proxy))
#define
ADAPTER1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ADAPTER1_PROXY, Adapter1ProxyClass))
#define
ADAPTER1_PROXY_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ADAPTER1_PROXY, Adapter1ProxyClass))
#define
IS_ADAPTER1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ADAPTER1_PROXY))
#define
IS_ADAPTER1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ADAPTER1_PROXY))
typedef
struct
_Adapter1Proxy
Adapter1Proxy
;
typedef
struct
_Adapter1ProxyClass
Adapter1ProxyClass
;
typedef
struct
_Adapter1ProxyPrivate
Adapter1ProxyPrivate
;
struct
_Adapter1Proxy
{
/*< private >*/
GDBusProxy
parent_instance
;
Adapter1ProxyPrivate
*
priv
;
};
struct
_Adapter1ProxyClass
{
GDBusProxyClass
parent_class
;
};
GType
adapter1_proxy_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
Adapter1Proxy
,
g_object_unref
)
#endif
void
adapter1_proxy_new
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
Adapter1
*
adapter1_proxy_new_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
Adapter1
*
adapter1_proxy_new_sync
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
adapter1_proxy_new_for_bus
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
Adapter1
*
adapter1_proxy_new_for_bus_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
Adapter1
*
adapter1_proxy_new_for_bus_sync
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
/* ---- */
#define
TYPE_ADAPTER1_SKELETON
(adapter1_skeleton_get_type ())
#define
ADAPTER1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ADAPTER1_SKELETON, Adapter1Skeleton))
#define
ADAPTER1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ADAPTER1_SKELETON, Adapter1SkeletonClass))
#define
ADAPTER1_SKELETON_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ADAPTER1_SKELETON, Adapter1SkeletonClass))
#define
IS_ADAPTER1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ADAPTER1_SKELETON))
#define
IS_ADAPTER1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ADAPTER1_SKELETON))
typedef
struct
_Adapter1Skeleton
Adapter1Skeleton
;
typedef
struct
_Adapter1SkeletonClass
Adapter1SkeletonClass
;
typedef
struct
_Adapter1SkeletonPrivate
Adapter1SkeletonPrivate
;
struct
_Adapter1Skeleton
{
/*< private >*/
GDBusInterfaceSkeleton
parent_instance
;
Adapter1SkeletonPrivate
*
priv
;
};
struct
_Adapter1SkeletonClass
{
GDBusInterfaceSkeletonClass
parent_class
;
};
GType
adapter1_skeleton_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
Adapter1Skeleton
,
g_object_unref
)
#endif
Adapter1
*
adapter1_skeleton_new
(
void
);
/* ------------------------------------------------------------------------ */
/* Declarations for org.bluez.Device1 */
#define
TYPE_DEVICE1
(device1_get_type ())
#define
DEVICE1
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DEVICE1, Device1))
#define
IS_DEVICE1
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DEVICE1))
#define
DEVICE1_GET_IFACE
(
o
) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_DEVICE1, Device1Iface))
struct
_Device1
;
typedef
struct
_Device1
Device1
;
typedef
struct
_Device1Iface
Device1Iface
;
struct
_Device1Iface
{
GTypeInterface
parent_iface
;
gboolean
(
*
handle_cancel_pairing
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_connect
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_connect_profile
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
,
const
gchar
*
arg_UUID
);
gboolean
(
*
handle_disconnect
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_disconnect_profile
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
,
const
gchar
*
arg_UUID
);
gboolean
(
*
handle_pair
) (
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
const
gchar
*
(
*
get_adapter
) (
Device1
*
object
);
const
gchar
*
(
*
get_address
) (
Device1
*
object
);
const
gchar
*
(
*
get_alias
) (
Device1
*
object
);
guint16
(
*
get_appearance
) (
Device1
*
object
);
gboolean
(
*
get_blocked
) (
Device1
*
object
);
guint
(
*
get_class
) (
Device1
*
object
);
gboolean
(
*
get_connected
) (
Device1
*
object
);
const
gchar
*
(
*
get_icon
) (
Device1
*
object
);
gboolean
(
*
get_legacy_pairing
) (
Device1
*
object
);
GVariant
*
(
*
get_manufacturer_data
) (
Device1
*
object
);
const
gchar
*
(
*
get_modalias
) (
Device1
*
object
);
const
gchar
*
(
*
get_name
) (
Device1
*
object
);
gboolean
(
*
get_paired
) (
Device1
*
object
);
gint16
(
*
get_rssi
) (
Device1
*
object
);
GVariant
*
(
*
get_service_data
) (
Device1
*
object
);
gboolean
(
*
get_services_resolved
) (
Device1
*
object
);
gboolean
(
*
get_trusted
) (
Device1
*
object
);
gint16
(
*
get_tx_power
) (
Device1
*
object
);
const
gchar
*
const
*
(
*
get_uuids
) (
Device1
*
object
);
};
GType
device1_get_type
(
void
)
G_GNUC_CONST
;
GDBusInterfaceInfo
*
device1_interface_info
(
void
);
guint
device1_override_properties
(
GObjectClass
*
klass
,
guint
property_id_begin
);
/* D-Bus method call completion functions: */
void
device1_complete_disconnect
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
device1_complete_connect
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
device1_complete_connect_profile
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
device1_complete_disconnect_profile
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
device1_complete_pair
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
device1_complete_cancel_pairing
(
Device1
*
object
,
GDBusMethodInvocation
*
invocation
);
/* D-Bus method calls: */
void
device1_call_disconnect
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_disconnect_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_disconnect_sync
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_call_connect
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_connect_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_connect_sync
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_call_connect_profile
(
Device1
*
proxy
,
const
gchar
*
arg_UUID
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_connect_profile_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_connect_profile_sync
(
Device1
*
proxy
,
const
gchar
*
arg_UUID
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_call_disconnect_profile
(
Device1
*
proxy
,
const
gchar
*
arg_UUID
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_disconnect_profile_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_disconnect_profile_sync
(
Device1
*
proxy
,
const
gchar
*
arg_UUID
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_call_pair
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_pair_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_pair_sync
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_call_cancel_pairing
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
device1_call_cancel_pairing_finish
(
Device1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
device1_call_cancel_pairing_sync
(
Device1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
/* D-Bus property accessors: */
const
gchar
*
device1_get_address
(
Device1
*
object
);
gchar
*
device1_dup_address
(
Device1
*
object
);
void
device1_set_address
(
Device1
*
object
,
const
gchar
*
value
);
const
gchar
*
device1_get_name
(
Device1
*
object
);
gchar
*
device1_dup_name
(
Device1
*
object
);
void
device1_set_name
(
Device1
*
object
,
const
gchar
*
value
);
const
gchar
*
device1_get_alias
(
Device1
*
object
);
gchar
*
device1_dup_alias
(
Device1
*
object
);
void
device1_set_alias
(
Device1
*
object
,
const
gchar
*
value
);
guint
device1_get_class
(
Device1
*
object
);
void
device1_set_class
(
Device1
*
object
,
guint
value
);
guint16
device1_get_appearance
(
Device1
*
object
);
void
device1_set_appearance
(
Device1
*
object
,
guint16
value
);
const
gchar
*
device1_get_icon
(
Device1
*
object
);
gchar
*
device1_dup_icon
(
Device1
*
object
);
void
device1_set_icon
(
Device1
*
object
,
const
gchar
*
value
);
gboolean
device1_get_paired
(
Device1
*
object
);
void
device1_set_paired
(
Device1
*
object
,
gboolean
value
);
gboolean
device1_get_trusted
(
Device1
*
object
);
void
device1_set_trusted
(
Device1
*
object
,
gboolean
value
);
gboolean
device1_get_blocked
(
Device1
*
object
);
void
device1_set_blocked
(
Device1
*
object
,
gboolean
value
);
gboolean
device1_get_legacy_pairing
(
Device1
*
object
);
void
device1_set_legacy_pairing
(
Device1
*
object
,
gboolean
value
);
gint16
device1_get_rssi
(
Device1
*
object
);
void
device1_set_rssi
(
Device1
*
object
,
gint16
value
);
gboolean
device1_get_connected
(
Device1
*
object
);
void
device1_set_connected
(
Device1
*
object
,
gboolean
value
);
const
gchar
*
const
*
device1_get_uuids
(
Device1
*
object
);
gchar
*
*
device1_dup_uuids
(
Device1
*
object
);
void
device1_set_uuids
(
Device1
*
object
,
const
gchar
*
const
*
value
);
const
gchar
*
device1_get_modalias
(
Device1
*
object
);
gchar
*
device1_dup_modalias
(
Device1
*
object
);
void
device1_set_modalias
(
Device1
*
object
,
const
gchar
*
value
);
const
gchar
*
device1_get_adapter
(
Device1
*
object
);
gchar
*
device1_dup_adapter
(
Device1
*
object
);
void
device1_set_adapter
(
Device1
*
object
,
const
gchar
*
value
);
GVariant
*
device1_get_manufacturer_data
(
Device1
*
object
);
GVariant
*
device1_dup_manufacturer_data
(
Device1
*
object
);
void
device1_set_manufacturer_data
(
Device1
*
object
,
GVariant
*
value
);
GVariant
*
device1_get_service_data
(
Device1
*
object
);
GVariant
*
device1_dup_service_data
(
Device1
*
object
);
void
device1_set_service_data
(
Device1
*
object
,
GVariant
*
value
);
gint16
device1_get_tx_power
(
Device1
*
object
);
void
device1_set_tx_power
(
Device1
*
object
,
gint16
value
);
gboolean
device1_get_services_resolved
(
Device1
*
object
);
void
device1_set_services_resolved
(
Device1
*
object
,
gboolean
value
);
/* ---- */
#define
TYPE_DEVICE1_PROXY
(device1_proxy_get_type ())
#define
DEVICE1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DEVICE1_PROXY, Device1Proxy))
#define
DEVICE1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DEVICE1_PROXY, Device1ProxyClass))
#define
DEVICE1_PROXY_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DEVICE1_PROXY, Device1ProxyClass))
#define
IS_DEVICE1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DEVICE1_PROXY))
#define
IS_DEVICE1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DEVICE1_PROXY))
typedef
struct
_Device1Proxy
Device1Proxy
;
typedef
struct
_Device1ProxyClass
Device1ProxyClass
;
typedef
struct
_Device1ProxyPrivate
Device1ProxyPrivate
;
struct
_Device1Proxy
{
/*< private >*/
GDBusProxy
parent_instance
;
Device1ProxyPrivate
*
priv
;
};
struct
_Device1ProxyClass
{
GDBusProxyClass
parent_class
;
};
GType
device1_proxy_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
Device1Proxy
,
g_object_unref
)
#endif
void
device1_proxy_new
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
Device1
*
device1_proxy_new_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
Device1
*
device1_proxy_new_sync
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
device1_proxy_new_for_bus
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
Device1
*
device1_proxy_new_for_bus_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
Device1
*
device1_proxy_new_for_bus_sync
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
/* ---- */
#define
TYPE_DEVICE1_SKELETON
(device1_skeleton_get_type ())
#define
DEVICE1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_DEVICE1_SKELETON, Device1Skeleton))
#define
DEVICE1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_DEVICE1_SKELETON, Device1SkeletonClass))
#define
DEVICE1_SKELETON_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_DEVICE1_SKELETON, Device1SkeletonClass))
#define
IS_DEVICE1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_DEVICE1_SKELETON))
#define
IS_DEVICE1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_DEVICE1_SKELETON))
typedef
struct
_Device1Skeleton
Device1Skeleton
;
typedef
struct
_Device1SkeletonClass
Device1SkeletonClass
;
typedef
struct
_Device1SkeletonPrivate
Device1SkeletonPrivate
;
struct
_Device1Skeleton
{
/*< private >*/
GDBusInterfaceSkeleton
parent_instance
;
Device1SkeletonPrivate
*
priv
;
};
struct
_Device1SkeletonClass
{
GDBusInterfaceSkeletonClass
parent_class
;
};
GType
device1_skeleton_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
Device1Skeleton
,
g_object_unref
)
#endif
Device1
*
device1_skeleton_new
(
void
);
/* ------------------------------------------------------------------------ */
/* Declarations for org.bluez.GattService1 */
#define
TYPE_GATT_SERVICE1
(gatt_service1_get_type ())
#define
GATT_SERVICE1
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_GATT_SERVICE1, GattService1))
#define
IS_GATT_SERVICE1
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_GATT_SERVICE1))
#define
GATT_SERVICE1_GET_IFACE
(
o
) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_GATT_SERVICE1, GattService1Iface))
struct
_GattService1
;
typedef
struct
_GattService1
GattService1
;
typedef
struct
_GattService1Iface
GattService1Iface
;
struct
_GattService1Iface
{
GTypeInterface
parent_iface
;
const
gchar
*
const
*
(
*
get_characteristics
) (
GattService1
*
object
);
const
gchar
*
(
*
get_device
) (
GattService1
*
object
);
gboolean
(
*
get_primary
) (
GattService1
*
object
);
const
gchar
*
(
*
get_uuid
) (
GattService1
*
object
);
};
GType
gatt_service1_get_type
(
void
)
G_GNUC_CONST
;
GDBusInterfaceInfo
*
gatt_service1_interface_info
(
void
);
guint
gatt_service1_override_properties
(
GObjectClass
*
klass
,
guint
property_id_begin
);
/* D-Bus property accessors: */
const
gchar
*
gatt_service1_get_uuid
(
GattService1
*
object
);
gchar
*
gatt_service1_dup_uuid
(
GattService1
*
object
);
void
gatt_service1_set_uuid
(
GattService1
*
object
,
const
gchar
*
value
);
const
gchar
*
gatt_service1_get_device
(
GattService1
*
object
);
gchar
*
gatt_service1_dup_device
(
GattService1
*
object
);
void
gatt_service1_set_device
(
GattService1
*
object
,
const
gchar
*
value
);
gboolean
gatt_service1_get_primary
(
GattService1
*
object
);
void
gatt_service1_set_primary
(
GattService1
*
object
,
gboolean
value
);
const
gchar
*
const
*
gatt_service1_get_characteristics
(
GattService1
*
object
);
gchar
*
*
gatt_service1_dup_characteristics
(
GattService1
*
object
);
void
gatt_service1_set_characteristics
(
GattService1
*
object
,
const
gchar
*
const
*
value
);
/* ---- */
#define
TYPE_GATT_SERVICE1_PROXY
(gatt_service1_proxy_get_type ())
#define
GATT_SERVICE1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_GATT_SERVICE1_PROXY, GattService1Proxy))
#define
GATT_SERVICE1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_GATT_SERVICE1_PROXY, GattService1ProxyClass))
#define
GATT_SERVICE1_PROXY_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_GATT_SERVICE1_PROXY, GattService1ProxyClass))
#define
IS_GATT_SERVICE1_PROXY
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_GATT_SERVICE1_PROXY))
#define
IS_GATT_SERVICE1_PROXY_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_GATT_SERVICE1_PROXY))
typedef
struct
_GattService1Proxy
GattService1Proxy
;
typedef
struct
_GattService1ProxyClass
GattService1ProxyClass
;
typedef
struct
_GattService1ProxyPrivate
GattService1ProxyPrivate
;
struct
_GattService1Proxy
{
/*< private >*/
GDBusProxy
parent_instance
;
GattService1ProxyPrivate
*
priv
;
};
struct
_GattService1ProxyClass
{
GDBusProxyClass
parent_class
;
};
GType
gatt_service1_proxy_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
GattService1Proxy
,
g_object_unref
)
#endif
void
gatt_service1_proxy_new
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
GattService1
*
gatt_service1_proxy_new_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
GattService1
*
gatt_service1_proxy_new_sync
(
GDBusConnection
*
connection
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
gatt_service1_proxy_new_for_bus
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
GattService1
*
gatt_service1_proxy_new_for_bus_finish
(
GAsyncResult
*
res
,
GError
*
*
error
);
GattService1
*
gatt_service1_proxy_new_for_bus_sync
(
GBusType
bus_type
,
GDBusProxyFlags
flags
,
const
gchar
*
name
,
const
gchar
*
object_path
,
GCancellable
*
cancellable
,
GError
*
*
error
);
/* ---- */
#define
TYPE_GATT_SERVICE1_SKELETON
(gatt_service1_skeleton_get_type ())
#define
GATT_SERVICE1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_GATT_SERVICE1_SKELETON, GattService1Skeleton))
#define
GATT_SERVICE1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_GATT_SERVICE1_SKELETON, GattService1SkeletonClass))
#define
GATT_SERVICE1_SKELETON_GET_CLASS
(
o
) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_GATT_SERVICE1_SKELETON, GattService1SkeletonClass))
#define
IS_GATT_SERVICE1_SKELETON
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_GATT_SERVICE1_SKELETON))
#define
IS_GATT_SERVICE1_SKELETON_CLASS
(
k
) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_GATT_SERVICE1_SKELETON))
typedef
struct
_GattService1Skeleton
GattService1Skeleton
;
typedef
struct
_GattService1SkeletonClass
GattService1SkeletonClass
;
typedef
struct
_GattService1SkeletonPrivate
GattService1SkeletonPrivate
;
struct
_GattService1Skeleton
{
/*< private >*/
GDBusInterfaceSkeleton
parent_instance
;
GattService1SkeletonPrivate
*
priv
;
};
struct
_GattService1SkeletonClass
{
GDBusInterfaceSkeletonClass
parent_class
;
};
GType
gatt_service1_skeleton_get_type
(
void
)
G_GNUC_CONST
;
#if
GLIB_CHECK_VERSION
(
2
,
44
,
0
)
G_DEFINE_AUTOPTR_CLEANUP_FUNC
(
GattService1Skeleton
,
g_object_unref
)
#endif
GattService1
*
gatt_service1_skeleton_new
(
void
);
/* ------------------------------------------------------------------------ */
/* Declarations for org.bluez.GattCharacteristic1 */
#define
TYPE_GATT_CHARACTERISTIC1
(gatt_characteristic1_get_type ())
#define
GATT_CHARACTERISTIC1
(
o
) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_GATT_CHARACTERISTIC1, GattCharacteristic1))
#define
IS_GATT_CHARACTERISTIC1
(
o
) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_GATT_CHARACTERISTIC1))
#define
GATT_CHARACTERISTIC1_GET_IFACE
(
o
) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_GATT_CHARACTERISTIC1, GattCharacteristic1Iface))
struct
_GattCharacteristic1
;
typedef
struct
_GattCharacteristic1
GattCharacteristic1
;
typedef
struct
_GattCharacteristic1Iface
GattCharacteristic1Iface
;
struct
_GattCharacteristic1Iface
{
GTypeInterface
parent_iface
;
gboolean
(
*
handle_read_value
) (
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
,
GVariant
*
arg_options
);
gboolean
(
*
handle_start_notify
) (
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_stop_notify
) (
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
);
gboolean
(
*
handle_write_value
) (
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
,
const
GBytes
*
arg_value
,
GVariant
*
arg_options
);
const
gchar
*
const
*
(
*
get_descriptors
) (
GattCharacteristic1
*
object
);
const
gchar
*
const
*
(
*
get_flags
) (
GattCharacteristic1
*
object
);
gboolean
(
*
get_notifying
) (
GattCharacteristic1
*
object
);
const
gchar
*
(
*
get_service
) (
GattCharacteristic1
*
object
);
const
gchar
*
(
*
get_uuid
) (
GattCharacteristic1
*
object
);
const
GBytes
*
(
*
get_value
) (
GattCharacteristic1
*
object
);
};
GType
gatt_characteristic1_get_type
(
void
)
G_GNUC_CONST
;
GDBusInterfaceInfo
*
gatt_characteristic1_interface_info
(
void
);
guint
gatt_characteristic1_override_properties
(
GObjectClass
*
klass
,
guint
property_id_begin
);
/* D-Bus method call completion functions: */
void
gatt_characteristic1_complete_read_value
(
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
,
const
gchar
*
value
);
void
gatt_characteristic1_complete_write_value
(
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
gatt_characteristic1_complete_start_notify
(
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
);
void
gatt_characteristic1_complete_stop_notify
(
GattCharacteristic1
*
object
,
GDBusMethodInvocation
*
invocation
);
/* D-Bus method calls: */
void
gatt_characteristic1_call_read_value
(
GattCharacteristic1
*
proxy
,
GVariant
*
arg_options
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
gatt_characteristic1_call_read_value_finish
(
GattCharacteristic1
*
proxy
,
GBytes
*
*
out_value
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
gatt_characteristic1_call_read_value_sync
(
GattCharacteristic1
*
proxy
,
GBytes
*
*
out_value
,
GVariant
*
arg_options
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
gatt_characteristic1_call_write_value
(
GattCharacteristic1
*
proxy
,
GBytes
*
arg_value
,
GVariant
*
arg_options
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
gatt_characteristic1_call_write_value_finish
(
GattCharacteristic1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
gatt_characteristic1_call_write_value_sync
(
GattCharacteristic1
*
proxy
,
GBytes
*
arg_value
,
GVariant
*
arg_options
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
gatt_characteristic1_call_start_notify
(
GattCharacteristic1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
gatt_characteristic1_call_start_notify_finish
(
GattCharacteristic1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
gboolean
gatt_characteristic1_call_start_notify_sync
(
GattCharacteristic1
*
proxy
,
GCancellable
*
cancellable
,
GError
*
*
error
);
void
gatt_characteristic1_call_stop_notify
(
GattCharacteristic1
*
proxy
,
GCancellable
*
cancellable
,
GAsyncReadyCallback
callback
,
gpointer
user_data
);
gboolean
gatt_characteristic1_call_stop_notify_finish
(
GattCharacteristic1
*
proxy
,
GAsyncResult
*
res
,
GError
*
*
error
);
View remainder of file in raw view
Back
|
FazBrowse Home
|
New Git URL