This file is indexed.

/usr/share/doc/libtelepathy-glib-doc/telepathy-glib/TpChannelManager.html is in libtelepathy-glib-doc 0.22.1-1ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

   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
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>TpChannelManager</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
<link rel="up" href="ch-service-base.html" title="Service-side implementation">
<link rel="prev" href="TpBaseConnection.html" title="TpBaseConnection">
<link rel="next" href="telepathy-glib-base-contact-list.html" title="TpBaseContactList">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="TpBaseConnection.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch-service-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">telepathy-glib API Reference Manual</th>
<td><a accesskey="n" href="telepathy-glib-base-contact-list.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#TpChannelManager.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#TpChannelManager.description" class="shortcut">Description</a>
                   | 
                  <a href="#TpChannelManager.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#TpChannelManager.implementations" class="shortcut">Known Implementations</a>
                   | 
                  <a href="#TpChannelManager.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="TpChannelManager"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="TpChannelManager.top_of_page"></a>TpChannelManager</span></h2>
<p>TpChannelManager — interface for creating and tracking channels</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="TpChannelManager.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;telepathy-glib/telepathy-glib.h&gt;

<span class="returnvalue">void</span>                (<a class="link" href="TpChannelManager.html#TpChannelManagerChannelClassFunc" title="TpChannelManagerChannelClassFunc ()">*TpChannelManagerChannelClassFunc</a>) (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *fixed_properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed_properties</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="TpChannelManager.html#TpChannelManagerForeachChannelClassFunc" title="TpChannelManagerForeachChannelClassFunc ()">*TpChannelManagerForeachChannelClassFunc</a>)
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerChannelClassFunc" title="TpChannelManagerChannelClassFunc ()"><span class="type">TpChannelManagerChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="TpChannelManager.html#TpChannelManagerTypeChannelClassFunc" title="TpChannelManagerTypeChannelClassFunc ()">*TpChannelManagerTypeChannelClassFunc</a>)
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *fixed_properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed_properties</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="TpChannelManager.html#TpChannelManagerTypeForeachChannelClassFunc" title="TpChannelManagerTypeForeachChannelClassFunc ()">*TpChannelManagerTypeForeachChannelClassFunc</a>)
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerTypeChannelClassFunc" title="TpChannelManagerTypeChannelClassFunc ()"><span class="type">TpChannelManagerTypeChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="TpChannelManager.html#TpChannelManagerForeachChannelFunc" title="TpChannelManagerForeachChannelFunc ()">*TpChannelManagerForeachChannelFunc</a>)
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html#TpExportableChannelFunc" title="TpExportableChannelFunc ()"><span class="type">TpExportableChannelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gboolean</span>            (<a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()">*TpChannelManagerRequestFunc</a>)      (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);
                    <a class="link" href="TpChannelManager.html#TpChannelManager-struct" title="TpChannelManager">TpChannelManager</a>;
struct              <a class="link" href="TpChannelManager.html#TpChannelManagerIface" title="struct TpChannelManagerIface">TpChannelManagerIface</a>;
<span class="returnvalue">gboolean</span>            <a class="link" href="TpChannelManager.html#tp-channel-manager-asv-has-unknown-properties" title="tp_channel_manager_asv_has_unknown_properties ()">tp_channel_manager_asv_has_unknown_properties</a>
                                                        (<em class="parameter"><code><span class="type">GHashTable</span> *properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *fixed</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed</code></em>,
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="TpChannelManager.html#tp-channel-manager-create-channel" title="tp_channel_manager_create_channel ()">tp_channel_manager_create_channel</a>   (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-channel-closed" title="tp_channel_manager_emit_channel_closed ()">tp_channel_manager_emit_channel_closed</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-channel-closed-for-object" title="tp_channel_manager_emit_channel_closed_for_object ()">tp_channel_manager_emit_channel_closed_for_object</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-new-channel" title="tp_channel_manager_emit_new_channel ()">tp_channel_manager_emit_new_channel</a> (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><span class="type">GSList</span> *request_tokens</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-new-channels" title="tp_channel_manager_emit_new_channels ()">tp_channel_manager_emit_new_channels</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *channels</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-request-already-satisfied" title="tp_channel_manager_emit_request_already_satisfied ()">tp_channel_manager_emit_request_already_satisfied</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-request-failed" title="tp_channel_manager_emit_request_failed ()">tp_channel_manager_emit_request_failed</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> code</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-request-failed-printf" title="tp_channel_manager_emit_request_failed_printf ()">tp_channel_manager_emit_request_failed_printf</a>
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> code</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>,
                                                         <em class="parameter"><code>...</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="TpChannelManager.html#tp-channel-manager-ensure-channel" title="tp_channel_manager_ensure_channel ()">tp_channel_manager_ensure_channel</a>   (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-foreach-channel" title="tp_channel_manager_foreach_channel ()">tp_channel_manager_foreach_channel</a>  (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html#TpExportableChannelFunc" title="TpExportableChannelFunc ()"><span class="type">TpExportableChannelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-foreach-channel-class" title="tp_channel_manager_foreach_channel_class ()">tp_channel_manager_foreach_channel_class</a>
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerChannelClassFunc" title="TpChannelManagerChannelClassFunc ()"><span class="type">TpChannelManagerChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="TpChannelManager.html#tp-channel-manager-type-foreach-channel-class" title="tp_channel_manager_type_foreach_channel_class ()">tp_channel_manager_type_foreach_channel_class</a>
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerTypeChannelClassFunc" title="TpChannelManagerTypeChannelClassFunc ()"><span class="type">TpChannelManagerTypeChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="TpChannelManager.html#tp-channel-manager-request-channel" title="tp_channel_manager_request_channel ()">tp_channel_manager_request_channel</a>  (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="TpChannelManager.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GInterface
   +----TpChannelManager
</pre>
</div>
<div class="refsect1">
<a name="TpChannelManager.implementations"></a><h2>Known Implementations</h2>
<p>
TpChannelManager is implemented by
 <a class="link" href="telepathy-glib-base-contact-list.html#TpBaseContactList">TpBaseContactList</a> and  <a class="link" href="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager">TpSimplePasswordManager</a>.</p>
</div>
<div class="refsect1">
<a name="TpChannelManager.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="TpChannelManager.html#TpChannelManager-channel-closed" title='The "channel-closed" signal'>channel-closed</a>"                                 : <code class="literal">Has Details</code>
  "<a class="link" href="TpChannelManager.html#TpChannelManager-new-channels" title='The "new-channels" signal'>new-channels</a>"                                   : <code class="literal">Has Details</code>
  "<a class="link" href="TpChannelManager.html#TpChannelManager-request-already-satisfied" title='The "request-already-satisfied" signal'>request-already-satisfied</a>"                      : <code class="literal">Has Details</code>
  "<a class="link" href="TpChannelManager.html#TpChannelManager-request-failed" title='The "request-failed" signal'>request-failed</a>"                                 : <code class="literal">Has Details</code>
</pre>
</div>
<div class="refsect1">
<a name="TpChannelManager.description"></a><h2>Description</h2>
<p>
A channel manager is attached to a connection. It carries out channel
requests from the connection, and responds to channel-related events on the
underlying network connection, for particular classes of channel (for
example, incoming and outgoing calls, respectively). It also tracks
currently-open channels of the relevant kinds.
</p>
<p>
The connection has an array of channel managers. In response to a call to
CreateChannel or RequestChannel, the channel request is offered to each
channel manager in turn, until one accepts the request. In a trivial
implementation there might be a single channel manager which handles all
requests and all incoming events, but in general, there will be multiple
channel managers handling different types of channel.
</p>
<p>
For example, at the time of writing, Gabble has a roster channel manager
which handles contact lists and groups, an IM channel manager which
handles one-to-one messaging, a MUC channel manager which handles
multi-user chat rooms, the index of chat rooms and MUC tubes, a media
channel manager which handles VoIP calls, and a 1-1 tubes channel manager.
</p>
</div>
<div class="refsect1">
<a name="TpChannelManager.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="TpChannelManagerChannelClassFunc"></a><h3>TpChannelManagerChannelClassFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*TpChannelManagerChannelClassFunc) (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *fixed_properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed_properties</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Signature of callbacks which act on each channel class supported by <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fixed_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValues, representing the values those properties must take to request
channels of a particular class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>allowed_properties</code></em> :</span></p></td>
<td>A <code class="literal">NULL</code>-terminated array of property names which may
appear in requests for a particular channel class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary user-supplied data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerForeachChannelClassFunc"></a><h3>TpChannelManagerForeachChannelClassFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*TpChannelManagerForeachChannelClassFunc)
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerChannelClassFunc" title="TpChannelManagerChannelClassFunc ()"><span class="type">TpChannelManagerChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Signature of an implementation of foreach_channel_class, which must call
func(manager, fixed, allowed, user_data) for each channel class understood
by <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the final argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerTypeChannelClassFunc"></a><h3>TpChannelManagerTypeChannelClassFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*TpChannelManagerTypeChannelClassFunc)
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *fixed_properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed_properties</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Signature of callbacks which act on each channel class potentially supported
by instances of <em class="parameter"><code>type</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>A type whose instances implement <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fixed_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValues, representing the values those properties must take to request
channels of a particular class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>allowed_properties</code></em> :</span></p></td>
<td>A <code class="literal">NULL</code>-terminated array of property names which may
appear in requests for a particular channel class.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary user-supplied data.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerTypeForeachChannelClassFunc"></a><h3>TpChannelManagerTypeForeachChannelClassFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*TpChannelManagerTypeForeachChannelClassFunc)
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerTypeChannelClassFunc" title="TpChannelManagerTypeChannelClassFunc ()"><span class="type">TpChannelManagerTypeChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Signature of an implementation of type_foreach_channel_class, which must
call func(type, fixed, allowed, user_data) for each channel class
potentially understood by instances of <em class="parameter"><code>type</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>A type whose instances implement <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the final argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerForeachChannelFunc"></a><h3>TpChannelManagerForeachChannelFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*TpChannelManagerForeachChannelFunc)
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html#TpExportableChannelFunc" title="TpExportableChannelFunc ()"><span class="type">TpExportableChannelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Signature of an implementation of foreach_channel, which must call
func(channel, user_data) for each channel managed by this channel manager.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>an object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the second argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerRequestFunc"></a><h3>TpChannelManagerRequestFunc ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            (*TpChannelManagerRequestFunc)      (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);</pre>
<p>
Signature of an implementation of <a class="link" href="TpChannelManager.html#TpChannelManagerIface.create-channel"><span class="type">TpChannelManagerIface.create_channel</span></a> and
<a class="link" href="TpChannelManager.html#TpChannelManagerIface.request-channel"><span class="type">TpChannelManagerIface.request_channel</span></a>.
</p>
<p>
Implementations should inspect the contents of <em class="parameter"><code>request_properties</code></em> to see if
it matches a channel class handled by this manager.  If so, they should
return <code class="literal">TRUE</code> to accept responsibility for the request, and ultimately emit
exactly one of the <a class="link" href="TpChannelManager.html#TpChannelManager-new-channels" title='The "new-channels" signal'><span class="type">"new-channels"</span></a>,
<a class="link" href="TpChannelManager.html#TpChannelManager-request-already-satisfied" title='The "request-already-satisfied" signal'><span class="type">"request-already-satisfied"</span></a> and
<a class="link" href="TpChannelManager.html#TpChannelManager-request-failed" title='The "request-failed" signal'><span class="type">"request-failed"</span></a> signals (including <em class="parameter"><code>request_token</code></em> in
the appropriate argument).
</p>
<p>
If the implementation does not want to handle the request, it should return
<code class="literal">FALSE</code> to allow the request to be offered to another channel manager.
</p>
<p>
Implementations may assume the following of <em class="parameter"><code>request_properties</code></em>:
</p>
<p>
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem">
     the ChannelType property is present, and is a (const gchar *)
  </li>
<li class="listitem">
    the TargetHandleType property is a valid <a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a>, if present
  </li>
<li class="listitem">
    if TargetHandleType is None, TargetHandle is omitted
  </li>
<li class="listitem">
    if TargetHandleType is not None, TargetHandle is a valid <a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="type">TpHandle</span></a> of
    that <a class="link" href="telepathy-glib-enums.html#TpHandleType" title="enum TpHandleType"><span class="type">TpHandleType</span></a>
</li>
</ul></div>
<p>
</p>
<p>
Changed in version 0.15.5: Previously the TargetID
property was guaranteed to be missing from <em class="parameter"><code>request_properties</code></em>. Now
it is always present, whether it was in the original channel
request or not.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing this pending request.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValue, representing the desired properties of a channel requested by a
Telepathy client. The hash table will be freed after the function returns;
if the channel manager wants to keep it around, it must copy it.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>manager</code></em> will handle this request, else <code class="literal">FALSE</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManager-struct"></a><h3>TpChannelManager</h3>
<pre class="programlisting">typedef struct _TpChannelManager TpChannelManager;</pre>
<p>
Opaque typedef representing any channel manager implementation.
</p>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManagerIface"></a><h3>struct TpChannelManagerIface</h3>
<pre class="programlisting">struct TpChannelManagerIface {
    GTypeInterface parent;

    TpChannelManagerForeachChannelFunc foreach_channel;

    TpChannelManagerForeachChannelClassFunc foreach_channel_class;

    TpChannelManagerRequestFunc create_channel;
    TpChannelManagerRequestFunc request_channel;
    TpChannelManagerRequestFunc ensure_channel;

    TpChannelManagerTypeForeachChannelClassFunc type_foreach_channel_class;
};
</pre>
<p>
The vtable for a channel manager implementation.
</p>
<p>
In addition to the fields documented here there are several GCallback
fields which must currently be <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><span class="type">GTypeInterface</span> <em class="structfield"><code><a name="TpChannelManagerIface.parent"></a>parent</code></em>;</span></p></td>
<td>Fields shared with GTypeInterface.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerForeachChannelFunc" title="TpChannelManagerForeachChannelFunc ()"><span class="type">TpChannelManagerForeachChannelFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.foreach-channel"></a>foreach_channel</code></em>;</span></p></td>
<td>Call func(channel, user_data) for each channel managed by
this manager. If not implemented, the manager is assumed to manage no
channels.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerForeachChannelClassFunc" title="TpChannelManagerForeachChannelClassFunc ()"><span class="type">TpChannelManagerForeachChannelClassFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.foreach-channel-class"></a>foreach_channel_class</code></em>;</span></p></td>
<td>Call func(manager, fixed, allowed, user_data) for
each class of channel that this instance can create (a subset of the
channel classes produced by <em class="parameter"><code>type_foreach_channel_class</code></em>). If not
implemented, <em class="parameter"><code>type_foreach_channel_class</code></em> is used.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.create-channel"></a>create_channel</code></em>;</span></p></td>
<td>Respond to a request for a new channel made with the
Connection.Interface.Requests.CreateChannel method. See
<a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a> for details.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.request-channel"></a>request_channel</code></em>;</span></p></td>
<td>Respond to a request for a (new or existing) channel made
with the Connection.RequestChannel method. See <a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a>
for details.</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.ensure-channel"></a>ensure_channel</code></em>;</span></p></td>
<td>Respond to a request for a (new or existing) channel made
with the Connection.Interface.Requests.EnsureChannel method. See
<a class="link" href="TpChannelManager.html#TpChannelManagerRequestFunc" title="TpChannelManagerRequestFunc ()"><span class="type">TpChannelManagerRequestFunc</span></a> for details.
Since: 0.7.16</td>
</tr>
<tr>
<td><p><span class="term"><a class="link" href="TpChannelManager.html#TpChannelManagerTypeForeachChannelClassFunc" title="TpChannelManagerTypeForeachChannelClassFunc ()"><span class="type">TpChannelManagerTypeForeachChannelClassFunc</span></a> <em class="structfield"><code><a name="TpChannelManagerIface.type-foreach-channel-class"></a>type_foreach_channel_class</code></em>;</span></p></td>
<td>Call func(cls, fixed, allowed, user_data)
for each class of channel that instances of this class might be able to
create.
Since: 0.11.11</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-asv-has-unknown-properties"></a><h3>tp_channel_manager_asv_has_unknown_properties ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            tp_channel_manager_asv_has_unknown_properties
                                                        (<em class="parameter"><code><span class="type">GHashTable</span> *properties</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *fixed</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> * const *allowed</code></em>,
                                                         <em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
<p>
Checks whether the keys of <em class="parameter"><code>properties</code></em> are elements of one of <em class="parameter"><code>fixed</code></em> and
<em class="parameter"><code>allowed</code></em>.  This is intended to be used by implementations of
<a class="link" href="TpChannelManager.html#TpChannelManagerIface.create-channel"><span class="type">TpChannelManagerIface.create_channel</span></a> which have decided to accept a request,
to conform with the specification's requirement that unknown requested
properties must cause a request to fail, not be silently ignored.
</p>
<p>
On encountering unknown properties, this function will return <code class="literal">TRUE</code>, and
set <em class="parameter"><code>error</code></em> to a <span class="type">GError</span> that could be used as a D-Bus method error.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
<td>a table mapping (const gchar *) property names to GValues,
as passed to methods of <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fixed</code></em> :</span></p></td>
<td>a <code class="literal">NULL</code>-terminated array of property names</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>allowed</code></em> :</span></p></td>
<td>a <code class="literal">NULL</code>-terminated array of property names</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>an address at which to store an error suitable for returning from
the D-Bus method when <em class="parameter"><code>properties</code></em> contains unknown properties</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>properties</code></em> contains keys not in either <em class="parameter"><code>fixed</code></em> or
<em class="parameter"><code>allowed</code></em>; else <code class="literal">FALSE</code>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-create-channel"></a><h3>tp_channel_manager_create_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            tp_channel_manager_create_channel   (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);</pre>
<p>
Offers an incoming CreateChannel call to <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing this pending request.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValue, representing the desired properties of a channel requested by a
Telepathy client.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if this request will be handled by <em class="parameter"><code>manager</code></em>; else <code class="literal">FALSE</code>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-channel-closed"></a><h3>tp_channel_manager_emit_channel_closed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_channel_closed
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-channel-closed" title='The "channel-closed" signal'><span class="type">"channel-closed"</span></a> signal indicating that
the channel at the given object path has been closed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>A channel's object-path</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-channel-closed-for-object"></a><h3>tp_channel_manager_emit_channel_closed_for_object ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_channel_closed_for_object
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-channel-closed" title='The "channel-closed" signal'><span class="type">"channel-closed"</span></a> signal indicating that
the given channel has been closed. (This is a convenient shortcut for
calling <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-channel-closed" title="tp_channel_manager_emit_channel_closed ()"><code class="function">tp_channel_manager_emit_channel_closed()</code></a> with the
<a class="link" href="TpExportableChannel.html#TpExportableChannel--object-path" title='The "object-path" property'><span class="type">"object-path"</span></a> property of <em class="parameter"><code>channel</code></em>.)
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>A <a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-new-channel"></a><h3>tp_channel_manager_emit_new_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_new_channel (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>,
                                                         <em class="parameter"><code><span class="type">GSList</span> *request_tokens</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-new-channels" title='The "new-channels" signal'><span class="type">"new-channels"</span></a> signal indicating that the
channel has been created.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>A <a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_tokens</code></em> :</span></p></td>
<td>the request tokens (opaque pointers) satisfied by this
channel</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-new-channels"></a><h3>tp_channel_manager_emit_new_channels ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_new_channels
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *channels</code></em>);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">tp_channel_manager_emit_new_channels</code> is deprecated and should not be used in newly-written code. in 0.19.1 this function should not be
 used. Signalling the creation of multiple channels together in a
 single signal is strongly recommended against as it's very
 complicated, hard to get right in clients, and not nearly as
 useful as it originally sounded. Use
 <a class="link" href="TpChannelManager.html#tp-channel-manager-emit-new-channel" title="tp_channel_manager_emit_new_channel ()"><code class="function">tp_channel_manager_emit_new_channel()</code></a> instead.</p>
</div>
<p>
If <em class="parameter"><code>channels</code></em> is non-empty, emit the <a class="link" href="TpChannelManager.html#TpChannelManager-new-channels" title='The "new-channels" signal'><span class="type">"new-channels"</span></a>
signal indicating that those channels have been created.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channels</code></em> :</span></p></td>
<td>a <span class="type">GHashTable</span> where the keys are
<a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> instances (hashed and compared
by <code class="function">g_direct_hash()</code> and <code class="function">g_direct_equal()</code>) and the values are
linked lists (<span class="type">GSList</span>) of request tokens (opaque pointers) satisfied by
these channels</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-request-already-satisfied"></a><h3>tp_channel_manager_emit_request_already_satisfied ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_request_already_satisfied
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> *channel</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-request-already-satisfied" title='The "request-already-satisfied" signal'><span class="type">"request-already-satisfied"</span></a> signal indicating
that the pre-existing channel <em class="parameter"><code>channel</code></em> satisfies <em class="parameter"><code>request_token</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing the request that
succeeded</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>The channel that satisfies the request</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-request-failed"></a><h3>tp_channel_manager_emit_request_failed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_request_failed
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> code</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-request-failed" title='The "request-failed" signal'><span class="type">"request-failed"</span></a> signal indicating that
the request <em class="parameter"><code>request_token</code></em> failed for the given reason.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing the request that failed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <span class="type">GError</span> domain</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>a <span class="type">GError</span> code appropriate for <em class="parameter"><code>domain</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td>the error message</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-emit-request-failed-printf"></a><h3>tp_channel_manager_emit_request_failed_printf ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_emit_request_failed_printf
                                                        (<em class="parameter"><code><span class="type">gpointer</span> instance</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GQuark</span> domain</code></em>,
                                                         <em class="parameter"><code><span class="type">gint</span> code</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *format</code></em>,
                                                         <em class="parameter"><code>...</code></em>);</pre>
<p>
Emit the <a class="link" href="TpChannelManager.html#TpChannelManager-request-failed" title='The "request-failed" signal'><span class="type">"request-failed"</span></a> signal indicating that
the request <em class="parameter"><code>request_token</code></em> failed for the given reason.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing the request that failed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>a <span class="type">GError</span> domain</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>a <span class="type">GError</span> code appropriate for <em class="parameter"><code>domain</code></em>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>format</code></em> :</span></p></td>
<td>a printf-style format string for the error message</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
<td>arguments for the format string</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-ensure-channel"></a><h3>tp_channel_manager_ensure_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            tp_channel_manager_ensure_channel   (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);</pre>
<p>
Offers an incoming EnsureChannel call to <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing this pending request.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValue, representing the desired properties of a channel requested by a
Telepathy client.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if this request will be handled by <em class="parameter"><code>manager</code></em>; else <code class="literal">FALSE</code>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.16</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-foreach-channel"></a><h3>tp_channel_manager_foreach_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_foreach_channel  (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpExportableChannel.html#TpExportableChannelFunc" title="TpExportableChannelFunc ()"><span class="type">TpExportableChannelFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Calls func(channel, user_data) for each channel managed by <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>an object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the second argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-foreach-channel-class"></a><h3>tp_channel_manager_foreach_channel_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_foreach_channel_class
                                                        (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerChannelClassFunc" title="TpChannelManagerChannelClassFunc ()"><span class="type">TpChannelManagerChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Calls func(manager, fixed, allowed, user_data) for each channel class
understood by <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the final argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-type-foreach-channel-class"></a><h3>tp_channel_manager_type_foreach_channel_class ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                tp_channel_manager_type_foreach_channel_class
                                                        (<em class="parameter"><code><span class="type">GType</span> type</code></em>,
                                                         <em class="parameter"><code><a class="link" href="TpChannelManager.html#TpChannelManagerTypeChannelClassFunc" title="TpChannelManagerTypeChannelClassFunc ()"><span class="type">TpChannelManagerTypeChannelClassFunc</span></a> func</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Calls func(type, fixed, allowed, user_data) for each channel class
potentially understood by instances of <em class="parameter"><code>type</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
<td>A type whose instances implement <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>A function</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Arbitrary data to be passed as the final argument of <em class="parameter"><code>func</code></em>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.11.11</p>
</div>
<hr>
<div class="refsect2">
<a name="tp-channel-manager-request-channel"></a><h3>tp_channel_manager_request_channel ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            tp_channel_manager_request_channel  (<em class="parameter"><code><a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *manager</code></em>,
                                                         <em class="parameter"><code><span class="type">gpointer</span> request_token</code></em>,
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *request_properties</code></em>);</pre>
<p>
Offers an incoming RequestChannel call to <em class="parameter"><code>manager</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>manager</code></em> :</span></p></td>
<td>An object implementing <a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>An opaque pointer representing this pending request.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_properties</code></em> :</span></p></td>
<td>A table mapping (const gchar *) property names to
GValue, representing the desired properties of a channel requested by a
Telepathy client.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if this request will be handled by <em class="parameter"><code>manager</code></em>; else <code class="literal">FALSE</code>.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 0.7.15</p>
</div>
</div>
<div class="refsect1">
<a name="TpChannelManager.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="TpChannelManager-channel-closed"></a><h3>The <code class="literal">"channel-closed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *self,
                                                        <span class="type">gchar</span>            *path,
                                                        <span class="type">gpointer</span>          user_data)      : <code class="literal">Has Details</code></pre>
<p>
Emitted when a channel has been closed. The Connection should
generally respond to this signal by emitting ChannelClosed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>the channel manager</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>path</code></em> :</span></p></td>
<td>the channel's object-path</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManager-new-channels"></a><h3>The <code class="literal">"new-channels"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *self,
                                                        <span class="type">gpointer</span>          channels,
                                                        <span class="type">gpointer</span>          user_data)      : <code class="literal">Has Details</code></pre>
<p>
Emitted when new channels have been created. The Connection should
generally emit NewChannels (and NewChannel) in response to this
signal, and then return from pending CreateChannel, EnsureChannel
and/or RequestChannel calls if appropriate.
</p>
<p>
Since 0.19.1, clients should not emit more than one
 channel in this signal at one time as the creation of
 multiple channels together in a single signal is strongly
 recommended against: it's very complicated, hard to get
 right in clients, and not nearly as useful as it originally
 sounded.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>the channel manager</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channels</code></em> :</span></p></td>
<td>a <span class="type">GHashTable</span> where the keys are
<a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> instances (hashed and compared
by <code class="function">g_direct_hash()</code> and <code class="function">g_direct_equal()</code>) and the values are
linked lists (<span class="type">GSList</span>) of request tokens (opaque pointers) satisfied
by these channels</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManager-request-already-satisfied"></a><h3>The <code class="literal">"request-already-satisfied"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *self,
                                                        <span class="type">gpointer</span>          request_token,
                                                        <span class="type">GObject</span>          *channel,
                                                        <span class="type">gpointer</span>          user_data)          : <code class="literal">Has Details</code></pre>
<p>
Emitted when a channel request is satisfied by an existing channel.
The Connection should generally respond to this signal by returning
success from EnsureChannel or RequestChannel.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>the channel manager</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>opaque pointer supplied by the requester,
representing a request</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
<td>the existing <a class="link" href="TpExportableChannel.html" title="TpExportableChannel"><span class="type">TpExportableChannel</span></a> that satisfies the
request</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="TpChannelManager-request-failed"></a><h3>The <code class="literal">"request-failed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="TpChannelManager.html" title="TpChannelManager"><span class="type">TpChannelManager</span></a> *self,
                                                        <span class="type">gpointer</span>          request_token,
                                                        <span class="type">guint</span>             domain,
                                                        <span class="type">gint</span>              code,
                                                        <span class="type">gchar</span>            *message,
                                                        <span class="type">gpointer</span>          user_data)          : <code class="literal">Has Details</code></pre>
<p>
Emitted when a channel request has failed. The Connection should
generally respond to this signal by returning failure from
CreateChannel, EnsureChannel or RequestChannel.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
<td>the channel manager</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request_token</code></em> :</span></p></td>
<td>opaque pointer supplied by the requester,
representing a request</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
<td>the domain of a <span class="type">GError</span> indicating why the request
failed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
<td>the error code of a <span class="type">GError</span> indicating why the request
failed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
<td>the string part of a <span class="type">GError</span> indicating why the request
failed</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="TpChannelManager.see-also"></a><h2>See Also</h2>
<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnection"><span class="type">TpSvcConnection</span></a>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>