Codebase list telepathy-glib / 5a52903
Imported Upstream version 0.14.1 Sjoerd Simons 13 years ago
131 changed file(s) with 4337 addition(s) and 839 deletion(s). Raw diff Collapse all Expand all
0 commit 9b3deb4eaf98c2f594c8d41d4ad1b6629871fddc
1 Author: Will Thompson <will.thompson@collabora.co.uk>
2 Date: 2011-03-22 12:55:26 +0000
3
4 Add a note about adding API on a stable branch.
5
6 commit 869a063a5ce8ff82557d806f253a289f6de5a225
7 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
8 Date: 2011-03-22 11:17:14 +0100
9
10 prepare 0.14.1
11
12 commit 3d75d29eaf6c34a017d2274caa6a7df004653c49
13 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
14 Date: 2011-03-22 11:50:09 +0100
15
16 add TpContactBlockingCapabilities to the doc as I meant to
17
18 commit 3c11d99746c55f93613d137da13db3dfc6820fbb
19 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
20 Date: 2011-03-22 10:56:00 +0100
21
22 Generate code for Conn.I.ContactBlocking
23
24 commit 00c153c57c455ecaa5bd12d0ece2c7afe4d4fec7
25 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
26 Date: 2011-03-22 10:25:22 +0100
27
28 sync to spec 0.22.0
29
30 commit b301f12e71ea54b842afe06554ac3f6ea45ec352
31 Author: Will Thompson <will.thompson@collabora.co.uk>
32 Date: 2011-03-21 18:09:51 +0000
33
34 Bump nano-version to 0.14.0.1
35
36 commit 62fb543541710a2443fd692cec9ecb72a9874351
37 Author: Will Thompson <will.thompson@collabora.co.uk>
38 Date: 2011-03-21 17:56:35 +0000
39
40 version 0.14.0
41
42 commit da645737686d92712c2ac622d2b2a888ba07bddd
43 Author: Will Thompson <will.thompson@collabora.co.uk>
44 Date: 2011-03-21 17:55:14 +0000
45
46 NEWS for 0.14.0
47
48 commit 83edfa4ffbddf7ff62432bbd82b446ed3d2e854d
49 Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
50 Date: 2011-03-16 15:27:39 -0400
51
52 Fix got_sender_contact_by_id_cb error handling
53
54 This bug was introduced by 5cc352873f102b6a43c2a95b71a9a2e5a38526ab
55
56 commit 0b86a27be7ecd4401696624b925e4719b9a4f31a
57 Author: Nicolas Dufresne <nicolas.dufresne@collabora.co.uk>
58 Date: 2011-03-16 15:27:25 -0400
59
60 Fix got_sender_contact_by_handle_cb error handling
61
62 This bug was introduced by 5cc352873f102b6a43c2a95b71a9a2e5a38526ab
63
64 commit d2708eeced8185c02c61420678f674f71b2bf3be
65 Author: Will Thompson <will.thompson@collabora.co.uk>
66 Date: 2011-03-15 20:11:48 +0000
67
68 Bump nano-version to 0.13.18.1
69
70 commit 4a2637ec606509c1848a293da034abbfbbb0ea18
71 Author: Will Thompson <will.thompson@collabora.co.uk>
72 Date: 2011-03-15 19:32:13 +0000
73
74 Version 0.13.18
75
76 commit 2189991503efd71bd65887c5ab280d4078ae7534
77 Author: Will Thompson <will.thompson@collabora.co.uk>
78 Date: 2011-03-15 19:31:45 +0000
79
80 News for 0.13.18
81
82 commit ca3c4e31c0a93976f7fc4d20323c6995d28c8f7b
83 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
84 Date: 2011-03-08 16:52:06 +0000
85
86 with-session-bus.sh: set DBUS_SESSION_BUS_PID, like dbus-launch does
87
88 This isn't directly useful for Telepathy, but is useful if you're
89 debugging the dbus-daemon itself.
90
91 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
92
93 commit e77e5c7c6982e7b0ec167a812d5eae5082193a52
94 Merge: 64a19c7 6418d8a
95 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
96 Date: 2011-03-15 18:15:21 +0000
97
98 Merge branch 'ldflags'
99
100 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
101 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32976
102
103 commit 64a19c7d218db2429b49b578e267c24871657774
104 Merge: a08b10e bc812a8
105 Author: Will Thompson <will.thompson@collabora.co.uk>
106 Date: 2011-03-15 18:12:49 +0000
107
108 Merge branch 'fd.o-34337-gcc-4.6'
109
110 commit bc812a896a33f184d4ddee6fb20f4659ef60f8f8
111 Author: Will Thompson <will.thompson@collabora.co.uk>
112 Date: 2011-03-15 18:12:23 +0000
113
114 Remove dummy local GType variable.
115
116 commit f326c123bf76e685cd5258417b8dfd026fad2d65
117 Author: Will Thompson <will.thompson@collabora.co.uk>
118 Date: 2011-02-24 15:04:27 +0000
119
120 Implement tp_strdiff using g_strcmp0.
121
122 Clang's analyzer, like Coverity before it, isn't smart enough to realise
123 that the first two conditions between them guarantee that, if you get to
124 the end, left and right are non-NULL.
125
126 But the point is moot, since we can just use a Glib function.
127
128 commit 26fdbe81650249fc3566669124ab988ef0248499
129 Author: Will Thompson <will.thompson@collabora.co.uk>
130 Date: 2011-02-24 14:59:44 +0000
131
132 Fix “Value stored to _ is never read” clang warnings.
133
134 commit e5e8579bd16f3b98a0d0c87f9ba3825cd963fac8
135 Author: Dan Winship <danw@gnome.org>
136 Date: 2011-02-16 09:22:47 -0500
137
138 fix gcc 4.6 "variable is set but not used" warnings
139
140 Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
141
142 commit 367d9b96f7bf449ce034684dd4c4a79bd669ac84
143 Author: Will Thompson <will.thompson@collabora.co.uk>
144 Date: 2011-02-24 11:18:15 +0000
145
146 Make tp_clear_* less NULL-safe.
147
148 Previously tp_clear_object (NULL) was permitted. This upsets GCC 4.6,
149 which (quite reasonably) complained that
150
151 if (&object != NULL)
152
153 is redundant. The joy of macros. I grepped tp-glib and Gabble, and can't
154 find *any* cases where anything other than &variable is passed to these
155 macros. Since this is an unstable branch, let's just change this.
156
157 commit a08b10e66c516bfcbc20428c2657363d035f8ef9
158 Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
159 Date: 2011-03-15 11:58:20 +0000
160
161 base-connection: document the self object in signal docstrings
162
163 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
164
165 commit 83200447e0825af6ee51211111e630bd1f86c2d9
166 Author: Benjamin Otte <otte@redhat.com>
167 Date: 2011-03-11 13:11:46 +0000
168
169 Don't include TpCMMessage in gir file.
170
171 This class is only for use by connection managers, while we only (intend
172 to) expose client-side API in the gir file.
173
174 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
175 Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
176
177 commit 60e2bac4406fedf8a16014673ade145629ea9b3d
178 Author: Danielle Madeley <danielle.madeley@collabora.co.uk>
179 Date: 2011-03-10 15:06:49 +1100
180
181 Docs include simple-password-channel, when it's actually called base-password-channel
182
183 commit 4b0e1b5b8d149a7b9687b397511dce9cbfb29d12
184 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
185 Date: 2011-03-09 15:02:23 +0100
186
187 start dev of next release
188
0189 commit 09b532cbcf7229f4c509ec919f1bc8e8f6028558
1190 Author: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2191 Date: 2011-03-09 14:45:47 +0100
10751264 with-session-bus.sh: only print debug if VERBOSE_TESTS is set
10761265
10771266 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
1267
1268 commit 6418d8a197b080e116ba209ea8733263e3a4ef24
1269 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1270 Date: 2011-01-10 18:54:00 +0000
1271
1272 Prefer to use --no-copy-dt-needed-entries, falling back to --no-add-needed
1273
1274 commit 0e59dc9d63ad7391863c4e81d06bbfe556984890
1275 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1276 Date: 2011-01-10 18:06:22 +0000
1277
1278 Add TP_ADD_COMPILER_FLAG, analogous to TP_ADD_LINKER_FLAG
1279
1280 commit 371dfac9776b66cb04c449f4f3e5b5a6ddfa4a5e
1281 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1282 Date: 2011-01-10 16:43:25 +0000
1283
1284 Check for -Wl,--no-add-needed and add it to AM_LDFLAGS everywhere we compile C
1285
1286 commit 3e1ed6823ff128c73656239dcf2fe0c4589e9f8a
1287 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1288 Date: 2011-01-10 16:42:57 +0000
1289
1290 Add TP_LINKER_FLAG, TP_ADD_LINKER_FLAG
1291
1292 commit 0b3fd08ed314324ffa5328d0f4b7e68d54f56677
1293 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
1294 Date: 2011-01-10 16:30:37 +0000
1295
1296 abi.am: respect AM_LDFLAGS for main telepathy-glib library
10781297
10791298 commit fe8dd650a78d535693aabdd5af7116955f65d431
10801299 Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
4747 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4848 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4949 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
50 $(top_srcdir)/configure.ac
50 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5151 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5252 $(ACLOCAL_M4)
5353 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
+100
-0
NEWS less more
0 telepathy-glib 0.14.1 (2011-03-22)
1 ==================================
2
3 The “work by the windows” release. This release adds API from version
4 0.22 of the Telepathy specification which was accidentally omitted from
5 the previous release. Further releases on this stable branch should not
6 add any further API.
7
8 Enhancements:
9
10 • Update to spec 0.22.0 (Guillaume)
11 · TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES
12 · generate code for Connection.I.ContactBlocking
13
14 telepathy-glib 0.14.0 (2011-03-21)
15 ==================================
16
17 The “welded in gridlock” release, starting a 0.14.x stable branch. This
18 branch corresponds to the 0.22 stable branch of the specification.
19
20 Highlights since 0.12.0
21 -----------------------
22
23 • TpBaseContactList, a base class for the ContactList and ContactGroups
24 connection interfaces, as well as old-style ContactList channels.
25 While this helper class supports the old 'deny' channel for blocked
26 contact, it unfortunately does not implement the new ContactBlocking
27 interface yet.
28
29 • CMs implemented using telepathy-glib will now have immortal handles.
30
31 • TpContact supports ClientTypes.
32
33 • TpClientChannelFactory, TpAutomaticProxyFactory and
34 TpBasicProxyFactory have been added to help applications construct
35 particular TpChannel subclasses for channels of different types, with
36 particular features prepared.
37
38 • TpStreamTubeChannel, a high-level client API for stream tubes, has
39 been added.
40
41 • TpBaseProtocol supports the Avatars and Presence interfaces.
42
43 • tp_get_bus() is deprecated (again). Please use tp_dbus_daemon_dup(),
44 followed by tp_dbus_daemon_register_object() if that's what you're
45 using it for, or tp_proxy_get_dbus_connection() if you really need a
46 DBusGConnection.
47
48 • TpClientMessage and TpSignalledMessage, client-side representations
49 for multipart messages used by TpTextChannel, have been added.
50
51 • The TpContactSearch object has been added. It represents ongoing
52 searches for contacts.
53
54 • Code is now generated to emit and listen for the PropertiesChanged
55 signal on org.freedesktop.DBus.Properties. Note that
56 TpDBusPropertiesMixin does not emit this signal on it own, nor does
57 TpProxy listen for it of its own accord.
58
59 • Previously, tp_clear_object (NULL), tp_clear_boxed (type, NULL) and
60 tp_clear_pointer (NULL) were no-ops. However, this behaviour was not
61 very useful—these functions are always called as
62 tp_clear_object (&priv->foo) in practice—and triggered compiler
63 warnings (because these are actually implemented as macros). Thus,
64 this usage is no longer supported. (This should not affect anything
65 except contrived code, but CM authors may wish to check.)
66
67 Fixes since 0.13.18
68 -------------------
69
70 • The error handling code paths when looking up the senders of incoming
71 messages have been fixed. This issue led to TpSignalledMessages not
72 specifying a sender with CMs that omit sender-id, like telepathy-idle.
73 (stormer)
74
75 telepathy-glib 0.13.18 (2011-03-15)
76 ===================================
77
78 The “chilled coconut-chocolate security blanket” release.
79
80 Changes:
81
82 • Previously, tp_clear_object (NULL), tp_clear_boxed (type, NULL) and
83 tp_clear_pointer (NULL) were no-ops. However, this behaviour was not
84 very useful—these functions are always called as
85 tp_clear_object (&priv->foo) in practice—and triggered compiler
86 warnings (because these are actually implemented as macros). Thus,
87 this usage is no longer supported. (This should not affect anything
88 except contrived code, but CM authors may wish to check.)
89
90 Fixes:
91
92 • TpCMMessage is no longer included in the .gir file. This class is only
93 useful in CMs; we only support client-side API in the .gir file.
94 (Benjamin Otte)
95
96 • Correctly include TpBasePasswordChannel documentation. (Danielle)
97
98 • Fix GCC 4.6 and Clang analyzer warnings (Dan Winship, Will)
99
0100 telepathy-glib 0.13.17 (2011-03-09)
1101 ===================================
2102
155155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
156156 installed software in a non-standard prefix.
157157
158 _PKG_TEXT])dnl
158 _PKG_TEXT])[]dnl
159159 ])
160160 elif test $pkg_failed = untried; then
161161 AC_MSG_RESULT([no])
166166
167167 _PKG_TEXT
168168
169 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl
169 To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl
170170 ])
171171 else
172172 $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
14081408 m4_include([m4/lt~obsolete.m4])
14091409 m4_include([m4/tp-compiler-flag.m4])
14101410 m4_include([m4/tp-compiler-warnings.m4])
1411 m4_include([m4/tp-linker-flag.m4])
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.67 for Telepathy-GLib 0.13.17.
2 # Generated by GNU Autoconf 2.67 for Telepathy-GLib 0.14.1.
33 #
44 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib>.
55 #
761761 # Identity of this package.
762762 PACKAGE_NAME='Telepathy-GLib'
763763 PACKAGE_TARNAME='telepathy-glib'
764 PACKAGE_VERSION='0.13.17'
765 PACKAGE_STRING='Telepathy-GLib 0.13.17'
764 PACKAGE_VERSION='0.14.1'
765 PACKAGE_STRING='Telepathy-GLib 0.14.1'
766766 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib'
767767 PACKAGE_URL=''
768768
15821582 # Omit some internal or obsolete options to make the list less imposing.
15831583 # This message is too long to be a string in the A/UX 3.1 sh.
15841584 cat <<_ACEOF
1585 \`configure' configures Telepathy-GLib 0.13.17 to adapt to many kinds of systems.
1585 \`configure' configures Telepathy-GLib 0.14.1 to adapt to many kinds of systems.
15861586
15871587 Usage: $0 [OPTION]... [VAR=VALUE]...
15881588
16521652
16531653 if test -n "$ac_init_help"; then
16541654 case $ac_init_help in
1655 short | recursive ) echo "Configuration of Telepathy-GLib 0.13.17:";;
1655 short | recursive ) echo "Configuration of Telepathy-GLib 0.14.1:";;
16561656 esac
16571657 cat <<\_ACEOF
16581658
17991799 test -n "$ac_init_help" && exit $ac_status
18001800 if $ac_init_version; then
18011801 cat <<\_ACEOF
1802 Telepathy-GLib configure 0.13.17
1802 Telepathy-GLib configure 0.14.1
18031803 generated by GNU Autoconf 2.67
18041804
18051805 Copyright (C) 2010 Free Software Foundation, Inc.
22892289 This file contains any messages produced by compilers while
22902290 running configure, to aid debugging if configure makes a mistake.
22912291
2292 It was created by Telepathy-GLib $as_me 0.13.17, which was
2292 It was created by Telepathy-GLib $as_me 0.14.1, which was
22932293 generated by GNU Autoconf 2.67. Invocation command line was
22942294
22952295 $ $0 $@
31073107
31083108 # Define the identity of the package.
31093109 PACKAGE='telepathy-glib'
3110 VERSION='0.13.17'
3110 VERSION='0.14.1'
31113111
31123112
31133113 cat >>confdefs.h <<_ACEOF
1186011860
1186111861
1186211862
11863
11864 # these aren't really error flags but they serve a similar purpose for us -
11865 # making the toolchain stricter
11866 if test "x$official_release" = xno; then
11867
11868
11869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler/linker understand -Wl,--no-copy-dt-needed-entries" >&5
11870 $as_echo_n "checking to see if compiler/linker understand -Wl,--no-copy-dt-needed-entries... " >&6; }
11871
11872 save_LDFLAGS="$LDFLAGS"
11873 LDFLAGS="$LDFLAGS -Wl,--no-copy-dt-needed-entries"
11874
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877
11878 int
11879 main ()
11880 {
11881
11882 ;
11883 return 0;
11884 }
11885 _ACEOF
11886 if ac_fn_c_try_compile "$LINENO"; then :
11887 flag_ok=yes
11888 else
11889 flag_ok=no
11890 fi
11891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11892
11893 LDFLAGS="$save_LDFLAGS"
11894
11895 if test "X$flag_ok" = Xyes ; then
11896 ERROR_LDFLAGS="$ERROR_LDFLAGS -Wl,--no-copy-dt-needed-entries"
11897 true
11898 else
11899
11900 true
11901 fi
11902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
11903 $as_echo "$flag_ok" >&6; }
11904
11905
11906
11907 # --no-copy-dt-needed-entries is the new name for --no-add-needed which
11908 # is much more widely supported
11909 case "$ERROR_LDFLAGS" in
11910 (*-Wl,--no-copy-dt-needed-entries*)
11911 ;;
11912 (*)
11913
11914
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler/linker understand -Wl,--no-add-needed" >&5
11916 $as_echo_n "checking to see if compiler/linker understand -Wl,--no-add-needed... " >&6; }
11917
11918 save_LDFLAGS="$LDFLAGS"
11919 LDFLAGS="$LDFLAGS -Wl,--no-add-needed"
11920
11921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11923
11924 int
11925 main ()
11926 {
11927
11928 ;
11929 return 0;
11930 }
11931 _ACEOF
11932 if ac_fn_c_try_compile "$LINENO"; then :
11933 flag_ok=yes
11934 else
11935 flag_ok=no
11936 fi
11937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11938
11939 LDFLAGS="$save_LDFLAGS"
11940
11941 if test "X$flag_ok" = Xyes ; then
11942 ERROR_LDFLAGS="$ERROR_LDFLAGS -Wl,--no-add-needed"
11943 true
11944 else
11945
11946 true
11947 fi
11948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5
11949 $as_echo "$flag_ok" >&6; }
11950
11951
11952 ;;
11953 esac
11954 fi
1186311955
1186411956 if test "x$official_release" = xyes; then
1186511957 OFFICIAL_RELEASE_TRUE=
1546715559 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1546815560 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1546915561 -e 's:$: $lt_compiler_flag:'`
15470 (eval echo "\"\$as_me:15471: $lt_compile\"" >&5)
15562 (eval echo "\"\$as_me:15563: $lt_compile\"" >&5)
1547115563 (eval "$lt_compile" 2>conftest.err)
1547215564 ac_status=$?
1547315565 cat conftest.err >&5
15474 echo "$as_me:15475: \$? = $ac_status" >&5
15566 echo "$as_me:15567: \$? = $ac_status" >&5
1547515567 if (exit $ac_status) && test -s "$ac_outfile"; then
1547615568 # The compiler can only warn and ignore the option if not recognized
1547715569 # So say no if there are warnings other than the usual output.
1556615658 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1556715659 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1556815660 -e 's:$: $lt_compiler_flag:'`
15569 (eval echo "\"\$as_me:15570: $lt_compile\"" >&5)
15661 (eval echo "\"\$as_me:15662: $lt_compile\"" >&5)
1557015662 (eval "$lt_compile" 2>out/conftest.err)
1557115663 ac_status=$?
1557215664 cat out/conftest.err >&5
15573 echo "$as_me:15574: \$? = $ac_status" >&5
15665 echo "$as_me:15666: \$? = $ac_status" >&5
1557415666 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1557515667 then
1557615668 # The compiler can only warn and ignore the option if not recognized
1561815710 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1561915711 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1562015712 -e 's:$: $lt_compiler_flag:'`
15621 (eval echo "\"\$as_me:15622: $lt_compile\"" >&5)
15713 (eval echo "\"\$as_me:15714: $lt_compile\"" >&5)
1562215714 (eval "$lt_compile" 2>out/conftest.err)
1562315715 ac_status=$?
1562415716 cat out/conftest.err >&5
15625 echo "$as_me:15626: \$? = $ac_status" >&5
15717 echo "$as_me:15718: \$? = $ac_status" >&5
1562615718 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1562715719 then
1562815720 # The compiler can only warn and ignore the option if not recognized
1719617288 # report actual input values of CONFIG_FILES etc. instead of their
1719717289 # values after options handling.
1719817290 ac_log="
17199 This file was extended by Telepathy-GLib $as_me 0.13.17, which was
17291 This file was extended by Telepathy-GLib $as_me 0.14.1, which was
1720017292 generated by GNU Autoconf 2.67. Invocation command line was
1720117293
1720217294 CONFIG_FILES = $CONFIG_FILES
1726217354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1726317355 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1726417356 ac_cs_version="\\
17265 Telepathy-GLib config.status 0.13.17
17357 Telepathy-GLib config.status 0.14.1
1726617358 configured by $0, generated by GNU Autoconf 2.67,
1726717359 with options \\"\$ac_cs_config\\"
1726817360
99 # set nano_version to 1
1010
1111 m4_define([tp_glib_major_version], [0])
12 m4_define([tp_glib_minor_version], [13])
13 m4_define([tp_glib_micro_version], [17])
12 m4_define([tp_glib_minor_version], [14])
13 m4_define([tp_glib_micro_version], [1])
1414 m4_define([tp_glib_nano_version], [0])
1515
1616 # If library source has changed since last release, increment revision
9292 [missing-field-initializers \
9393 unused-parameter])
9494 AC_SUBST([ERROR_CFLAGS])
95
96 # these aren't really error flags but they serve a similar purpose for us -
97 # making the toolchain stricter
98 if test "x$official_release" = xno; then
99 TP_ADD_LINKER_FLAG([ERROR_LDFLAGS], [-Wl,--no-copy-dt-needed-entries])
100
101 # --no-copy-dt-needed-entries is the new name for --no-add-needed which
102 # is much more widely supported
103 case "$ERROR_LDFLAGS" in
104 (*-Wl,--no-copy-dt-needed-entries*)
105 ;;
106 (*)
107 TP_ADD_LINKER_FLAG([ERROR_LDFLAGS], [-Wl,--no-add-needed])
108 ;;
109 esac
110 fi
95111
96112 AM_CONDITIONAL([OFFICIAL_RELEASE], [test "x$official_release" = xyes])
97113
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
5757 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5858 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5959 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
60 $(top_srcdir)/configure.ac
60 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
6161 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6262 $(ACLOCAL_M4)
6363 mkinstalldirs = $(install_sh) -d
7070 <pre class="synopsis">
7171 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
7272 +----TpBaseChannel
73 +----TpBasePasswordChannel
73 +----<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>
7474 </pre>
7575 </div>
7676 <div class="refsect1" title="Implemented Interfaces">
210210 </p>
211211 <p>
212212 </p>
213 <div class="informalexample"><pre class="programlisting">
214 static void
215 my_search_channel_fill_properties (
216 TpBaseChannel *chan,
217 GHashTable *properties)
218 {
219 TpBaseChannelClass *klass = TP_BASE_CHANNEL_CLASS (my_search_channel_parent_class);
220
221 klass-&gt;fill_immutable_properties (chan, properties);
222
223 tp_dbus_properties_mixin_fill_properties_hash (
224 G_OBJECT (chan), properties,
225 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH, "Limit",
226 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH, "AvailableSearchKeys",
227 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH, "Server",
228 NULL);
229 }
230 </pre></div>
213 <div class="informalexample">
214 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
215 <tbody>
216 <tr>
217 <td class="listing_lines" align="right"><pre>1
218 2
219 3
220 4
221 5
222 6
223 7
224 8
225 9
226 10
227 11
228 12
229 13
230 14
231 15
232 16</pre></td>
233 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
234 <span class="function">my_search_channel_fill_properties</span> <span class="symbol">(</span>
235 TpBaseChannel <span class="symbol">*</span>chan<span class="symbol">,</span>
236 GHashTable <span class="symbol">*</span>properties<span class="symbol">)</span>
237 <span class="symbol">{</span>
238 TpBaseChannelClass <span class="symbol">*</span>klass <span class="symbol">=</span> <span class="function">TP_BASE_CHANNEL_CLASS</span> <span class="symbol">(</span>my_search_channel_parent_class<span class="symbol">);</span>
239
240 klass<span class="symbol">-&gt;</span><span class="function">fill_immutable_properties</span> <span class="symbol">(</span>chan<span class="symbol">,</span> properties<span class="symbol">);</span>
241
242 <span class="function"><a href="telepathy-glib-dbus-properties-mixin.html#tp-dbus-properties-mixin-fill-properties-hash">tp_dbus_properties_mixin_fill_properties_hash</a></span> <span class="symbol">(</span>
243 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#G-OBJECT:CAPS">G_OBJECT</a></span> <span class="symbol">(</span>chan<span class="symbol">),</span> properties<span class="symbol">,</span>
244 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH<span class="symbol">,</span> <span class="string">&quot;Limit&quot;</span><span class="symbol">,</span>
245 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH<span class="symbol">,</span> <span class="string">&quot;AvailableSearchKeys&quot;</span><span class="symbol">,</span>
246 TP_IFACE_CHANNEL_TYPE_CONTACT_SEARCH<span class="symbol">,</span> <span class="string">&quot;Server&quot;</span><span class="symbol">,</span>
247 NULL<span class="symbol">);</span>
248 <span class="symbol">}</span></pre></td>
249 </tr>
250 </tbody>
251 </table>
252 </div>
253
231254 <p>
232255 </p>
233256 <p>
276299 </p>
277300 <p>
278301 </p>
279 <div class="informalexample"><pre class="programlisting">
280 static void
281 my_channel_close (TpBaseChannel *chan)
282 {
283 MyChannel *self = MY_CHANNEL (chan);
284
285 if (self-&gt;priv-&gt;closing)
286 return;
287
288 self-&gt;priv-&gt;closing = TRUE;
289
290 // some hypothetical channel-specific clean-up function:
291 clean_up (self, cleaned_up_cb);
292 }
293
294 static void
295 cleaned_up_cb (MyChannel *self)
296 {
297 // all done, we can finish closing now
298 tp_base_channel_destroyed (TP_BASE_CHANNEL (self));
299 }
300 static void
301 my_channel_class_init (MyChannelClass *klass)
302 {
303 TpBaseChannelClass *base_channel_class = TP_BASE_CHANNEL_CLASS (klass);
304
305 klass-&gt;close = my_channel_close;
306 // ...
307 }
308 </pre></div>
302 <div class="informalexample">
303 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
304 <tbody>
305 <tr>
306 <td class="listing_lines" align="right"><pre>1
307 2
308 3
309 4
310 5
311 6
312 7
313 8
314 9
315 10
316 11
317 12
318 13
319 14
320 15
321 16
322 17
323 18
324 19
325 20
326 21
327 22
328 23
329 24
330 25
331 26
332 27
333 28</pre></td>
334 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
335 <span class="function">my_channel_close</span> <span class="symbol">(</span>TpBaseChannel <span class="symbol">*</span>chan<span class="symbol">)</span>
336 <span class="symbol">{</span>
337 MyChannel <span class="symbol">*</span>self <span class="symbol">=</span> <span class="function">MY_CHANNEL</span> <span class="symbol">(</span>chan<span class="symbol">);</span>
338
339 <span class="keyword">if</span> <span class="symbol">(</span>self<span class="symbol">-&gt;</span>priv<span class="symbol">-&gt;</span>closing<span class="symbol">)</span>
340 <span class="keyword">return</span><span class="symbol">;</span>
341
342 self<span class="symbol">-&gt;</span>priv<span class="symbol">-&gt;</span>closing <span class="symbol">=</span> TRUE<span class="symbol">;</span>
343
344 <span class="gtkdoc slc">// some hypothetical channel-specific clean-up function:</span>
345 <span class="function">clean_up</span> <span class="symbol">(</span>self<span class="symbol">,</span> cleaned_up_cb<span class="symbol">);</span>
346 <span class="symbol">}</span>
347
348 <span class="gtkdoc kwb">static void</span>
349 <span class="function">cleaned_up_cb</span> <span class="symbol">(</span>MyChannel <span class="symbol">*</span>self<span class="symbol">)</span>
350 <span class="symbol">{</span>
351 <span class="gtkdoc slc">// all done, we can finish closing now</span>
352 <span class="function"><a href="TpBaseChannel.html#tp-base-channel-destroyed">tp_base_channel_destroyed</a></span> <span class="symbol">(</span><span class="function">TP_BASE_CHANNEL</span> <span class="symbol">(</span>self<span class="symbol">));</span>
353 <span class="symbol">}</span>
354 <span class="gtkdoc kwb">static void</span>
355 <span class="function">my_channel_class_init</span> <span class="symbol">(</span>MyChannelClass <span class="symbol">*</span>klass<span class="symbol">)</span>
356 <span class="symbol">{</span>
357 TpBaseChannelClass <span class="symbol">*</span>base_channel_class <span class="symbol">=</span> <span class="function">TP_BASE_CHANNEL_CLASS</span> <span class="symbol">(</span>klass<span class="symbol">);</span>
358
359 klass<span class="symbol">-&gt;</span>close <span class="symbol">=</span> my_channel_close<span class="symbol">;</span>
360 <span class="gtkdoc slc">// ...</span>
361 <span class="symbol">}</span></pre></td>
362 </tr>
363 </tbody>
364 </table>
365 </div>
366
309367 <p>
310368 </p>
311369 <p>
315373 </p>
316374 <p>
317375 </p>
318 <div class="informalexample"><pre class="programlisting">
319 static void
320 my_channel_class_init (MyChannelClass *klass)
321 {
322 TpBaseChannelClass *base_channel_class = TP_BASE_CHANNEL_CLASS (klass);
323
324 klass-&gt;close = tp_base_channel_destroyed;
325 // ...
326 }
327 </pre></div>
376 <div class="informalexample">
377 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
378 <tbody>
379 <tr>
380 <td class="listing_lines" align="right"><pre>1
381 2
382 3
383 4
384 5
385 6
386 7
387 8</pre></td>
388 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
389 <span class="function">my_channel_class_init</span> <span class="symbol">(</span>MyChannelClass <span class="symbol">*</span>klass<span class="symbol">)</span>
390 <span class="symbol">{</span>
391 TpBaseChannelClass <span class="symbol">*</span>base_channel_class <span class="symbol">=</span> <span class="function">TP_BASE_CHANNEL_CLASS</span> <span class="symbol">(</span>klass<span class="symbol">);</span>
392
393 klass<span class="symbol">-&gt;</span>close <span class="symbol">=</span> tp_base_channel_destroyed<span class="symbol">;</span>
394 <span class="gtkdoc slc">// ...</span>
395 <span class="symbol">}</span></pre></td>
396 </tr>
397 </tbody>
398 </table>
399 </div>
400
328401 <p>
329402 </p>
330403 <div class="variablelist"><table border="0">
10721072 </p>
10731073 <p>
10741074 </p>
1075 <div class="informalexample"><pre class="programlisting">
1076 TpChannelManagerIter iter;
1077 TpChannelManager *manager;
1078
1079 tp_base_connection_channel_manager_iter_init (&amp;iter, base_conn);
1080 while (tp_base_connection_channel_manager_iter_next (&amp;iter, &amp;manager))
1081 {
1082 ...do something with manager...
1083 }
1084 </pre></div>
1075 <div class="informalexample">
1076 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1077 <tbody>
1078 <tr>
1079 <td class="listing_lines" align="right"><pre>1
1080 2
1081 3
1082 4
1083 5
1084 6
1085 7
1086 8</pre></td>
1087 <td class="listing_code"><pre class="programlisting">TpChannelManagerIter iter<span class="symbol">;</span>
1088 TpChannelManager <span class="symbol">*</span>manager<span class="symbol">;</span>
1089
1090 <span class="function"><a href="TpBaseConnection.html#tp-base-connection-channel-manager-iter-init">tp_base_connection_channel_manager_iter_init</a></span> <span class="symbol">(&amp;</span>iter<span class="symbol">,</span> base_conn<span class="symbol">);</span>
1091 <span class="keyword">while</span> <span class="symbol">(</span><span class="function"><a href="TpBaseConnection.html#tp-base-connection-channel-manager-iter-next">tp_base_connection_channel_manager_iter_next</a></span> <span class="symbol">(&amp;</span>iter<span class="symbol">, &amp;</span>manager<span class="symbol">))</span>
1092 <span class="symbol">{</span>
1093 <span class="symbol">...</span><span class="keyword">do</span> something with manager<span class="symbol">...</span>
1094 <span class="symbol">}</span></pre></td>
1095 </tr>
1096 </tbody>
1097 </table>
1098 </div>
1099
10851100 <p>
10861101 </p>
10871102 <div class="variablelist"><table border="0">
12171232 <a name="TpBaseConnection.signal-details"></a><h2>Signal Details</h2>
12181233 <div class="refsect2" title='The "clients-interested" signal'>
12191234 <a name="TpBaseConnection-clients-interested"></a><h3>The <code class="literal">"clients-interested"</code> signal</h3>
1220 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *token,
1221 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg1,
1222 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
1235 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *connection,
1236 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *token,
1237 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
12231238 <p>
12241239 Emitted when a client becomes interested in any token that was added with
12251240 <a class="link" href="TpBaseConnection.html#tp-base-connection-add-possible-client-interest" title="tp_base_connection_add_possible_client_interest ()"><code class="function">tp_base_connection_add_possible_client_interest()</code></a>.
12351250 <col align="left" valign="top">
12361251 <tbody>
12371252 <tr>
1253 <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
1254 <td>the <a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a>
1255 </td>
1256 </tr>
1257 <tr>
12381258 <td><p><span class="term"><em class="parameter"><code>token</code></em> :</span></p></td>
12391259 <td>the interface or part of an interface in which clients are newly
12401260 interested
12501270 <hr>
12511271 <div class="refsect2" title='The "clients-uninterested" signal'>
12521272 <a name="TpBaseConnection-clients-uninterested"></a><h3>The <code class="literal">"clients-uninterested"</code> signal</h3>
1253 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *token,
1254 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg1,
1255 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
1273 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *connection,
1274 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *token,
1275 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
12561276 <p>
12571277 Emitted when no more clients are interested in an interface added with
12581278 <a class="link" href="TpBaseConnection.html#tp-base-connection-add-possible-client-interest" title="tp_base_connection_add_possible_client_interest ()"><code class="function">tp_base_connection_add_possible_client_interest()</code></a>, for which
12691289 <col align="left" valign="top">
12701290 <tbody>
12711291 <tr>
1292 <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
1293 <td>the <a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a>
1294 </td>
1295 </tr>
1296 <tr>
12721297 <td><p><span class="term"><em class="parameter"><code>token</code></em> :</span></p></td>
12731298 <td>the interface or part of an interface in which clients are no
12741299 longer interested
12841309 <hr>
12851310 <div class="refsect2" title='The "shutdown-finished" signal'>
12861311 <a name="TpBaseConnection-shutdown-finished"></a><h3>The <code class="literal">"shutdown-finished"</code> signal</h3>
1287 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *arg0,
1288 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
1312 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a> *connection,
1313 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
12891314 <p>
12901315 Emitted by <a class="link" href="TpBaseConnection.html#tp-base-connection-finish-shutdown" title="tp_base_connection_finish_shutdown ()"><code class="function">tp_base_connection_finish_shutdown()</code></a> when the underlying
12911316 network connection has been closed; <a class="link" href="TpBaseConnectionManager.html" title="TpBaseConnectionManager"><span class="type">TpBaseConnectionManager</span></a> listens
12941319 </p>
12951320 <div class="variablelist"><table border="0">
12961321 <col align="left" valign="top">
1297 <tbody><tr>
1322 <tbody>
1323 <tr>
1324 <td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
1325 <td>the <a class="link" href="TpBaseConnection.html" title="TpBaseConnection"><span class="type">TpBaseConnection</span></a>
1326 </td>
1327 </tr>
1328 <tr>
12981329 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
12991330 <td>user data set when the signal handler was connected.</td>
1300 </tr></tbody>
1331 </tr>
1332 </tbody>
13011333 </table></div>
13021334 </div>
13031335 </div>
66 <link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
77 <link rel="up" href="ch-service-base.html" title="Service-side implementation">
88 <link rel="prev" href="TpMessage.html" title="TpMessage">
9 <link rel="next" href="telepathy-glib-simple-password-manager.html" title="TpSimplePasswordManager">
9 <link rel="next" href="telepathy-glib-base-password-channel.html" title="TpBasePasswordChannel">
1010 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1212 </head>
1717 <td><a accesskey="u" href="ch-service-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
1818 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
1919 <th width="100%" align="center">telepathy-glib API Reference Manual</th>
20 <td><a accesskey="n" href="telepathy-glib-simple-password-manager.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
20 <td><a accesskey="n" href="telepathy-glib-base-password-channel.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
2121 </tr>
2222 <tr><td colspan="5" class="shortcuts">
2323 <a href="#TpCMMessage.synopsis" class="shortcut">Top</a>
6262 <a name="TpChannelIface.implementations"></a><h2>Known Implementations</h2>
6363 <p>
6464 TpChannelIface is implemented by
65 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a>, TpBasePasswordChannel, <a class="link" href="telepathy-glib-channel.html#TpChannel">TpChannel</a>, <a class="link" href="telepathy-glib-stream-tube-channel.html#TpStreamTubeChannel">TpStreamTubeChannel</a> and <a class="link" href="telepathy-glib-text-channel.html#TpTextChannel">TpTextChannel</a>.</p>
65 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a>, <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>, <a class="link" href="telepathy-glib-channel.html#TpChannel">TpChannel</a>, <a class="link" href="telepathy-glib-stream-tube-channel.html#TpStreamTubeChannel">TpStreamTubeChannel</a> and <a class="link" href="telepathy-glib-text-channel.html#TpTextChannel">TpTextChannel</a>.</p>
6666 </div>
6767 <div class="refsect1" title="Properties">
6868 <a name="TpChannelIface.properties"></a><h2>Properties</h2>
7171 <a name="TpExportableChannel.implementations"></a><h2>Known Implementations</h2>
7272 <p>
7373 TpExportableChannel is implemented by
74 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a> and TpBasePasswordChannel.</p>
74 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a> and <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>.</p>
7575 </div>
7676 <div class="refsect1" title="Properties">
7777 <a name="TpExportableChannel.properties"></a><h2>Properties</h2>
185185 </p>
186186 <p>
187187 </p>
188 <div class="informalexample"><pre class="programlisting">
189 case PROP_CHANNEL_PROPERTIES:
190 g_value_take_boxed (value,
191 tp_dbus_properties_mixin_make_properties_hash (object,
192 // The spec says these properties MUST be included:
193 TP_IFACE_CHANNEL, "TargetHandle",
194 TP_IFACE_CHANNEL, "TargetHandleType",
195 TP_IFACE_CHANNEL, "ChannelType",
196 TP_IFACE_CHANNEL, "TargetID",
197 TP_IFACE_CHANNEL, "Requested",
198 // These aren't mandatory as of spec 0.17.17
199 // (but they should be):
200 TP_IFACE_CHANNEL, "InitiatorHandle",
201 TP_IFACE_CHANNEL, "InitiatorID",
202 TP_IFACE_CHANNEL, "Interfaces",
203 // Perhaps your channel has some other immutable properties:
204 TP_IFACE_CHANNEL_INTERFACE_MESSAGES, "SupportedContentTypes",
205 // etc.
206 NULL));
207 break;
208 </pre></div>
188 <div class="informalexample">
189 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
190 <tbody>
191 <tr>
192 <td class="listing_lines" align="right"><pre>1
193 2
194 3
195 4
196 5
197 6
198 7
199 8
200 9
201 10
202 11
203 12
204 13
205 14
206 15
207 16
208 17
209 18
210 19</pre></td>
211 <td class="listing_code"><pre class="programlisting"><span class="keyword">case</span> PROP_CHANNEL_PROPERTIES<span class="symbol">:</span>
212 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Standard-Parameter-and-Value-Types.html#g-value-take-boxed">g_value_take_boxed</a></span> <span class="symbol">(</span>value<span class="symbol">,</span>
213 <span class="function"><a href="telepathy-glib-dbus-properties-mixin.html#tp-dbus-properties-mixin-make-properties-hash">tp_dbus_properties_mixin_make_properties_hash</a></span> <span class="symbol">(</span>object<span class="symbol">,</span>
214 <span class="gtkdoc slc">// The spec says these properties MUST be included:</span>
215 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;TargetHandle&quot;</span><span class="symbol">,</span>
216 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;TargetHandleType&quot;</span><span class="symbol">,</span>
217 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;ChannelType&quot;</span><span class="symbol">,</span>
218 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;TargetID&quot;</span><span class="symbol">,</span>
219 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;Requested&quot;</span><span class="symbol">,</span>
220 <span class="gtkdoc slc">// These aren't mandatory as of spec 0.17.17</span>
221 <span class="gtkdoc slc">// (but they should be):</span>
222 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;InitiatorHandle&quot;</span><span class="symbol">,</span>
223 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;InitiatorID&quot;</span><span class="symbol">,</span>
224 TP_IFACE_CHANNEL<span class="symbol">,</span> <span class="string">&quot;Interfaces&quot;</span><span class="symbol">,</span>
225 <span class="gtkdoc slc">// Perhaps your channel has some other immutable properties:</span>
226 TP_IFACE_CHANNEL_INTERFACE_MESSAGES<span class="symbol">,</span> <span class="string">&quot;SupportedContentTypes&quot;</span><span class="symbol">,</span>
227 <span class="gtkdoc slc">// etc.</span>
228 NULL<span class="symbol">));</span>
229 <span class="keyword">break</span><span class="symbol">;</span></pre></td>
230 </tr>
231 </tbody>
232 </table>
233 </div>
234
209235 <p>
210236 </p>
211237 </div>
7676 <span class="refentrytitle"><a href="TpCMMessage.html">TpCMMessage</a></span><span class="refpurpose"> — a message in the Telepathy message interface, CM side</span>
7777 </dt>
7878 <dt>
79 <span class="refentrytitle"><a href="telepathy-glib-base-password-channel.html">TpBasePasswordChannel</a></span><span class="refpurpose"> — a simple X-TELEPATHY-PASSWORD channel</span>
80 </dt>
81 <dt>
7982 <span class="refentrytitle"><a href="telepathy-glib-simple-password-manager.html">TpSimplePasswordManager</a></span><span class="refpurpose"> — a simple X-TELEPATHY-PASSWORD channel manager</span>
8083 </dt>
8184 <dt>
106109 <span class="refentrytitle"><a href="telepathy-glib-dtmf.html">DTMF dialstring interpreter</a></span><span class="refpurpose"> — Converts a dialstring into a timed sequence of events</span>
107110 </dt>
108111 </dl></div>
109 <span style="color: red">&lt;xi:include&gt;&lt;/xi:include&gt;</span>
110112 </div>
111113 <div class="footer">
112114 <hr>
1414 <div>
1515 <div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">telepathy-glib API Reference Manual</p></th></tr></table></div>
1616 <div><p class="releaseinfo">
17 This manual documents telepathy-glib version 0.13.17
17 This manual documents telepathy-glib version 0.14.1
1818 .
1919 The latest development version of this documentation can be found here:
2020 <a class="ulink" href="http://telepathy.freedesktop.org/doc/telepathy-glib/" target="_top">online copy of the telepathy-glib API Reference Manual</a>.
385385 <span class="refentrytitle"><a href="TpCMMessage.html">TpCMMessage</a></span><span class="refpurpose"> — a message in the Telepathy message interface, CM side</span>
386386 </dt>
387387 <dt>
388 <span class="refentrytitle"><a href="telepathy-glib-base-password-channel.html">TpBasePasswordChannel</a></span><span class="refpurpose"> — a simple X-TELEPATHY-PASSWORD channel</span>
389 </dt>
390 <dt>
388391 <span class="refentrytitle"><a href="telepathy-glib-simple-password-manager.html">TpSimplePasswordManager</a></span><span class="refpurpose"> — a simple X-TELEPATHY-PASSWORD channel manager</span>
389392 </dt>
390393 <dt>
328328 <ANCHOR id="TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-GROUPS:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-GROUPS:CAPS">
329329 <ANCHOR id="TP-IFACE-CONNECTION-INTERFACE-POWER-SAVING:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-POWER-SAVING:CAPS">
330330 <ANCHOR id="TP-IFACE-QUARK-CONNECTION-INTERFACE-POWER-SAVING:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-POWER-SAVING:CAPS">
331 <ANCHOR id="TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS">
332 <ANCHOR id="TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS">
331333 <ANCHOR id="TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS">
332334 <ANCHOR id="TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-INFO:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-INFO:CAPS">
333335 <ANCHOR id="TP-IFACE-CONNECTION-INTERFACE-CONTACT-LIST:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-LIST:CAPS">
546548 <ANCHOR id="TP-PROP-CHANNEL-TYPE-FILE-TRANSFER-URI:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-FILE-TRANSFER-URI:CAPS">
547549 <ANCHOR id="TP-PROP-CHANNEL-TYPE-ROOM-LIST-SERVER:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-ROOM-LIST-SERVER:CAPS">
548550 <ANCHOR id="TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-HOSTNAME:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-HOSTNAME:CAPS">
551 <ANCHOR id="TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS">
549552 <ANCHOR id="TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS">
550553 <ANCHOR id="TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-IMMUTABLE-STREAMS:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-IMMUTABLE-STREAMS:CAPS">
551554 <ANCHOR id="TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-INITIAL-AUDIO:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-INITIAL-AUDIO:CAPS">
581584 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CELLULAR-MESSAGE-VALIDITY-PERIOD:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-MESSAGE-VALIDITY-PERIOD:CAPS">
582585 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CELLULAR-OVERRIDE-MESSAGE-SERVICE-CENTRE:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-OVERRIDE-MESSAGE-SERVICE-CENTRE:CAPS">
583586 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CONTACTS-CONTACT-ATTRIBUTE-INTERFACES:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACTS-CONTACT-ATTRIBUTE-INTERFACES:CAPS">
587 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS">
584588 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS">
585589 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS">
586590 <ANCHOR id="TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUP-STORAGE:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUP-STORAGE:CAPS">
634638 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-AVATARS-TOKEN:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-AVATARS-TOKEN:CAPS">
635639 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CAPABILITIES-CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CAPABILITIES-CAPS">
636640 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CLIENT-TYPES-CLIENT-TYPES:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CLIENT-TYPES-CLIENT-TYPES:CAPS">
641 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS">
637642 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS">
638643 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS">
639644 <ANCHOR id="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-INFO-INFO:CAPS" href="telepathy-glib/telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-INFO-INFO:CAPS">
805810 <ANCHOR id="NUM-TP-CHANNEL-GROUP-CHANGE-REASONS:CAPS" href="telepathy-glib/telepathy-glib-enums.html#NUM-TP-CHANNEL-GROUP-CHANGE-REASONS:CAPS">
806811 <ANCHOR id="TpChannelPasswordFlags" href="telepathy-glib/telepathy-glib-enums.html#TpChannelPasswordFlags">
807812 <ANCHOR id="TP-CHANNEL-PASSWORD-FLAG-PROVIDE:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-CHANNEL-PASSWORD-FLAG-PROVIDE:CAPS">
813 <ANCHOR id="TpContactBlockingCapabilities" href="telepathy-glib/telepathy-glib-enums.html#TpContactBlockingCapabilities">
814 <ANCHOR id="TP-CONTACT-BLOCKING-CAPABILITY-CAN-REPORT-ABUSIVE:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-CONTACT-BLOCKING-CAPABILITY-CAN-REPORT-ABUSIVE:CAPS">
808815 <ANCHOR id="TpDeliveryReportingSupportFlags" href="telepathy-glib/telepathy-glib-enums.html#TpDeliveryReportingSupportFlags">
809816 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS">
810817 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS">
17061713 <ANCHOR id="telepathy-glib-connection-contact-list.synopsis" href="telepathy-glib/telepathy-glib-connection-contact-list.html#telepathy-glib-connection-contact-list.synopsis">
17071714 <ANCHOR id="telepathy-glib-connection-contact-list.description" href="telepathy-glib/telepathy-glib-connection-contact-list.html#telepathy-glib-connection-contact-list.description">
17081715 <ANCHOR id="telepathy-glib-connection-contact-list.details" href="telepathy-glib/telepathy-glib-connection-contact-list.html#telepathy-glib-connection-contact-list.details">
1716 <ANCHOR id="tp-cli-connection-interface-contact-blocking-call-block-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-block-contacts">
1717 <ANCHOR id="tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts">
1718 <ANCHOR id="tp-cli-connection-interface-contact-blocking-call-unblock-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-unblock-contacts">
1719 <ANCHOR id="tp-cli-connection-interface-contact-blocking-callback-for-block-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts">
1720 <ANCHOR id="tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts">
1721 <ANCHOR id="tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts">
1722 <ANCHOR id="tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed">
1723 <ANCHOR id="tp-cli-connection-interface-contact-blocking-run-block-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-block-contacts">
1724 <ANCHOR id="tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts">
1725 <ANCHOR id="tp-cli-connection-interface-contact-blocking-run-unblock-contacts" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-unblock-contacts">
1726 <ANCHOR id="tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed">
17091727 <ANCHOR id="tp-cli-connection-interface-contact-groups-call-add-to-group" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-add-to-group">
17101728 <ANCHOR id="tp-cli-connection-interface-contact-groups-call-remove-from-group" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-from-group">
17111729 <ANCHOR id="tp-cli-connection-interface-contact-groups-call-remove-group" href="telepathy-glib/telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-group">
33643382 <ANCHOR id="TpSvcConnectionInterfaceContactCapabilities" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactCapabilities">
33653383 <ANCHOR id="TpSvcConnectionInterfaceLocation" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceLocation">
33663384 <ANCHOR id="TpSvcConnectionInterfaceContactInfo" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactInfo">
3385 <ANCHOR id="TpSvcConnectionInterfaceContactBlocking" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking">
33673386 <ANCHOR id="TpSvcConnectionInterfaceContactGroups" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups">
33683387 <ANCHOR id="TpSvcConnectionInterfaceContactList" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactList">
33693388 <ANCHOR id="TpSvcConnectionInterfaceCellular" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceCellular">
35623581 <ANCHOR id="tp-svc-connection-interface-contact-info-return-from-request-contact-info" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-request-contact-info">
35633582 <ANCHOR id="tp-svc-connection-interface-contact-info-return-from-set-contact-info" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-set-contact-info">
35643583 <ANCHOR id="tp-svc-connection-interface-contact-info-set-contact-info-impl" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-set-contact-info-impl">
3584 <ANCHOR id="TpSvcConnectionInterfaceContactBlocking-struct" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-struct">
3585 <ANCHOR id="TpSvcConnectionInterfaceContactBlockingClass" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass">
3586 <ANCHOR id="tp-svc-connection-interface-contact-blocking-block-contacts-impl" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl">
3587 <ANCHOR id="tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed">
3588 <ANCHOR id="tp-svc-connection-interface-contact-blocking-implement-block-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-block-contacts">
3589 <ANCHOR id="tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts">
3590 <ANCHOR id="tp-svc-connection-interface-contact-blocking-implement-unblock-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-unblock-contacts">
3591 <ANCHOR id="tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl">
3592 <ANCHOR id="tp-svc-connection-interface-contact-blocking-return-from-block-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-block-contacts">
3593 <ANCHOR id="tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts">
3594 <ANCHOR id="tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts">
3595 <ANCHOR id="tp-svc-connection-interface-contact-blocking-unblock-contacts-impl" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl">
35653596 <ANCHOR id="TpSvcConnectionInterfaceContactGroups-struct" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-struct">
35663597 <ANCHOR id="TpSvcConnectionInterfaceContactGroupsClass" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroupsClass">
35673598 <ANCHOR id="tp-svc-connection-interface-contact-groups-add-to-group-impl" href="telepathy-glib/telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-groups-add-to-group-impl">
36543685 <ANCHOR id="TpSvcConnectionInterfaceContactCapabilities-contact-capabilities-changed" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactCapabilities-contact-capabilities-changed">
36553686 <ANCHOR id="TpSvcConnectionInterfaceLocation-location-updated" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceLocation-location-updated">
36563687 <ANCHOR id="TpSvcConnectionInterfaceContactInfo-contact-info-changed" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactInfo-contact-info-changed">
3688 <ANCHOR id="TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed">
36573689 <ANCHOR id="TpSvcConnectionInterfaceContactGroups-group-renamed" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-group-renamed">
36583690 <ANCHOR id="TpSvcConnectionInterfaceContactGroups-groups-changed" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-changed">
36593691 <ANCHOR id="TpSvcConnectionInterfaceContactGroups-groups-created" href="telepathy-glib/telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-created">
45144546 <ANCHOR id="tp-cm-message-take-message" href="telepathy-glib/TpCMMessage.html#tp-cm-message-take-message">
45154547 <ANCHOR id="tp-cm-message-get-sender" href="telepathy-glib/TpCMMessage.html#tp-cm-message-get-sender">
45164548 <ANCHOR id="tp-cm-message-set-sender" href="telepathy-glib/TpCMMessage.html#tp-cm-message-set-sender">
4549 <ANCHOR id="telepathy-glib-base-password-channel" href="telepathy-glib/telepathy-glib-base-password-channel.html">
4550 <ANCHOR id="telepathy-glib-base-password-channel.synopsis" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.synopsis">
4551 <ANCHOR id="TpBasePasswordChannel" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel">
4552 <ANCHOR id="telepathy-glib-base-password-channel.object-hierarchy" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.object-hierarchy">
4553 <ANCHOR id="telepathy-glib-base-password-channel.implemented-interfaces" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.implemented-interfaces">
4554 <ANCHOR id="telepathy-glib-base-password-channel.properties" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.properties">
4555 <ANCHOR id="telepathy-glib-base-password-channel.signals" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.signals">
4556 <ANCHOR id="telepathy-glib-base-password-channel.description" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.description">
4557 <ANCHOR id="telepathy-glib-base-password-channel.details" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.details">
4558 <ANCHOR id="TpBasePasswordChannel-struct" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel-struct">
4559 <ANCHOR id="telepathy-glib-base-password-channel.property-details" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.property-details">
4560 <ANCHOR id="TpBasePasswordChannel--authentication-method" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authentication-method">
4561 <ANCHOR id="TpBasePasswordChannel--authorization-identity" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authorization-identity">
4562 <ANCHOR id="TpBasePasswordChannel--available-mechanisms" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--available-mechanisms">
4563 <ANCHOR id="TpBasePasswordChannel--can-try-again" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--can-try-again">
4564 <ANCHOR id="TpBasePasswordChannel--default-realm" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-realm">
4565 <ANCHOR id="TpBasePasswordChannel--default-username" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-username">
4566 <ANCHOR id="TpBasePasswordChannel--has-initial-data" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--has-initial-data">
4567 <ANCHOR id="TpBasePasswordChannel--may-save-response" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--may-save-response">
4568 <ANCHOR id="TpBasePasswordChannel--sasl-error" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error">
4569 <ANCHOR id="TpBasePasswordChannel--sasl-error-details" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error-details">
4570 <ANCHOR id="TpBasePasswordChannel--sasl-status" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-status">
4571 <ANCHOR id="telepathy-glib-base-password-channel.signal-details" href="telepathy-glib/telepathy-glib-base-password-channel.html#telepathy-glib-base-password-channel.signal-details">
4572 <ANCHOR id="TpBasePasswordChannel-finished" href="telepathy-glib/telepathy-glib-base-password-channel.html#TpBasePasswordChannel-finished">
45174573 <ANCHOR id="telepathy-glib-simple-password-manager" href="telepathy-glib/telepathy-glib-simple-password-manager.html">
45184574 <ANCHOR id="telepathy-glib-simple-password-manager.synopsis" href="telepathy-glib/telepathy-glib-simple-password-manager.html#telepathy-glib-simple-password-manager.synopsis">
45194575 <ANCHOR id="TpSimplePasswordManager" href="telepathy-glib/telepathy-glib-simple-password-manager.html#TpSimplePasswordManager">
170170 </p>
171171 <p>
172172 </p>
173 <div class="informalexample"><pre class="programlisting">
174 tp_contacts_mixin_class_init ((GObjectClass *) klass,
175 G_STRUCT_OFFSET (SomeObjectClass, contacts_mixin));
176 </pre></div>
173 <div class="informalexample">
174 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
175 <tbody>
176 <tr>
177 <td class="listing_lines" align="right"><pre>1
178 2</pre></td>
179 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpContactsMixin.html#tp-contacts-mixin-class-init">tp_contacts_mixin_class_init</a></span> <span class="symbol">((</span>GObjectClass <span class="symbol">*)</span> klass<span class="symbol">,</span>
180 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObjectClass<span class="symbol">,</span> contacts_mixin<span class="symbol">));</span></pre></td>
181 </tr>
182 </tbody>
183 </table>
184 </div>
185
177186 <p>
178187 </p>
179188 <div class="variablelist"><table border="0">
250259 </p>
251260 <p>
252261 </p>
253 <div class="informalexample"><pre class="programlisting">
254 tp_contacts_mixin_init ((GObject *) self,
255 G_STRUCT_OFFSET (SomeObject, contacts_mixin));
256 </pre></div>
262 <div class="informalexample">
263 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
264 <tbody>
265 <tr>
266 <td class="listing_lines" align="right"><pre>1
267 2</pre></td>
268 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpContactsMixin.html#tp-contacts-mixin-init">tp_contacts_mixin_init</a></span> <span class="symbol">((</span>GObject <span class="symbol">*)</span> self<span class="symbol">,</span>
269 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObject<span class="symbol">,</span> contacts_mixin<span class="symbol">));</span></pre></td>
270 </tr>
271 </tbody>
272 </table>
273 </div>
274
257275 <p>
258276 </p>
259277 <div class="variablelist"><table border="0">
722722 </p>
723723 <p>
724724 </p>
725 <div class="informalexample"><pre class="programlisting">
726 TpIntsetFastIter iter;
727 guint element;
728
729 tp_intset_fast_iter_init (&amp;iter, intset);
730
731 while (tp_intset_fast_iter_next (&amp;iter, &amp;element))
732 {
733 printf ("%u is in the intset\n", element);
734 }
735 </pre></div>
725 <div class="informalexample">
726 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
727 <tbody>
728 <tr>
729 <td class="listing_lines" align="right"><pre>1
730 2
731 3
732 4
733 5
734 6
735 7
736 8
737 9</pre></td>
738 <td class="listing_code"><pre class="programlisting">TpIntsetFastIter iter<span class="symbol">;</span>
739 guint element<span class="symbol">;</span>
740
741 <span class="function"><a href="telepathy-glib-TpIntset.html#tp-intset-fast-iter-init">tp_intset_fast_iter_init</a></span> <span class="symbol">(&amp;</span>iter<span class="symbol">,</span> intset<span class="symbol">);</span>
742
743 <span class="keyword">while</span> <span class="symbol">(</span><span class="function"><a href="telepathy-glib-TpIntset.html#tp-intset-fast-iter-next">tp_intset_fast_iter_next</a></span> <span class="symbol">(&amp;</span>iter<span class="symbol">, &amp;</span>element<span class="symbol">))</span>
744 <span class="symbol">{</span>
745 <span class="function">printf</span> <span class="symbol">(</span><span class="string">&quot;%u is in the intset</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="symbol">,</span> element<span class="symbol">);</span>
746 <span class="symbol">}</span></pre></td>
747 </tr>
748 </tbody>
749 </table>
750 </div>
751
736752 <p>
737753 </p>
738754 <p class="since">Since 0.11.6</p>
805821 </p>
806822 <p>
807823 </p>
808 <div class="informalexample"><pre class="programlisting">
809 void
810 do_something (const TpIntset *intset)
811 {
812 TpIntsetIter iter = TP_INTSET_ITER_INIT (intset);
813 /* ... do something with iter ... */
814 }
815 </pre></div>
824 <div class="informalexample">
825 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
826 <tbody>
827 <tr>
828 <td class="listing_lines" align="right"><pre>1
829 2
830 3
831 4
832 5
833 6</pre></td>
834 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">void</span>
835 <span class="function">do_something</span> <span class="symbol">(</span><span class="gtkdoc kwb">const</span> TpIntset <span class="symbol">*</span>intset<span class="symbol">)</span>
836 <span class="symbol">{</span>
837 TpIntsetIter iter <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-TpIntset.html#TP-INTSET-ITER-INIT:CAPS">TP_INTSET_ITER_INIT</a></span> <span class="symbol">(</span>intset<span class="symbol">);</span>
838 <span class="comment">/* ... do something with iter ... */</span>
839 <span class="symbol">}</span></pre></td>
840 </tr>
841 </tbody>
842 </table>
843 </div>
844
816845 <p>
817846 </p>
818847 <p>
903932 </p>
904933 <p>
905934 </p>
906 <div class="informalexample"><pre class="programlisting">
907 TpIntsetIter iter = TP_INTSET_INIT (intset);
908 while (tp_intset_iter_next (&amp;iter))
909 {
910 printf ("%u is in the intset\n", iter.element);
911 }
912 </pre></div>
935 <div class="informalexample">
936 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
937 <tbody>
938 <tr>
939 <td class="listing_lines" align="right"><pre>1
940 2
941 3
942 4
943 5</pre></td>
944 <td class="listing_code"><pre class="programlisting">TpIntsetIter iter <span class="symbol">=</span> <span class="function">TP_INTSET_INIT</span> <span class="symbol">(</span>intset<span class="symbol">);</span>
945 <span class="keyword">while</span> <span class="symbol">(</span><span class="function"><a href="telepathy-glib-TpIntset.html#tp-intset-iter-next">tp_intset_iter_next</a></span> <span class="symbol">(&amp;</span>iter<span class="symbol">))</span>
946 <span class="symbol">{</span>
947 <span class="function">printf</span> <span class="symbol">(</span><span class="string">&quot;%u is in the intset</span><span class="gtkdoc esc">\n</span><span class="string">&quot;</span><span class="symbol">,</span> iter<span class="symbol">.</span>element<span class="symbol">);</span>
948 <span class="symbol">}</span></pre></td>
949 </tr>
950 </tbody>
951 </table>
952 </div>
953
913954 <p>
914955 </p>
915956 <p>
9999 </p>
100100 <p>
101101 </p>
102 <div class="informalexample"><pre class="programlisting">
103 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CHANNEL_TYPE_TEXT,
104 tp_message_mixin_text_iface_init);
105 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CHANNEL_INTERFACE_MESSAGES,
106 tp_message_mixin_messages_iface_init);
107 </pre></div>
102 <div class="informalexample">
103 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
104 <tbody>
105 <tr>
106 <td class="listing_lines" align="right"><pre>1
107 2
108 3
109 4</pre></td>
110 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
111 tp_message_mixin_text_iface_init<span class="symbol">);</span>
112 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CHANNEL_INTERFACE_MESSAGES<span class="symbol">,</span>
113 tp_message_mixin_messages_iface_init<span class="symbol">);</span></pre></td>
114 </tr>
115 </tbody>
116 </table>
117 </div>
118
108119 <p>
109120 </p>
110121 <p>
251262 </p>
252263 <p>
253264 </p>
254 <div class="informalexample"><pre class="programlisting">
255 tp_message_mixin_init ((GObject *) self,
256 G_STRUCT_OFFSET (SomeObject, message_mixin),
257 self-&gt;connection);
258 </pre></div>
265 <div class="informalexample">
266 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
267 <tbody>
268 <tr>
269 <td class="listing_lines" align="right"><pre>1
270 2
271 3</pre></td>
272 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpMessageMixin.html#tp-message-mixin-init">tp_message_mixin_init</a></span> <span class="symbol">((</span>GObject <span class="symbol">*)</span> self<span class="symbol">,</span>
273 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObject<span class="symbol">,</span> message_mixin<span class="symbol">),</span>
274 self<span class="symbol">-&gt;</span>connection<span class="symbol">);</span></pre></td>
275 </tr>
276 </tbody>
277 </table>
278 </div>
279
259280 <p>
260281 </p>
261282 <div class="variablelist"><table border="0">
105105 </p>
106106 <div class="section" title="Implementing SimplePresence">
107107 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
108 <a name="id1072529"></a>Implementing SimplePresence</h2></div></div></div>
108 <a name="id1224837"></a>Implementing SimplePresence</h2></div></div></div>
109109 <p>
110110 Since 0.7.13 this mixin supports the entire SimplePresence interface.
111111 You can implement <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceSimplePresence"><span class="type">TpSvcConnectionInterfaceSimplePresence</span></a> as follows:
117117 <p>pass <a class="link" href="telepathy-glib-TpPresenceMixin.html#tp-presence-mixin-simple-presence-iface-init" title="tp_presence_mixin_simple_presence_iface_init ()"><code class="function">tp_presence_mixin_simple_presence_iface_init()</code></a> as an
118118 argument to <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a>, like so:
119119 </p>
120 <div class="informalexample"><pre class="programlisting">
121 G_DEFINE_TYPE_WITH_CODE (MyConnection, my_connection,
122 TP_TYPE_BASE_CONNECTION,
123 // ...
124 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_SIMPLE_PRESENCE,
125 tp_presence_mixin_simple_presence_iface_init);
126 // ...
127 )
128 </pre></div>
120 <div class="informalexample">
121 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
122 <tbody>
123 <tr>
124 <td class="listing_lines" align="right"><pre>1
125 2
126 3
127 4
128 5
129 6
130 7</pre></td>
131 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS">G_DEFINE_TYPE_WITH_CODE</a></span> <span class="symbol">(</span>MyConnection<span class="symbol">,</span> my_connection<span class="symbol">,</span>
132 TP_TYPE_BASE_CONNECTION<span class="symbol">,</span>
133 <span class="gtkdoc slc">// ...</span>
134 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_SIMPLE_PRESENCE<span class="symbol">,</span>
135 tp_presence_mixin_simple_presence_iface_init<span class="symbol">);</span>
136 <span class="gtkdoc slc">// ...</span>
137 <span class="symbol">)</span></pre></td>
138 </tr>
139 </tbody>
140 </table>
141 </div>
142
129143 </li>
130144 <li class="listitem"><p>
131145 call <a class="link" href="telepathy-glib-TpPresenceMixin.html#tp-presence-mixin-simple-presence-init-dbus-properties" title="tp_presence_mixin_simple_presence_init_dbus_properties ()"><code class="function">tp_presence_mixin_simple_presence_init_dbus_properties()</code></a> in the
143157 </p>
144158 <div class="section" title="Implementing old-style Presence">
145159 <div class="titlepage"><div><div><h2 class="title" style="clear: both">
146 <a name="id1072660"></a>Implementing old-style Presence</h2></div></div></div>
160 <a name="id1224966"></a>Implementing old-style Presence</h2></div></div></div>
147161 <p>
148162 This mixin also supports a large subset of the deprecated Presence
149163 interface. It does not support protocols where it is possible to set
157171 example. The presence mixin implements all of the D-Bus methods in the
158172 Presence interface.
159173 </p>
160 <div class="informalexample"><pre class="programlisting">
161 G_DEFINE_TYPE_WITH_CODE (MyConnection, my_connection,
162 TP_TYPE_BASE_CONNECTION,
163 // ...
164 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_PRESENCE,
165 tp_presence_mixin_iface_init);
166 // ...
167 )
168 </pre></div>
174 <div class="informalexample">
175 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
176 <tbody>
177 <tr>
178 <td class="listing_lines" align="right"><pre>1
179 2
180 3
181 4
182 5
183 6
184 7</pre></td>
185 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS">G_DEFINE_TYPE_WITH_CODE</a></span> <span class="symbol">(</span>MyConnection<span class="symbol">,</span> my_connection<span class="symbol">,</span>
186 TP_TYPE_BASE_CONNECTION<span class="symbol">,</span>
187 <span class="gtkdoc slc">// ...</span>
188 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_PRESENCE<span class="symbol">,</span>
189 tp_presence_mixin_iface_init<span class="symbol">);</span>
190 <span class="gtkdoc slc">// ...</span>
191 <span class="symbol">)</span></pre></td>
192 </tr>
193 </tbody>
194 </table>
195 </div>
196
169197 <p>
170198 In telepathy-glib versions older than 0.11.13, every connection
171199 that used the <a class="link" href="telepathy-glib-TpPresenceMixin.html#TpPresenceMixin" title="TpPresenceMixin"><span class="type">TpPresenceMixin</span></a> was required to implement
557585 </p>
558586 <p>
559587 </p>
560 <div class="informalexample"><pre class="programlisting">
561 tp_presence_mixin_class_init ((GObjectClass *) klass,
562 G_STRUCT_OFFSET (SomeObjectClass,
563 presence_mixin));
564 </pre></div>
588 <div class="informalexample">
589 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
590 <tbody>
591 <tr>
592 <td class="listing_lines" align="right"><pre>1
593 2
594 3</pre></td>
595 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPresenceMixin.html#tp-presence-mixin-class-init">tp_presence_mixin_class_init</a></span> <span class="symbol">((</span>GObjectClass <span class="symbol">*)</span> klass<span class="symbol">,</span>
596 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObjectClass<span class="symbol">,</span>
597 presence_mixin<span class="symbol">));</span></pre></td>
598 </tr>
599 </tbody>
600 </table>
601 </div>
602
565603 <p>
566604 </p>
567605 <div class="variablelist"><table border="0">
620658 </p>
621659 <p>
622660 </p>
623 <div class="informalexample"><pre class="programlisting">
624 tp_presence_mixin_init ((GObject *) self,
625 G_STRUCT_OFFSET (SomeObject, presence_mixin));
626 </pre></div>
661 <div class="informalexample">
662 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
663 <tbody>
664 <tr>
665 <td class="listing_lines" align="right"><pre>1
666 2</pre></td>
667 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPresenceMixin.html#tp-presence-mixin-init">tp_presence_mixin_init</a></span> <span class="symbol">((</span>GObject <span class="symbol">*)</span> self<span class="symbol">,</span>
668 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObject<span class="symbol">,</span> presence_mixin<span class="symbol">));</span></pre></td>
669 </tr>
670 </tbody>
671 </table>
672 </div>
673
627674 <p>
628675 </p>
629676 <div class="variablelist"><table border="0">
341341 </p>
342342 <p>
343343 </p>
344 <div class="informalexample"><pre class="programlisting">
345 tp_properties_mixin_class_init ((GObjectClass *) klass,
346 G_STRUCT_OFFSET (SomeObjectClass,
347 properties_mixin));
348 </pre></div>
344 <div class="informalexample">
345 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
346 <tbody>
347 <tr>
348 <td class="listing_lines" align="right"><pre>1
349 2
350 3</pre></td>
351 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-class-init">tp_properties_mixin_class_init</a></span> <span class="symbol">((</span>GObjectClass <span class="symbol">*)</span> klass<span class="symbol">,</span>
352 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObjectClass<span class="symbol">,</span>
353 properties_mixin<span class="symbol">));</span></pre></td>
354 </tr>
355 </tbody>
356 </table>
357 </div>
358
349359 <p>
350360 </p>
351361 <div class="variablelist"><table border="0">
391401 </p>
392402 <p>
393403 </p>
394 <div class="informalexample"><pre class="programlisting">
395 tp_properties_mixin_init ((GObject *) self,
396 G_STRUCT_OFFSET (SomeObject, properties_mixin),
397 self-&gt;contact_repo);
398 </pre></div>
404 <div class="informalexample">
405 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
406 <tbody>
407 <tr>
408 <td class="listing_lines" align="right"><pre>1
409 2
410 3</pre></td>
411 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpPropertiesMixin.html#tp-properties-mixin-init">tp_properties_mixin_init</a></span> <span class="symbol">((</span>GObject <span class="symbol">*)</span> self<span class="symbol">,</span>
412 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObject<span class="symbol">,</span> properties_mixin<span class="symbol">),</span>
413 self<span class="symbol">-&gt;</span>contact_repo<span class="symbol">);</span></pre></td>
414 </tr>
415 </tbody>
416 </table>
417 </div>
418
399419 <p>
400420 </p>
401421 <div class="variablelist"><table border="0">
178178 </p>
179179 <p>
180180 </p>
181 <div class="informalexample"><pre class="programlisting">
182 tp_text_mixin_class_init ((GObjectClass *) klass,
183 G_STRUCT_OFFSET (SomeObjectClass, text_mixin));
184 </pre></div>
181 <div class="informalexample">
182 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
183 <tbody>
184 <tr>
185 <td class="listing_lines" align="right"><pre>1
186 2</pre></td>
187 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-init">tp_text_mixin_class_init</a></span> <span class="symbol">((</span>GObjectClass <span class="symbol">*)</span> klass<span class="symbol">,</span>
188 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObjectClass<span class="symbol">,</span> text_mixin<span class="symbol">));</span></pre></td>
189 </tr>
190 </tbody>
191 </table>
192 </div>
193
185194 <p>
186195 </p>
187196 <div class="variablelist"><table border="0">
212221 </p>
213222 <p>
214223 </p>
215 <div class="informalexample"><pre class="programlisting">
216 tp_text_mixin_init ((GObject *) self,
217 G_STRUCT_OFFSET (SomeObject, text_mixin),
218 self-&gt;contact_repo);
219 </pre></div>
224 <div class="informalexample">
225 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
226 <tbody>
227 <tr>
228 <td class="listing_lines" align="right"><pre>1
229 2
230 3</pre></td>
231 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpTextMixin.html#tp-text-mixin-init">tp_text_mixin_init</a></span> <span class="symbol">((</span>GObject <span class="symbol">*)</span> self<span class="symbol">,</span>
232 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="symbol">(</span>SomeObject<span class="symbol">,</span> text_mixin<span class="symbol">),</span>
233 self<span class="symbol">-&gt;</span>contact_repo<span class="symbol">);</span></pre></td>
234 </tr>
235 </tbody>
236 </table>
237 </div>
238
220239 <p>
221240 </p>
222241 <div class="variablelist"><table border="0">
423423 before returning from this function. One could ref every item in the list
424424 like the following example:
425425 </p>
426 <div class="informalexample"><pre class="programlisting">
427 GList *accounts;
428 account = tp_account_manager_get_valid_accounts (manager);
429 g_list_foreach (accounts, (GFunc) g_object_ref, NULL);
430 </pre></div>
426 <div class="informalexample">
427 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
428 <tbody>
429 <tr>
430 <td class="listing_lines" align="right"><pre>1
431 2
432 3</pre></td>
433 <td class="listing_code"><pre class="programlisting">GList <span class="symbol">*</span>accounts<span class="symbol">;</span>
434 account <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-account-manager.html#tp-account-manager-get-valid-accounts">tp_account_manager_get_valid_accounts</a></span> <span class="symbol">(</span>manager<span class="symbol">);</span>
435 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-foreach">g_list_foreach</a></span> <span class="symbol">(</span>accounts<span class="symbol">, (</span>GFunc<span class="symbol">)</span> g_object_ref<span class="symbol">,</span> NULL<span class="symbol">);</span></pre></td>
436 </tr>
437 </tbody>
438 </table>
439 </div>
440
431441 <p>
432442 </p>
433443 <p>
192192 <p>
193193 The <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> is synonymous with:
194194 </p>
195 <div class="informalexample"><pre class="programlisting">
196 GHashTable *asv = g_hash_table_new_full (g_str_hash, g_str_equal,
197 NULL, (GDestroyNotify) tp_g_value_slice_free);
198 </pre></div>
195 <div class="informalexample">
196 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
197 <tbody>
198 <tr>
199 <td class="listing_lines" align="right"><pre>1
200 2</pre></td>
201 <td class="listing_code"><pre class="programlisting">GHashTable <span class="symbol">*</span>asv <span class="symbol">=</span> <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-new-full">g_hash_table_new_full</a></span> <span class="symbol">(</span>g_str_hash<span class="symbol">,</span> g_str_equal<span class="symbol">,</span>
202 NULL<span class="symbol">, (</span>GDestroyNotify<span class="symbol">)</span> tp_g_value_slice_free<span class="symbol">);</span></pre></td>
203 </tr>
204 </tbody>
205 </table>
206 </div>
207
199208 <p>
200209 Followed by manual insertion of each of the parameters.
201210 </p>
207216 <a class="link" href="telepathy-glib-util.html#tp-g-value-slice-new" title="tp_g_value_slice_new ()"><code class="function">tp_g_value_slice_new()</code></a> and <a class="link" href="telepathy-glib-util.html#tp-g-value-slice-dup" title="tp_g_value_slice_dup ()"><code class="function">tp_g_value_slice_dup()</code></a> may also be used to insert
208217 into the map if required.
209218 </p>
210 <div class="informalexample"><pre class="programlisting">
211 g_hash_table_insert (parameters, "account",
212 tp_g_value_slice_new_string ("bob@mcbadgers.com"));
213 </pre></div>
219 <div class="informalexample">
220 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
221 <tbody>
222 <tr>
223 <td class="listing_lines" align="right"><pre>1
224 2</pre></td>
225 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-insert">g_hash_table_insert</a></span> <span class="symbol">(</span>parameters<span class="symbol">,</span> <span class="string">&quot;account&quot;</span><span class="symbol">,</span>
226 <span class="function"><a href="telepathy-glib-util.html#tp-g-value-slice-new-string">tp_g_value_slice_new_string</a></span> <span class="symbol">(</span><span class="string">&quot;bob&#64;mcbadgers.com&quot;</span><span class="symbol">));</span></pre></td>
227 </tr>
228 </tbody>
229 </table>
230 </div>
231
214232 <p>
215233 </p>
216234 <p>
217235 </p>
218236 <div class="example">
219 <a name="id483216"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
220 <div class="example-contents"><pre class="programlisting">
221 GHashTable *parameters = tp_asv_new (
222 "answer", G_TYPE_INT, 42,
223 "question", G_TYPE_STRING, "We just don't know",
224 NULL);</pre></div>
237 <a name="id629371"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
238 <div class="example-contents">
239 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
240 <tbody>
241 <tr>
242 <td class="listing_lines" align="right"><pre>1
243 2
244 3
245 4</pre></td>
246 <td class="listing_code"><pre class="programlisting">GHashTable <span class="symbol">*</span>parameters <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
247 <span class="string">&quot;answer&quot;</span><span class="symbol">,</span> G_TYPE_INT<span class="symbol">,</span> <span class="number">42</span><span class="symbol">,</span>
248 <span class="string">&quot;question&quot;</span><span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span> <span class="string">&quot;We just don't know&quot;</span><span class="symbol">,</span>
249 NULL<span class="symbol">);</span></pre></td>
250 </tr>
251 </tbody>
252 </table>
253 </div>
254
225255 </div>
226256 <p><br class="example-break">
227257 </p>
305305 </p>
306306 <p>
307307 </p>
308 <div class="informalexample"><pre class="programlisting">
309 tp_base_client_take_observer_filter (client,
310 tp_asv_new (
311 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
312 TP_IFACE_CHANNEL_TYPE_TEXT,
313 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
314 TP_HANDLE_TYPE_CONTACT,
315 ...));
316 </pre></div>
308 <div class="informalexample">
309 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
310 <tbody>
311 <tr>
312 <td class="listing_lines" align="right"><pre>1
313 2
314 3
315 4
316 5
317 6
318 7</pre></td>
319 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-observer-filter">tp_base_client_take_observer_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span>
320 <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
321 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
322 TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
323 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span>
324 TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
325 <span class="symbol">...));</span></pre></td>
326 </tr>
327 </tbody>
328 </table>
329 </div>
330
317331 <p>
318332 </p>
319333 <div class="variablelist"><table border="0">
563577 </p>
564578 <p>
565579 </p>
566 <div class="informalexample"><pre class="programlisting">
567 tp_base_client_take_approver_filter (client,
568 tp_asv_new (
569 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
570 TP_IFACE_CHANNEL_TYPE_TEXT,
571 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
572 TP_HANDLE_TYPE_CONTACT,
573 ...));
574 </pre></div>
580 <div class="informalexample">
581 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
582 <tbody>
583 <tr>
584 <td class="listing_lines" align="right"><pre>1
585 2
586 3
587 4
588 5
589 6
590 7</pre></td>
591 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-approver-filter">tp_base_client_take_approver_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span>
592 <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
593 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
594 TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
595 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span>
596 TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
597 <span class="symbol">...));</span></pre></td>
598 </tr>
599 </tbody>
600 </table>
601 </div>
602
575603 <p>
576604 </p>
577605 <div class="variablelist"><table border="0">
847875 </p>
848876 <p>
849877 </p>
850 <div class="informalexample"><pre class="programlisting">
851 tp_base_client_take_handler_filter (client,
852 tp_asv_new (
853 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
854 TP_IFACE_CHANNEL_TYPE_TEXT,
855 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT,
856 TP_HANDLE_TYPE_CONTACT,
857 ...));
858 </pre></div>
878 <div class="informalexample">
879 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
880 <tbody>
881 <tr>
882 <td class="listing_lines" align="right"><pre>1
883 2
884 3
885 4
886 5
887 6
888 7</pre></td>
889 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-handler-filter">tp_base_client_take_handler_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span>
890 <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
891 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
892 TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
893 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span>
894 TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
895 <span class="symbol">...));</span></pre></td>
896 </tr>
897 </tbody>
898 </table>
899 </div>
900
859901 <p>
860902 </p>
861903 <div class="variablelist"><table border="0">
0 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4 <title>TpBasePasswordChannel</title>
5 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6 <link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
7 <link rel="up" href="ch-service-base.html" title="Service-side implementation">
8 <link rel="prev" href="TpCMMessage.html" title="TpCMMessage">
9 <link rel="next" href="telepathy-glib-simple-password-manager.html" title="TpSimplePasswordManager">
10 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
11 <link rel="stylesheet" href="style.css" type="text/css">
12 </head>
13 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
15 <tr valign="middle">
16 <td><a accesskey="p" href="TpCMMessage.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17 <td><a accesskey="u" href="ch-service-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19 <th width="100%" align="center">telepathy-glib API Reference Manual</th>
20 <td><a accesskey="n" href="telepathy-glib-simple-password-manager.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
21 </tr>
22 <tr><td colspan="5" class="shortcuts">
23 <a href="#telepathy-glib-base-password-channel.synopsis" class="shortcut">Top</a>
24  | 
25 <a href="#telepathy-glib-base-password-channel.description" class="shortcut">Description</a>
26  | 
27 <a href="#telepathy-glib-base-password-channel.object-hierarchy" class="shortcut">Object Hierarchy</a>
28  | 
29 <a href="#telepathy-glib-base-password-channel.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
30  | 
31 <a href="#telepathy-glib-base-password-channel.properties" class="shortcut">Properties</a>
32  | 
33 <a href="#telepathy-glib-base-password-channel.signals" class="shortcut">Signals</a>
34 </td></tr>
35 </table>
36 <div class="refentry" title="TpBasePasswordChannel">
37 <a name="telepathy-glib-base-password-channel"></a><div class="titlepage"></div>
38 <div class="refnamediv"><table width="100%"><tr>
39 <td valign="top">
40 <h2><span class="refentrytitle"><a name="telepathy-glib-base-password-channel.top_of_page"></a>TpBasePasswordChannel</span></h2>
41 <p>TpBasePasswordChannel — a simple X-TELEPATHY-PASSWORD channel</p>
42 </td>
43 <td valign="top" align="right"></td>
44 </tr></table></div>
45 <div class="refsynopsisdiv" title="Synopsis">
46 <a name="telepathy-glib-base-password-channel.synopsis"></a><h2>Synopsis</h2>
47 <a name="TpBasePasswordChannel"></a><pre class="synopsis">
48 #include &lt;telepathy-glib/base-password-channel.h&gt;
49
50 <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-struct" title="TpBasePasswordChannel">TpBasePasswordChannel</a>;
51 </pre>
52 </div>
53 <div class="refsect1" title="Object Hierarchy">
54 <a name="telepathy-glib-base-password-channel.object-hierarchy"></a><h2>Object Hierarchy</h2>
55 <pre class="synopsis">
56 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
57 +----<a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a>
58 +----TpBasePasswordChannel
59 </pre>
60 </div>
61 <div class="refsect1" title="Implemented Interfaces">
62 <a name="telepathy-glib-base-password-channel.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
63 <p>
64 TpBasePasswordChannel implements
65 <a class="link" href="telepathy-glib-svc-generic.html#TpSvcDBusProperties">TpSvcDBusProperties</a>, <a class="link" href="telepathy-glib-svc-channel.html#TpSvcChannel">TpSvcChannel</a>, <a class="link" href="TpChannelIface.html" title="TpChannelIface">TpChannelIface</a>, <a class="link" href="TpExportableChannel.html" title="TpExportableChannel">TpExportableChannel</a>, <a class="link" href="telepathy-glib-svc-channel-auth.html#TpSvcChannelTypeServerAuthentication">TpSvcChannelTypeServerAuthentication</a> and <a class="link" href="telepathy-glib-svc-channel-auth.html#TpSvcChannelInterfaceSASLAuthentication">TpSvcChannelInterfaceSASLAuthentication</a>.</p>
66 </div>
67 <div class="refsect1" title="Properties">
68 <a name="telepathy-glib-base-password-channel.properties"></a><h2>Properties</h2>
69 <pre class="synopsis">
70 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authentication-method" title='The "authentication-method" property'>authentication-method</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
71 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authorization-identity" title='The "authorization-identity" property'>authorization-identity</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
72 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--available-mechanisms" title='The "available-mechanisms" property'>available-mechanisms</a>" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a>* : Read
73 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--can-try-again" title='The "can-try-again" property'>can-try-again</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
74 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-realm" title='The "default-realm" property'>default-realm</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
75 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-username" title='The "default-username" property'>default-username</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
76 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--has-initial-data" title='The "has-initial-data" property'>has-initial-data</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read
77 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--may-save-response" title='The "may-save-response" property'>may-save-response</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only
78 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error" title='The "sasl-error" property'>sasl-error</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
79 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error-details" title='The "sasl-error-details" property'>sasl-error-details</a>" <span class="type">GHashTable_gchararray+GValue_*</span> : Read
80 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-status" title='The "sasl-status" property'>sasl-status</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
81 </pre>
82 </div>
83 <div class="refsect1" title="Signals">
84 <a name="telepathy-glib-base-password-channel.signals"></a><h2>Signals</h2>
85 <pre class="synopsis">
86 "<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-finished" title='The "finished" signal'>finished</a>" : Run Last
87 </pre>
88 </div>
89 <div class="refsect1" title="Description">
90 <a name="telepathy-glib-base-password-channel.description"></a><h2>Description</h2>
91 <p>
92 This class implements a SASL Authentication channel with the
93 X-TELEPATHY-PASSWORD SASL mechanism. Most of the time, you should not use
94 or instantiate this class directly. It is used by <span class="type">TpBasePasswordManager</span>
95 behind the scenes. In some special circumstances (e.g. when the authentication
96 channel needs to implement additional interfaces), it may be necessary to
97 create your own custom authentication channels instead of letting
98 <span class="type">TpBasePasswordManager</span> create them automatically. In this case, you
99 should derive your channel from this class and then pass the channel as an
100 argument to <code class="function">tp_base_password_manager_prompt_for_channel_async()</code>.
101 </p>
102 </div>
103 <div class="refsect1" title="Details">
104 <a name="telepathy-glib-base-password-channel.details"></a><h2>Details</h2>
105 <div class="refsect2" title="TpBasePasswordChannel">
106 <a name="TpBasePasswordChannel-struct"></a><h3>TpBasePasswordChannel</h3>
107 <pre class="programlisting">typedef struct _TpBasePasswordChannel TpBasePasswordChannel;</pre>
108 <p>
109 Data structure representing a channel implementing a SASL Authentication
110 channel with the X-TELEPATHY-PASSWORD SASL mechanism.
111 </p>
112 <p class="since">Since 0.13.15</p>
113 </div>
114 </div>
115 <div class="refsect1" title="Property Details">
116 <a name="telepathy-glib-base-password-channel.property-details"></a><h2>Property Details</h2>
117 <div class="refsect2" title='The "authentication-method" property'>
118 <a name="TpBasePasswordChannel--authentication-method"></a><h3>The <code class="literal">"authentication-method"</code> property</h3>
119 <pre class="programlisting"> "authentication-method" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
120 <p>Interface of authentication method.</p>
121 <p>Default value: ""</p>
122 </div>
123 <hr>
124 <div class="refsect2" title='The "authorization-identity" property'>
125 <a name="TpBasePasswordChannel--authorization-identity"></a><h3>The <code class="literal">"authorization-identity"</code> property</h3>
126 <pre class="programlisting"> "authorization-identity" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
127 <p>Authorization identity.</p>
128 <p>Default value: ""</p>
129 </div>
130 <hr>
131 <div class="refsect2" title='The "available-mechanisms" property'>
132 <a name="TpBasePasswordChannel--available-mechanisms"></a><h3>The <code class="literal">"available-mechanisms"</code> property</h3>
133 <pre class="programlisting"> "available-mechanisms" <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#GStrv"><span class="type">GStrv</span></a>* : Read</pre>
134 <p>The set of mechanisms the server advertised.</p>
135 </div>
136 <hr>
137 <div class="refsect2" title='The "can-try-again" property'>
138 <a name="TpBasePasswordChannel--can-try-again"></a><h3>The <code class="literal">"can-try-again"</code> property</h3>
139 <pre class="programlisting"> "can-try-again" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
140 <p>Whether StartMechanism will work in failed states.</p>
141 <p>Default value: FALSE</p>
142 </div>
143 <hr>
144 <div class="refsect2" title='The "default-realm" property'>
145 <a name="TpBasePasswordChannel--default-realm"></a><h3>The <code class="literal">"default-realm"</code> property</h3>
146 <pre class="programlisting"> "default-realm" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
147 <p>DefaultRealm.</p>
148 <p>Default value: ""</p>
149 </div>
150 <hr>
151 <div class="refsect2" title='The "default-username" property'>
152 <a name="TpBasePasswordChannel--default-username"></a><h3>The <code class="literal">"default-username"</code> property</h3>
153 <pre class="programlisting"> "default-username" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
154 <p>DefaultUsername.</p>
155 <p>Default value: ""</p>
156 </div>
157 <hr>
158 <div class="refsect2" title='The "has-initial-data" property'>
159 <a name="TpBasePasswordChannel--has-initial-data"></a><h3>The <code class="literal">"has-initial-data"</code> property</h3>
160 <pre class="programlisting"> "has-initial-data" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre>
161 <p>Whether the StartMechanismWithData can be called.</p>
162 <p>Default value: FALSE</p>
163 </div>
164 <hr>
165 <div class="refsect2" title='The "may-save-response" property'>
166 <a name="TpBasePasswordChannel--may-save-response"></a><h3>The <code class="literal">"may-save-response"</code> property</h3>
167 <pre class="programlisting"> "may-save-response" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct Only</pre>
168 <p>Whether the client may save the authentication response.</p>
169 <p>Default value: TRUE</p>
170 </div>
171 <hr>
172 <div class="refsect2" title='The "sasl-error" property'>
173 <a name="TpBasePasswordChannel--sasl-error"></a><h3>The <code class="literal">"sasl-error"</code> property</h3>
174 <pre class="programlisting"> "sasl-error" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
175 <p>SASL error.</p>
176 <p>Default value: ""</p>
177 </div>
178 <hr>
179 <div class="refsect2" title='The "sasl-error-details" property'>
180 <a name="TpBasePasswordChannel--sasl-error-details"></a><h3>The <code class="literal">"sasl-error-details"</code> property</h3>
181 <pre class="programlisting"> "sasl-error-details" <span class="type">GHashTable_gchararray+GValue_*</span> : Read</pre>
182 <p>SASL error details.</p>
183 </div>
184 <hr>
185 <div class="refsect2" title='The "sasl-status" property'>
186 <a name="TpBasePasswordChannel--sasl-status"></a><h3>The <code class="literal">"sasl-status"</code> property</h3>
187 <pre class="programlisting"> "sasl-status" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
188 <p>The status of the current SASL authentication.</p>
189 <p>Allowed values: &lt;= 7</p>
190 <p>Default value: 0</p>
191 </div>
192 </div>
193 <div class="refsect1" title="Signal Details">
194 <a name="telepathy-glib-base-password-channel.signal-details"></a><h2>Signal Details</h2>
195 <div class="refsect2" title='The "finished" signal'>
196 <a name="TpBasePasswordChannel-finished"></a><h3>The <code class="literal">"finished"</code> signal</h3>
197 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a> *password,
198 <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="type">GString</span></a> *domain,
199 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> code,
200 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> message,
201 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg4,
202 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last</pre>
203 <p>
204 Emitted when either the password has been provided by the user or the
205 authentication has been aborted.
206 </p>
207 <div class="variablelist"><table border="0">
208 <col align="left" valign="top">
209 <tbody>
210 <tr>
211 <td><p><span class="term"><em class="parameter"><code>password</code></em> :</span></p></td>
212 <td>the password provided by the user, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the
213 authentication has been aborted
214 </td>
215 </tr>
216 <tr>
217 <td><p><span class="term"><em class="parameter"><code>domain</code></em> :</span></p></td>
218 <td>domain of a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> indicating why the authentication has been
219 aborted, or 0
220 </td>
221 </tr>
222 <tr>
223 <td><p><span class="term"><em class="parameter"><code>code</code></em> :</span></p></td>
224 <td>error code of a GError indicating why the authentication has been
225 aborted, or 0
226 </td>
227 </tr>
228 <tr>
229 <td><p><span class="term"><em class="parameter"><code>message</code></em> :</span></p></td>
230 <td>a message associated with the error, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
231 </td>
232 </tr>
233 <tr>
234 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
235 <td>user data set when the signal handler was connected.</td>
236 </tr>
237 </tbody>
238 </table></div>
239 <p class="since">Since 0.13.15</p>
240 </div>
241 </div>
242 </div>
243 <div class="footer">
244 <hr>
245 Generated by GTK-Doc V1.15</div>
246 </body>
247 </html>
373373 Specifically, if this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a room list channel can be
374374 requested as follows:
375375 </p>
376 <div class="informalexample"><pre class="programlisting">
377 GHashTable *request;
378 TpAccountChannelRequest *req;
379
380 request = tp_asv_new (
381 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
382 TP_IFACE_CHANNEL_TYPE_ROOM_LIST,
383 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_NONE,
384 NULL);
385
386 req = tp_account_channel_request_new (account, request,
387 TP_USER_ACTION_TIME_CURRENT_TIME);
388
389 tp_account_channel_request_create_and_handle_channel_async (req, NULL,
390 create_channel_cb, NULL);
391
392 g_object_unref (req);
393 g_hash_table_unref (request);
394 </pre></div>
376 <div class="informalexample">
377 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
378 <tbody>
379 <tr>
380 <td class="listing_lines" align="right"><pre>1
381 2
382 3
383 4
384 5
385 6
386 7
387 8
388 9
389 10
390 11
391 12
392 13
393 14
394 15
395 16
396 17</pre></td>
397 <td class="listing_code"><pre class="programlisting">GHashTable <span class="symbol">*</span>request<span class="symbol">;</span>
398 TpAccountChannelRequest <span class="symbol">*</span>req<span class="symbol">;</span>
399
400 request <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
401 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
402 TP_IFACE_CHANNEL_TYPE_ROOM_LIST<span class="symbol">,</span>
403 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span> TP_HANDLE_TYPE_NONE<span class="symbol">,</span>
404 NULL<span class="symbol">);</span>
405
406 req <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new">tp_account_channel_request_new</a></span> <span class="symbol">(</span>account<span class="symbol">,</span> request<span class="symbol">,</span>
407 TP_USER_ACTION_TIME_CURRENT_TIME<span class="symbol">);</span>
408
409 <span class="function"><a href="telepathy-glib-account-channel-request.html#tp-account-channel-request-create-and-handle-channel-async">tp_account_channel_request_create_and_handle_channel_async</a></span> <span class="symbol">(</span>req<span class="symbol">,</span> NULL<span class="symbol">,</span>
410 create_channel_cb<span class="symbol">,</span> NULL<span class="symbol">);</span>
411
412 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="symbol">(</span>req<span class="symbol">);</span>
413 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#g-hash-table-unref">g_hash_table_unref</a></span> <span class="symbol">(</span>request<span class="symbol">);</span></pre></td>
414 </tr>
415 </tbody>
416 </table>
417 </div>
418
395419 <p>
396420 </p>
397421 <p>
398422 If <em class="parameter"><code>with_server</code></em> is set to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, a list of rooms on a particular server can
399423 be requested as follows:
400424 </p>
401 <div class="informalexample"><pre class="programlisting">
402 /\* Same code as above but with request defined using: *\/
403 request = tp_asv_new (
404 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING,
405 TP_IFACE_CHANNEL_TYPE_ROOM_LIST,
406 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_NONE,
407 TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER, G_TYPE_STRING,
408 "characters.shakespeare.lit",
409 NULL);
410 </pre></div>
425 <div class="informalexample">
426 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
427 <tbody>
428 <tr>
429 <td class="listing_lines" align="right"><pre>1
430 2
431 3
432 4
433 5
434 6
435 7
436 8</pre></td>
437 <td class="listing_code"><pre class="programlisting"><span class="symbol">/</span>\<span class="symbol">*</span> Same code as above but with request defined <span class="keyword">using</span><span class="symbol">: *</span>\<span class="symbol">/</span>
438 request <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
439 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
440 TP_IFACE_CHANNEL_TYPE_ROOM_LIST<span class="symbol">,</span>
441 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span> TP_HANDLE_TYPE_NONE<span class="symbol">,</span>
442 TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span>
443 <span class="string">&quot;characters.shakespeare.lit&quot;</span><span class="symbol">,</span>
444 NULL<span class="symbol">);</span></pre></td>
445 </tr>
446 </tbody>
447 </table>
448 </div>
449
411450 <p>
412451 </p>
413452 <div class="variablelist"><table border="0">
11681168 <p>
11691169 If an X server timestamp for the user action causing this method call is
11701170 available, <em class="parameter"><code>user_action_time</code></em> should be this timestamp (for instance, the
1171 result of <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
1171 result of <a href="/usr/share/gtk-doc/html/gdk/gdk-Events.html#gdk-event-get-time"><code class="function">gdk_event_get_time()</code></a> if it is not <a href="/usr/share/gtk-doc/html/gdk/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>). Otherwise, it
11721172 may be <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS" title="TP_USER_ACTION_TIME_NOT_USER_ACTION"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> to behave as if there was no
11731173 user action or it happened a long time ago, or
11741174 <a class="link" href="telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS" title="TP_USER_ACTION_TIME_CURRENT_TIME"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a> to have the Handler behave as though the
11751175 user action had just happened (resembling, but not numerically equal to,
1176 <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).
1176 <a href="/usr/share/gtk-doc/html/gdk/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a>).
11771177 </p>
11781178 <p>
11791179 This method has been introduced in telepathy-mission-control 5.5.0.
4040 <pre class="synopsis">
4141 #include &lt;telepathy-glib/connection.h&gt;
4242
43 <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-block-contacts" title="tp_cli_connection_interface_contact_blocking_call_block_contacts ()">tp_cli_connection_interface_contact_blocking_call_block_contacts</a>
44 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
45 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
46 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
47 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
48 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_block_contacts</span></a> callback</code></em>,
49 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
50 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
51 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
52 <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts" title="tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ()">tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts</a>
53 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
54 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
55 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts</span></a> callback</code></em>,
56 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
57 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
58 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
59 <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-unblock-contacts" title="tp_cli_connection_interface_contact_blocking_call_unblock_contacts ()">tp_cli_connection_interface_contact_blocking_call_unblock_contacts</a>
60 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
61 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
62 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
63 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts</span></a> callback</code></em>,
64 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
65 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
66 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
67 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()">*tp_cli_connection_interface_contact_blocking_callback_for_block_contacts</a>)
68 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
69 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
70 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
71 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
72 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()">*tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts</a>)
73 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
74 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contacts</code></em>,
75 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
76 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
77 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
78 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()">*tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts</a>)
79 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
80 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
81 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
82 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
83 <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed" title="tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()">tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed</a>
84 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
85 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed" title="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()"><span class="type">tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed</span></a> callback</code></em>,
86 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
87 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
88 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
89 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
90 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-block-contacts" title="tp_cli_connection_interface_contact_blocking_run_block_contacts ()">tp_cli_connection_interface_contact_blocking_run_block_contacts</a>
91 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
92 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
93 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
94 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
95 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
96 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);
97 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts" title="tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ()">tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts</a>
98 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
99 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
100 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> **out_Contacts</code></em>,
101 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
102 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);
103 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-unblock-contacts" title="tp_cli_connection_interface_contact_blocking_run_unblock_contacts ()">tp_cli_connection_interface_contact_blocking_run_unblock_contacts</a>
104 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
105 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
106 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
107 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
108 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);
109 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed" title="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()">*tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed</a>)
110 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
111 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Blocked_Contacts</code></em>,
112 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Unblocked_Contacts</code></em>,
113 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
114 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
43115 <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-add-to-group" title="tp_cli_connection_interface_contact_groups_call_add_to_group ()">tp_cli_connection_interface_contact_groups_call_add_to_group</a>
44116 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
45117 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
294366 </div>
295367 <div class="refsect1" title="Details">
296368 <a name="telepathy-glib-connection-contact-list.details"></a><h2>Details</h2>
297 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_add_to_group ()">
298 <a name="tp-cli-connection-interface-contact-groups-call-add-to-group"></a><h3>tp_cli_connection_interface_contact_groups_call_add_to_group ()</h3>
299 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_add_to_group
300 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
301 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
302 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
303 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
304 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-add-to-group" title="tp_cli_connection_interface_contact_groups_callback_for_add_to_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_add_to_group</span></a> callback</code></em>,
305 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
306 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
307 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
308 <p>
309 Start a AddToGroup method call.
310 </p>
311 <p>
312 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given members to the given group, creating it if necessary.&lt;/p&gt; &lt;p&gt;If &lt;tp:member-ref&gt;DisjointGroups&lt;/tp:member-ref&gt; is true, this will also remove each member from their previous group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is good for user interfaces in which you can edit groups via drag-and-drop.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
369 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_call_block_contacts ()">
370 <a name="tp-cli-connection-interface-contact-blocking-call-block-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_call_block_contacts ()</h3>
371 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_blocking_call_block_contacts
372 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
373 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
374 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
375 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
376 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_block_contacts</span></a> callback</code></em>,
377 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
378 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
379 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
380 <p>
381 Start a BlockContacts method call.
382 </p>
383 <p>
384 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Direct the server to block some contacts. The precise effect is protocol-dependent, but SHOULD include ignoring all current and subsequent communications from the given contacts, avoiding sending presence to them in future, and if they were already receiving the local user's presence, behaving as if the local user went offline.&lt;/p&gt;
313385 </p>
314386 <div class="variablelist"><table border="0">
315387 <col align="left" valign="top">
326398 </td>
327399 </tr>
328400 <tr>
329 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
330 <td>Used to pass an 'in' argument: The group to alter.
331 </td>
332 </tr>
333 <tr>
334 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
335 <td>Used to pass an 'in' argument: The set of members to include in the group.
401 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
402 <td>Used to pass an 'in' argument: Some contacts to block. If some of the contacts in this list are already blocked, the connection manager MUST act as if they were not specified in this list.
403 </td>
404 </tr>
405 <tr>
406 <td><p><span class="term"><em class="parameter"><code>in_Report_Abusive</code></em> :</span></p></td>
407 <td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;In addition to blocking, report these contacts as abusive to the server administrators.&lt;/p&gt; &lt;p&gt;Clients can determine whether this capability is available by checking the &lt;tp:member-ref&gt;ContactBlockingCapabilities&lt;/tp:member-ref&gt; property. If this argument is set to &lt;code&gt;True&lt;/code&gt; by a client despite &lt;tp:member-ref&gt;ContactBlockingCapabilities&lt;/tp:member-ref&gt; not containing the &lt;code&gt;Can_Report_Abusive&lt;/code&gt; flag, the connection manager SHOULD act as if it were &lt;code&gt;False&lt;/code&gt; and simply block the supplied contacts.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;A correct user interface shouldn't get this far without knowing that reporting abusive contacts is not supported. If it does, then the user has expressed their intention to block these contacts. Returning an error would leave the UI with three options:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Ignore the error, leaving the contacts not actually blocked;&lt;/li&gt; &lt;li&gt;Display an error to the user;&lt;/li&gt; &lt;li&gt;Call this method again, passing &lt;code&gt;False&lt;/code&gt; for this argument.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;None of these seem preferable to the CM just ignoring this flag if it doesn't support it: that way, the contacts will be blocked, as the user requested, and UIs have fewer ways to mess up entirely.&lt;/p&gt; &lt;/tp:rationale&gt;
336408 </td>
337409 </tr>
338410 <tr>
375447 </table></div>
376448 </div>
377449 <hr>
378 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_remove_from_group ()">
379 <a name="tp-cli-connection-interface-contact-groups-call-remove-from-group"></a><h3>tp_cli_connection_interface_contact_groups_call_remove_from_group ()</h3>
380 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_remove_from_group
381 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
382 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
383 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
384 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
385 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-remove-from-group" title="tp_cli_connection_interface_contact_groups_callback_for_remove_from_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_remove_from_group</span></a> callback</code></em>,
386 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
387 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
388 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
389 <p>
390 Start a RemoveFromGroup method call.
391 </p>
392 <p>
393 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Remove the given members from the given group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is good for user interfaces in which you can edit groups via drag-and-drop.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
450 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ()">
451 <a name="tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ()</h3>
452 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts
453 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
454 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
455 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts</span></a> callback</code></em>,
456 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
457 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
458 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
459 <p>
460 Start a RequestBlockedContacts method call.
461 </p>
462 <p>
463 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;List the contacts that are blocked.&lt;/p&gt; &lt;p&gt;Clients SHOULD allow a relatively long timeout for calls to this method, since on some protocols contact blocking is part of the contact list, which can take a significant time to retrieve.&lt;/p&gt;
394464 </p>
395465 <div class="variablelist"><table border="0">
396466 <col align="left" valign="top">
404474 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
405475 <td>the timeout in milliseconds, or -1 to use the
406476 default
407 </td>
408 </tr>
409 <tr>
410 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
411 <td>Used to pass an 'in' argument: The group to alter. If it does not exist, then it has no members by definition, so this method SHOULD return successfully.
412 </td>
413 </tr>
414 <tr>
415 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
416 <td>Used to pass an 'in' argument: The set of members to remove from the group. It is not an error to remove members who are already not in the group. If there are no members left in the group afterwards, the group MAY itself be removed.
417477 </td>
418478 </tr>
419479 <tr>
456516 </table></div>
457517 </div>
458518 <hr>
459 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_remove_group ()">
460 <a name="tp-cli-connection-interface-contact-groups-call-remove-group"></a><h3>tp_cli_connection_interface_contact_groups_call_remove_group ()</h3>
461 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_remove_group
462 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
463 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
464 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
465 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-remove-group" title="tp_cli_connection_interface_contact_groups_callback_for_remove_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_remove_group</span></a> callback</code></em>,
466 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
467 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
468 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
469 <p>
470 Start a RemoveGroup method call.
471 </p>
472 <p>
473 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Remove all members from the given group, then remove the group itself. If the group already does not exist, this method SHOULD return successfully.&lt;/p&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
519 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_call_unblock_contacts ()">
520 <a name="tp-cli-connection-interface-contact-blocking-call-unblock-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_call_unblock_contacts ()</h3>
521 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_blocking_call_unblock_contacts
522 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
523 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
524 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
525 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts" title="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()"><span class="type">tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts</span></a> callback</code></em>,
526 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
527 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
528 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
529 <p>
530 Start a UnblockContacts method call.
531 </p>
532 <p>
533 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Direct the server to unblock some contacts.&lt;/p&gt;
474534 </p>
475535 <div class="variablelist"><table border="0">
476536 <col align="left" valign="top">
487547 </td>
488548 </tr>
489549 <tr>
490 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
491 <td>Used to pass an 'in' argument: The group to remove.
550 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
551 <td>Used to pass an 'in' argument: Some contacts to unblock. If some of the contacts in this list are not currently blocked, the connection manager MUST act as if they were not specified in this list.
492552 </td>
493553 </tr>
494554 <tr>
531591 </table></div>
532592 </div>
533593 <hr>
534 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_rename_group ()">
535 <a name="tp-cli-connection-interface-contact-groups-call-rename-group"></a><h3>tp_cli_connection_interface_contact_groups_call_rename_group ()</h3>
536 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_rename_group
537 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
538 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
539 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Old_Name</code></em>,
540 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_New_Name</code></em>,
541 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-rename-group" title="tp_cli_connection_interface_contact_groups_callback_for_rename_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_rename_group</span></a> callback</code></em>,
542 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
543 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
544 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
545 <p>
546 Start a RenameGroup method call.
547 </p>
548 <p>
549 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Rename the given group.&lt;/p&gt; &lt;p&gt;On protocols where groups behave like tags, this is an API short-cut for adding all of the group's members to a group with the new name, then removing the old group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;Otherwise, clients can't perform this operation atomically, even if the connection could.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupRenamed&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
594 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()">
595 <a name="tp-cli-connection-interface-contact-blocking-callback-for-block-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()</h3>
596 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_connection_interface_contact_blocking_callback_for_block_contacts)
597 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
598 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
599 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
600 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
601 <p>
602 Signature of the callback called when a BlockContacts method call
603 succeeds or fails.
604 </p>
605 <div class="variablelist"><table border="0">
606 <col align="left" valign="top">
607 <tbody>
608 <tr>
609 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
610 <td>the proxy on which the call was made
611 </td>
612 </tr>
613 <tr>
614 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
615 <td>
616 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
617 </td>
618 </tr>
619 <tr>
620 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
621 <td>user-supplied data
622 </td>
623 </tr>
624 <tr>
625 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
626 <td>user-supplied object
627 </td>
628 </tr>
629 </tbody>
630 </table></div>
631 </div>
632 <hr>
633 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()">
634 <a name="tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()</h3>
635 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts)
636 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
637 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contacts</code></em>,
638 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
639 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
640 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
641 <p>
642 Signature of the callback called when a RequestBlockedContacts method call
643 succeeds or fails.
644 </p>
645 <div class="variablelist"><table border="0">
646 <col align="left" valign="top">
647 <tbody>
648 <tr>
649 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
650 <td>the proxy on which the call was made
651 </td>
652 </tr>
653 <tr>
654 <td><p><span class="term"><em class="parameter"><code>out_Contacts</code></em> :</span></p></td>
655 <td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: The blocked contacts’ handles, together with their identifiers.
656 </td>
657 </tr>
658 <tr>
659 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
660 <td>
661 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
662 </td>
663 </tr>
664 <tr>
665 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
666 <td>user-supplied data
667 </td>
668 </tr>
669 <tr>
670 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
671 <td>user-supplied object
672 </td>
673 </tr>
674 </tbody>
675 </table></div>
676 </div>
677 <hr>
678 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()">
679 <a name="tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()</h3>
680 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts)
681 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
682 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
683 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
684 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
685 <p>
686 Signature of the callback called when a UnblockContacts method call
687 succeeds or fails.
688 </p>
689 <div class="variablelist"><table border="0">
690 <col align="left" valign="top">
691 <tbody>
692 <tr>
693 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
694 <td>the proxy on which the call was made
695 </td>
696 </tr>
697 <tr>
698 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
699 <td>
700 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure
701 </td>
702 </tr>
703 <tr>
704 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
705 <td>user-supplied data
706 </td>
707 </tr>
708 <tr>
709 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
710 <td>user-supplied object
711 </td>
712 </tr>
713 </tbody>
714 </table></div>
715 </div>
716 <hr>
717 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()">
718 <a name="tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed"></a><h3>tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()</h3>
719 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed
720 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
721 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed" title="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()"><span class="type">tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed</span></a> callback</code></em>,
722 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
723 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
724 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
725 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
726 <p>
727 Connect a handler to the signal BlockedContactsChanged.
728 </p>
729 <p>
730 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Emitted when the list of blocked contacts is first retrieved (before returning from any pending calls to &lt;tp:member-ref&gt;RequestBlockedContacts&lt;/tp:member-ref&gt;), and whenever the list of blocked contacts subsequently changes.&lt;/p&gt;
731 </p>
732 <div class="variablelist"><table border="0">
733 <col align="left" valign="top">
734 <tbody>
735 <tr>
736 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
737 <td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass
738 </td>
739 </tr>
740 <tr>
741 <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
742 <td>Callback to be called when the signal is
743 received
744 </td>
745 </tr>
746 <tr>
747 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
748 <td>User-supplied data for the callback
749 </td>
750 </tr>
751 <tr>
752 <td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
753 <td>Destructor for the user-supplied data, which
754 will be called when this signal is disconnected, or
755 before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
756 </td>
757 </tr>
758 <tr>
759 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
760 <td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
761 if it is destroyed, this callback will automatically be
762 disconnected
763 </td>
764 </tr>
765 <tr>
766 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
767 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
768 returned
769 </td>
770 </tr>
771 <tr>
772 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
773 <td> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
774 above, which can be used to disconnect the signal; or
775 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
776 or has become invalid.
777 </td>
778 </tr>
779 </tbody>
780 </table></div>
781 </div>
782 <hr>
783 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_run_block_contacts ()">
784 <a name="tp-cli-connection-interface-contact-blocking-run-block-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_run_block_contacts ()</h3>
785 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_cli_connection_interface_contact_blocking_run_block_contacts
786 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
787 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
788 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
789 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
790 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
791 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);</pre>
792 <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
793 <h3 class="title">Warning</h3>
794 <p><code class="literal">tp_cli_connection_interface_contact_blocking_run_block_contacts</code> is deprecated and should not be used in newly-written code.</p>
795 </div>
796 <p>
797 Call the method BlockContacts and run the main loop
798 until it returns. Before calling this method, you must
799 add a reference to any borrowed objects you need to keep,
800 and generally ensure that everything is in a consistent
801 state.
802 </p>
803 <p>
804 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Direct the server to block some contacts. The precise effect is protocol-dependent, but SHOULD include ignoring all current and subsequent communications from the given contacts, avoiding sending presence to them in future, and if they were already receiving the local user's presence, behaving as if the local user went offline.&lt;/p&gt;
805 </p>
806 <div class="variablelist"><table border="0">
807 <col align="left" valign="top">
808 <tbody>
809 <tr>
810 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
811 <td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass
812 </td>
813 </tr>
814 <tr>
815 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
816 <td>Timeout in milliseconds, or -1 for default
817 </td>
818 </tr>
819 <tr>
820 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
821 <td>Used to pass an 'in' argument: Some contacts to block. If some of the contacts in this list are already blocked, the connection manager MUST act as if they were not specified in this list.
822 </td>
823 </tr>
824 <tr>
825 <td><p><span class="term"><em class="parameter"><code>in_Report_Abusive</code></em> :</span></p></td>
826 <td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;In addition to blocking, report these contacts as abusive to the server administrators.&lt;/p&gt; &lt;p&gt;Clients can determine whether this capability is available by checking the &lt;tp:member-ref&gt;ContactBlockingCapabilities&lt;/tp:member-ref&gt; property. If this argument is set to &lt;code&gt;True&lt;/code&gt; by a client despite &lt;tp:member-ref&gt;ContactBlockingCapabilities&lt;/tp:member-ref&gt; not containing the &lt;code&gt;Can_Report_Abusive&lt;/code&gt; flag, the connection manager SHOULD act as if it were &lt;code&gt;False&lt;/code&gt; and simply block the supplied contacts.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;A correct user interface shouldn't get this far without knowing that reporting abusive contacts is not supported. If it does, then the user has expressed their intention to block these contacts. Returning an error would leave the UI with three options:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Ignore the error, leaving the contacts not actually blocked;&lt;/li&gt; &lt;li&gt;Display an error to the user;&lt;/li&gt; &lt;li&gt;Call this method again, passing &lt;code&gt;False&lt;/code&gt; for this argument.&lt;/li&gt; &lt;/ul&gt; &lt;p&gt;None of these seem preferable to the CM just ignoring this flag if it doesn't support it: that way, the contacts will be blocked, as the user requested, and UIs have fewer ways to mess up entirely.&lt;/p&gt; &lt;/tp:rationale&gt;
827 </td>
828 </tr>
829 <tr>
830 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
831 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to return errors if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
832 is returned
833 </td>
834 </tr>
835 <tr>
836 <td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
837 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set before re-entering
838 the main loop, to point to a <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a>
839 which can be used to cancel this call with
840 <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-quit"><code class="function">g_main_loop_quit()</code></a>, causing a return of
841 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em> set to <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-CANCELLED:CAPS"><code class="literal">TP_DBUS_ERROR_CANCELLED</code></a>
842 </td>
843 </tr>
844 <tr>
845 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
846 <td> TRUE on success, FALSE and sets <em class="parameter"><code>error</code></em> on error
847 </td>
848 </tr>
849 </tbody>
850 </table></div>
851 </div>
852 <hr>
853 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ()">
854 <a name="tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ()</h3>
855 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts
856 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
857 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
858 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> **out_Contacts</code></em>,
859 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
860 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);</pre>
861 <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
862 <h3 class="title">Warning</h3>
863 <p><code class="literal">tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts</code> is deprecated and should not be used in newly-written code.</p>
864 </div>
865 <p>
866 Call the method RequestBlockedContacts and run the main loop
867 until it returns. Before calling this method, you must
868 add a reference to any borrowed objects you need to keep,
869 and generally ensure that everything is in a consistent
870 state.
871 </p>
872 <p>
873 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;List the contacts that are blocked.&lt;/p&gt; &lt;p&gt;Clients SHOULD allow a relatively long timeout for calls to this method, since on some protocols contact blocking is part of the contact list, which can take a significant time to retrieve.&lt;/p&gt;
874 </p>
875 <div class="variablelist"><table border="0">
876 <col align="left" valign="top">
877 <tbody>
878 <tr>
879 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
880 <td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass
881 </td>
882 </tr>
883 <tr>
884 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
885 <td>Timeout in milliseconds, or -1 for default
886 </td>
887 </tr>
888 <tr>
889 <td><p><span class="term"><em class="parameter"><code>out_Contacts</code></em> :</span></p></td>
890 <td>Used to return an 'out' argument if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned: The blocked contacts’ handles, together with their identifiers.
891 </td>
892 </tr>
893 <tr>
894 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
895 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to return errors if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
896 is returned
897 </td>
898 </tr>
899 <tr>
900 <td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
901 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set before re-entering
902 the main loop, to point to a <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a>
903 which can be used to cancel this call with
904 <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-quit"><code class="function">g_main_loop_quit()</code></a>, causing a return of
905 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em> set to <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-CANCELLED:CAPS"><code class="literal">TP_DBUS_ERROR_CANCELLED</code></a>
906 </td>
907 </tr>
908 <tr>
909 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
910 <td> TRUE on success, FALSE and sets <em class="parameter"><code>error</code></em> on error
911 </td>
912 </tr>
913 </tbody>
914 </table></div>
915 </div>
916 <hr>
917 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_run_unblock_contacts ()">
918 <a name="tp-cli-connection-interface-contact-blocking-run-unblock-contacts"></a><h3>tp_cli_connection_interface_contact_blocking_run_unblock_contacts ()</h3>
919 <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_cli_connection_interface_contact_blocking_run_unblock_contacts
920 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
921 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
922 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
923 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
924 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a> **loop</code></em>);</pre>
925 <div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
926 <h3 class="title">Warning</h3>
927 <p><code class="literal">tp_cli_connection_interface_contact_blocking_run_unblock_contacts</code> is deprecated and should not be used in newly-written code.</p>
928 </div>
929 <p>
930 Call the method UnblockContacts and run the main loop
931 until it returns. Before calling this method, you must
932 add a reference to any borrowed objects you need to keep,
933 and generally ensure that everything is in a consistent
934 state.
935 </p>
936 <p>
937 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Direct the server to unblock some contacts.&lt;/p&gt;
938 </p>
939 <div class="variablelist"><table border="0">
940 <col align="left" valign="top">
941 <tbody>
942 <tr>
943 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
944 <td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass
945 </td>
946 </tr>
947 <tr>
948 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
949 <td>Timeout in milliseconds, or -1 for default
950 </td>
951 </tr>
952 <tr>
953 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
954 <td>Used to pass an 'in' argument: Some contacts to unblock. If some of the contacts in this list are not currently blocked, the connection manager MUST act as if they were not specified in this list.
955 </td>
956 </tr>
957 <tr>
958 <td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
959 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to return errors if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>
960 is returned
961 </td>
962 </tr>
963 <tr>
964 <td><p><span class="term"><em class="parameter"><code>loop</code></em> :</span></p></td>
965 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set before re-entering
966 the main loop, to point to a <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#GMainLoop"><span class="type">GMainLoop</span></a>
967 which can be used to cancel this call with
968 <a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-quit"><code class="function">g_main_loop_quit()</code></a>, causing a return of
969 <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with <em class="parameter"><code>error</code></em> set to <a class="link" href="telepathy-glib-proxy.html#TP-DBUS-ERROR-CANCELLED:CAPS"><code class="literal">TP_DBUS_ERROR_CANCELLED</code></a>
970 </td>
971 </tr>
972 <tr>
973 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
974 <td> TRUE on success, FALSE and sets <em class="parameter"><code>error</code></em> on error
975 </td>
976 </tr>
977 </tbody>
978 </table></div>
979 </div>
980 <hr>
981 <div class="refsect2" title="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()">
982 <a name="tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed"></a><h3>tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()</h3>
983 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed)
984 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
985 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Blocked_Contacts</code></em>,
986 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Unblocked_Contacts</code></em>,
987 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
988 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
989 <p>
990 Represents the signature of a callback for the signal BlockedContactsChanged.
991 </p>
992 <div class="variablelist"><table border="0">
993 <col align="left" valign="top">
994 <tbody>
995 <tr>
996 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
997 <td>The proxy on which <a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed" title="tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()"><code class="function">tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed()</code></a>
998 was called
999 </td>
1000 </tr>
1001 <tr>
1002 <td><p><span class="term"><em class="parameter"><code>arg_Blocked_Contacts</code></em> :</span></p></td>
1003 <td>Contacts added to the result of &lt;tp:member-ref&gt;RequestBlockedContacts&lt;/tp:member-ref&gt;.
1004 </td>
1005 </tr>
1006 <tr>
1007 <td><p><span class="term"><em class="parameter"><code>arg_Unblocked_Contacts</code></em> :</span></p></td>
1008 <td>Contacts removed from the result of &lt;tp:member-ref&gt;RequestBlockedContacts&lt;/tp:member-ref&gt;.
1009 </td>
1010 </tr>
1011 <tr>
1012 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1013 <td>User-supplied data
1014 </td>
1015 </tr>
1016 <tr>
1017 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1018 <td>User-supplied weakly referenced object
1019 </td>
1020 </tr>
1021 </tbody>
1022 </table></div>
1023 </div>
1024 <hr>
1025 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_add_to_group ()">
1026 <a name="tp-cli-connection-interface-contact-groups-call-add-to-group"></a><h3>tp_cli_connection_interface_contact_groups_call_add_to_group ()</h3>
1027 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_add_to_group
1028 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
1029 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1030 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
1031 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
1032 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-add-to-group" title="tp_cli_connection_interface_contact_groups_callback_for_add_to_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_add_to_group</span></a> callback</code></em>,
1033 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1034 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1035 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1036 <p>
1037 Start a AddToGroup method call.
1038 </p>
1039 <p>
1040 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given members to the given group, creating it if necessary.&lt;/p&gt; &lt;p&gt;If &lt;tp:member-ref&gt;DisjointGroups&lt;/tp:member-ref&gt; is true, this will also remove each member from their previous group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is good for user interfaces in which you can edit groups via drag-and-drop.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
5501041 </p>
5511042 <div class="variablelist"><table border="0">
5521043 <col align="left" valign="top">
5631054 </td>
5641055 </tr>
5651056 <tr>
566 <td><p><span class="term"><em class="parameter"><code>in_Old_Name</code></em> :</span></p></td>
567 <td>Used to pass an 'in' argument: The group to rename.
568 </td>
569 </tr>
570 <tr>
571 <td><p><span class="term"><em class="parameter"><code>in_New_Name</code></em> :</span></p></td>
572 <td>Used to pass an 'in' argument: The new name for the group.
1057 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
1058 <td>Used to pass an 'in' argument: The group to alter.
1059 </td>
1060 </tr>
1061 <tr>
1062 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
1063 <td>Used to pass an 'in' argument: The set of members to include in the group.
5731064 </td>
5741065 </tr>
5751066 <tr>
6121103 </table></div>
6131104 </div>
6141105 <hr>
615 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_set_contact_groups ()">
616 <a name="tp-cli-connection-interface-contact-groups-call-set-contact-groups"></a><h3>tp_cli_connection_interface_contact_groups_call_set_contact_groups ()</h3>
617 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_set_contact_groups
618 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
619 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
620 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Contact</code></em>,
621 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **in_Groups</code></em>,
622 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-set-contact-groups" title="tp_cli_connection_interface_contact_groups_callback_for_set_contact_groups ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_set_contact_groups</span></a> callback</code></em>,
623 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
624 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
625 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
626 <p>
627 Start a SetContactGroups method call.
628 </p>
629 <p>
630 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given contact to the given groups (creating new groups if necessary), and remove them from all other groups.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is the easiest and most correct way to implement user interfaces that display a single contact with a list of groups, resulting in a user expectation that when they apply the changes, the contact's set of groups will become exactly what was displayed.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;If the user is removed from a group of which they were the only member, the group MAY be removed automatically.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;In protocols like XMPP where groups behave like tags, a group with no members has no protocol representation.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
1106 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_remove_from_group ()">
1107 <a name="tp-cli-connection-interface-contact-groups-call-remove-from-group"></a><h3>tp_cli_connection_interface_contact_groups_call_remove_from_group ()</h3>
1108 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_remove_from_group
1109 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
1110 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1111 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
1112 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
1113 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-remove-from-group" title="tp_cli_connection_interface_contact_groups_callback_for_remove_from_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_remove_from_group</span></a> callback</code></em>,
1114 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1115 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1116 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1117 <p>
1118 Start a RemoveFromGroup method call.
1119 </p>
1120 <p>
1121 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Remove the given members from the given group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is good for user interfaces in which you can edit groups via drag-and-drop.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
6311122 </p>
6321123 <div class="variablelist"><table border="0">
6331124 <col align="left" valign="top">
6441135 </td>
6451136 </tr>
6461137 <tr>
647 <td><p><span class="term"><em class="parameter"><code>in_Contact</code></em> :</span></p></td>
648 <td>Used to pass an 'in' argument: The contact to alter.
649 </td>
650 </tr>
651 <tr>
652 <td><p><span class="term"><em class="parameter"><code>in_Groups</code></em> :</span></p></td>
653 <td>Used to pass an 'in' argument: The set of groups which the contact should be in.
1138 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
1139 <td>Used to pass an 'in' argument: The group to alter. If it does not exist, then it has no members by definition, so this method SHOULD return successfully.
1140 </td>
1141 </tr>
1142 <tr>
1143 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
1144 <td>Used to pass an 'in' argument: The set of members to remove from the group. It is not an error to remove members who are already not in the group. If there are no members left in the group afterwards, the group MAY itself be removed.
6541145 </td>
6551146 </tr>
6561147 <tr>
6931184 </table></div>
6941185 </div>
6951186 <hr>
696 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_set_group_members ()">
697 <a name="tp-cli-connection-interface-contact-groups-call-set-group-members"></a><h3>tp_cli_connection_interface_contact_groups_call_set_group_members ()</h3>
698 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_set_group_members
1187 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_remove_group ()">
1188 <a name="tp-cli-connection-interface-contact-groups-call-remove-group"></a><h3>tp_cli_connection_interface_contact_groups_call_remove_group ()</h3>
1189 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_remove_group
6991190 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
7001191 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
7011192 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
702 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
703 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-set-group-members" title="tp_cli_connection_interface_contact_groups_callback_for_set_group_members ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_set_group_members</span></a> callback</code></em>,
704 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
705 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
706 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
707 <p>
708 Start a SetGroupMembers method call.
709 </p>
710 <p>
711 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given members to the given group (creating it if necessary), and remove all other members.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is the easiest and most correct way to implement user interfaces that display a single group with a list of contacts, resulting in a user expectation that when they apply the changes, the groups's set of members will become exactly what was displayed.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;If &lt;tp:member-ref&gt;DisjointGroups&lt;/tp:member-ref&gt; is true, this will also remove each member from their previous group.&lt;/p&gt; &lt;p&gt;If the user is removed from a group of which they were the only member, the group MAY be removed automatically.&lt;/p&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
1193 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-remove-group" title="tp_cli_connection_interface_contact_groups_callback_for_remove_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_remove_group</span></a> callback</code></em>,
1194 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1195 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1196 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1197 <p>
1198 Start a RemoveGroup method call.
1199 </p>
1200 <p>
1201 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Remove all members from the given group, then remove the group itself. If the group already does not exist, this method SHOULD return successfully.&lt;/p&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
7121202 </p>
7131203 <div class="variablelist"><table border="0">
7141204 <col align="left" valign="top">
7261216 </tr>
7271217 <tr>
7281218 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
729 <td>Used to pass an 'in' argument: The group to alter.
730 </td>
731 </tr>
732 <tr>
733 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
734 <td>Used to pass an 'in' argument: The set of members for the group. If this set is empty, this method MAY remove the group.
1219 <td>Used to pass an 'in' argument: The group to remove.
7351220 </td>
7361221 </tr>
7371222 <tr>
7741259 </table></div>
7751260 </div>
7761261 <hr>
1262 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_rename_group ()">
1263 <a name="tp-cli-connection-interface-contact-groups-call-rename-group"></a><h3>tp_cli_connection_interface_contact_groups_call_rename_group ()</h3>
1264 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_rename_group
1265 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
1266 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1267 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Old_Name</code></em>,
1268 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_New_Name</code></em>,
1269 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-rename-group" title="tp_cli_connection_interface_contact_groups_callback_for_rename_group ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_rename_group</span></a> callback</code></em>,
1270 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1271 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1272 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1273 <p>
1274 Start a RenameGroup method call.
1275 </p>
1276 <p>
1277 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Rename the given group.&lt;/p&gt; &lt;p&gt;On protocols where groups behave like tags, this is an API short-cut for adding all of the group's members to a group with the new name, then removing the old group.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;Otherwise, clients can't perform this operation atomically, even if the connection could.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupRenamed&lt;/tp:member-ref&gt; or &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
1278 </p>
1279 <div class="variablelist"><table border="0">
1280 <col align="left" valign="top">
1281 <tbody>
1282 <tr>
1283 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1284 <td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
1285 </td>
1286 </tr>
1287 <tr>
1288 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
1289 <td>the timeout in milliseconds, or -1 to use the
1290 default
1291 </td>
1292 </tr>
1293 <tr>
1294 <td><p><span class="term"><em class="parameter"><code>in_Old_Name</code></em> :</span></p></td>
1295 <td>Used to pass an 'in' argument: The group to rename.
1296 </td>
1297 </tr>
1298 <tr>
1299 <td><p><span class="term"><em class="parameter"><code>in_New_Name</code></em> :</span></p></td>
1300 <td>Used to pass an 'in' argument: The new name for the group.
1301 </td>
1302 </tr>
1303 <tr>
1304 <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1305 <td>called when the method call succeeds or fails;
1306 may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1307 reply tracking
1308 </td>
1309 </tr>
1310 <tr>
1311 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1312 <td>user-supplied data passed to the callback;
1313 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1314 </td>
1315 </tr>
1316 <tr>
1317 <td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1318 <td>called with the user_data as argument, after the
1319 call has succeeded, failed or been cancelled;
1320 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1321 </td>
1322 </tr>
1323 <tr>
1324 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1325 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1326 weakly referenced; if it is destroyed, this call
1327 will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1328 <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1329 </td>
1330 </tr>
1331 <tr>
1332 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1333 <td> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1334 progress. It is borrowed from the object, and will become
1335 invalid when the callback is called, the call is
1336 cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.
1337 </td>
1338 </tr>
1339 </tbody>
1340 </table></div>
1341 </div>
1342 <hr>
1343 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_set_contact_groups ()">
1344 <a name="tp-cli-connection-interface-contact-groups-call-set-contact-groups"></a><h3>tp_cli_connection_interface_contact_groups_call_set_contact_groups ()</h3>
1345 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_set_contact_groups
1346 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
1347 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1348 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> in_Contact</code></em>,
1349 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **in_Groups</code></em>,
1350 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-set-contact-groups" title="tp_cli_connection_interface_contact_groups_callback_for_set_contact_groups ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_set_contact_groups</span></a> callback</code></em>,
1351 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1352 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1353 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1354 <p>
1355 Start a SetContactGroups method call.
1356 </p>
1357 <p>
1358 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given contact to the given groups (creating new groups if necessary), and remove them from all other groups.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is the easiest and most correct way to implement user interfaces that display a single contact with a list of groups, resulting in a user expectation that when they apply the changes, the contact's set of groups will become exactly what was displayed.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;If the user is removed from a group of which they were the only member, the group MAY be removed automatically.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;In protocols like XMPP where groups behave like tags, a group with no members has no protocol representation.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
1359 </p>
1360 <div class="variablelist"><table border="0">
1361 <col align="left" valign="top">
1362 <tbody>
1363 <tr>
1364 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1365 <td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
1366 </td>
1367 </tr>
1368 <tr>
1369 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
1370 <td>the timeout in milliseconds, or -1 to use the
1371 default
1372 </td>
1373 </tr>
1374 <tr>
1375 <td><p><span class="term"><em class="parameter"><code>in_Contact</code></em> :</span></p></td>
1376 <td>Used to pass an 'in' argument: The contact to alter.
1377 </td>
1378 </tr>
1379 <tr>
1380 <td><p><span class="term"><em class="parameter"><code>in_Groups</code></em> :</span></p></td>
1381 <td>Used to pass an 'in' argument: The set of groups which the contact should be in.
1382 </td>
1383 </tr>
1384 <tr>
1385 <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1386 <td>called when the method call succeeds or fails;
1387 may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1388 reply tracking
1389 </td>
1390 </tr>
1391 <tr>
1392 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1393 <td>user-supplied data passed to the callback;
1394 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1395 </td>
1396 </tr>
1397 <tr>
1398 <td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1399 <td>called with the user_data as argument, after the
1400 call has succeeded, failed or been cancelled;
1401 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1402 </td>
1403 </tr>
1404 <tr>
1405 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1406 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1407 weakly referenced; if it is destroyed, this call
1408 will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1409 <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1410 </td>
1411 </tr>
1412 <tr>
1413 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1414 <td> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1415 progress. It is borrowed from the object, and will become
1416 invalid when the callback is called, the call is
1417 cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.
1418 </td>
1419 </tr>
1420 </tbody>
1421 </table></div>
1422 </div>
1423 <hr>
1424 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_call_set_group_members ()">
1425 <a name="tp-cli-connection-interface-contact-groups-call-set-group-members"></a><h3>tp_cli_connection_interface_contact_groups_call_set_group_members ()</h3>
1426 <pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_groups_call_set_group_members
1427 (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
1428 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
1429 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Group</code></em>,
1430 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Members</code></em>,
1431 <em class="parameter"><code><a class="link" href="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-callback-for-set-group-members" title="tp_cli_connection_interface_contact_groups_callback_for_set_group_members ()"><span class="type">tp_cli_connection_interface_contact_groups_callback_for_set_group_members</span></a> callback</code></em>,
1432 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
1433 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
1434 <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
1435 <p>
1436 Start a SetGroupMembers method call.
1437 </p>
1438 <p>
1439 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Add the given members to the given group (creating it if necessary), and remove all other members.&lt;/p&gt; &lt;tp:rationale&gt; &lt;p&gt;This is the easiest and most correct way to implement user interfaces that display a single group with a list of contacts, resulting in a user expectation that when they apply the changes, the groups's set of members will become exactly what was displayed.&lt;/p&gt; &lt;/tp:rationale&gt; &lt;p&gt;If &lt;tp:member-ref&gt;DisjointGroups&lt;/tp:member-ref&gt; is true, this will also remove each member from their previous group.&lt;/p&gt; &lt;p&gt;If the user is removed from a group of which they were the only member, the group MAY be removed automatically.&lt;/p&gt; &lt;p&gt;Any &lt;tp:member-ref&gt;GroupsCreated&lt;/tp:member-ref&gt;, &lt;tp:member-ref&gt;GroupsChanged&lt;/tp:member-ref&gt; and &lt;tp:member-ref&gt;GroupsRemoved&lt;/tp:member-ref&gt; signals that result from this method call MUST be emitted before the method returns.&lt;/p&gt; &lt;p&gt;This method SHOULD NOT be called until the &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;ContactListState&lt;/tp:dbus-ref&gt; changes to Success. If the ContactListState is Failure, this method SHOULD raise the same error as &lt;tp:dbus-ref namespace="ofdT.Connection.Interface.ContactList"&gt;GetContactListAttributes&lt;/tp:dbus-ref&gt;.&lt;/p&gt;
1440 </p>
1441 <div class="variablelist"><table border="0">
1442 <col align="left" valign="top">
1443 <tbody>
1444 <tr>
1445 <td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
1446 <td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
1447 </td>
1448 </tr>
1449 <tr>
1450 <td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
1451 <td>the timeout in milliseconds, or -1 to use the
1452 default
1453 </td>
1454 </tr>
1455 <tr>
1456 <td><p><span class="term"><em class="parameter"><code>in_Group</code></em> :</span></p></td>
1457 <td>Used to pass an 'in' argument: The group to alter.
1458 </td>
1459 </tr>
1460 <tr>
1461 <td><p><span class="term"><em class="parameter"><code>in_Members</code></em> :</span></p></td>
1462 <td>Used to pass an 'in' argument: The set of members for the group. If this set is empty, this method MAY remove the group.
1463 </td>
1464 </tr>
1465 <tr>
1466 <td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1467 <td>called when the method call succeeds or fails;
1468 may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
1469 reply tracking
1470 </td>
1471 </tr>
1472 <tr>
1473 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1474 <td>user-supplied data passed to the callback;
1475 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1476 </td>
1477 </tr>
1478 <tr>
1479 <td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
1480 <td>called with the user_data as argument, after the
1481 call has succeeded, failed or been cancelled;
1482 must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1483 </td>
1484 </tr>
1485 <tr>
1486 <td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
1487 <td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
1488 weakly referenced; if it is destroyed, this call
1489 will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
1490 <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1491 </td>
1492 </tr>
1493 <tr>
1494 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1495 <td> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
1496 progress. It is borrowed from the object, and will become
1497 invalid when the callback is called, the call is
1498 cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.
1499 </td>
1500 </tr>
1501 </tbody>
1502 </table></div>
1503 </div>
1504 <hr>
7771505 <div class="refsect2" title="tp_cli_connection_interface_contact_groups_callback_for_add_to_group ()">
7781506 <a name="tp-cli-connection-interface-contact-groups-callback-for-add-to-group"></a><h3>tp_cli_connection_interface_contact_groups_callback_for_add_to_group ()</h3>
7791507 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_cli_connection_interface_contact_groups_callback_for_add_to_group)
54575457 </tr>
54585458 <tr>
54595459 <td><p><span class="term"><em class="parameter"><code>arg_Details</code></em> :</span></p></td>
5460 <td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Additional information about the error, which may include the following well-known keys:&lt;/p&gt; &lt;dl&gt; &lt;dt&gt;debug-message (s)&lt;/dt&gt; &lt;dd&gt;Debugging information on the change, corresponding to the message part of a D-Bus error message, which SHOULD NOT be displayed to users under normal circumstances&lt;/dd&gt; &lt;dt&gt;user-requested (b), expected-hostname (s), certificate-hostname (s)&lt;/dt&gt; &lt;dd&gt;The same details defined in &lt;tp:type&gt;TLS_Certificate_Rejection&lt;/tp:type&gt;.&lt;/dd&gt; &lt;/dl&gt;
5460 <td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;Additional information about the error, which may include the following well-known keys:&lt;/p&gt; &lt;dl&gt; &lt;dt&gt;debug-message (s)&lt;/dt&gt; &lt;dd&gt;Debugging information on the change, corresponding to the message part of a D-Bus error message, which SHOULD NOT be displayed to users under normal circumstances&lt;/dd&gt; &lt;dt&gt;server-message (s)&lt;/dt&gt; &lt;dd&gt;A human-readable message from the server explaining what happened. This may be in the user's native language, or in the server operator's native language, or even in Lojban.&lt;/dd&gt; &lt;dt&gt;user-requested (b), expected-hostname (s), certificate-hostname (s)&lt;/dt&gt; &lt;dd&gt;The same details defined in &lt;tp:type&gt;TLS_Certificate_Rejection&lt;/tp:type&gt;.&lt;/dd&gt; &lt;/dl&gt;
54615461 </td>
54625462 </tr>
54635463 <tr>
862862 </tr>
863863 <tr>
864864 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
865 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-dbus-gobject.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is a copy
865 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is a copy
866866 of <em class="parameter"><code>path</code></em>, to be freed with <a class="link" href="telepathy-glib-util.html#tp-g-value-slice-free" title="tp_g_value_slice_free ()"><code class="function">tp_g_value_slice_free()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Slices.html#g-slice-free"><code class="function">g_slice_free()</code></a>
867867
868868 </td>
891891 </tr>
892892 <tr>
893893 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
894 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-dbus-gobject.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is <em class="parameter"><code>path</code></em>,
894 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is <em class="parameter"><code>path</code></em>,
895895 to be freed with <a class="link" href="telepathy-glib-util.html#tp-g-value-slice-free" title="tp_g_value_slice_free ()"><code class="function">tp_g_value_slice_free()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Slices.html#g-slice-free"><code class="function">g_slice_free()</code></a>
896896
897897 </td>
922922 </tr>
923923 <tr>
924924 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
925 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-dbus-gobject.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is <em class="parameter"><code>path</code></em>,
925 <td> a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a> of type <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBUS-TYPE-G-OBJECT-PATH:CAPS"><code class="literal">DBUS_TYPE_G_OBJECT_PATH</code></a> whose value is <em class="parameter"><code>path</code></em>,
926926 to be freed with <a class="link" href="telepathy-glib-util.html#tp-g-value-slice-free" title="tp_g_value_slice_free ()"><code class="function">tp_g_value_slice_free()</code></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Slices.html#g-slice-free"><code class="function">g_slice_free()</code></a>
927927
928928 </td>
335335 <p>
336336 An example of its usage, taking in mind the notes above, follows:
337337 </p>
338 <div class="informalexample"><pre class="programlisting">
339 /* Create a main loop and debug sender */
340 GMainLoop *loop = g_main_loop_new (NULL, FALSE);
341 TpDebugSender *sender = tp_debug_sender_dup ();
342
343 /* Set the default handler */
344 g_log_set_default_handler (tp_debug_sender_log_handler, G_LOG_DOMAIN);
345
346 /* Run the main loop, but keeping a ref on the TpDebugSender from
347 * the beginning of this code sample. */
348 g_main_loop_run (loop);
349
350 /* g_main_loop_quit was called, so only now can we clean up the
351 * TpDebugSender. */
352 g_object_unref (sender);
353 </pre></div>
338 <div class="informalexample">
339 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
340 <tbody>
341 <tr>
342 <td class="listing_lines" align="right"><pre>1
343 2
344 3
345 4
346 5
347 6
348 7
349 8
350 9
351 10
352 11
353 12
354 13
355 14</pre></td>
356 <td class="listing_code"><pre class="programlisting"><span class="comment">/* Create a main loop and debug sender */</span>
357 GMainLoop <span class="symbol">*</span>loop <span class="symbol">=</span> <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-new">g_main_loop_new</a></span> <span class="symbol">(</span>NULL<span class="symbol">,</span> FALSE<span class="symbol">);</span>
358 TpDebugSender <span class="symbol">*</span>sender <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-debug-sender.html#tp-debug-sender-dup">tp_debug_sender_dup</a></span> <span class="symbol">();</span>
359
360 <span class="comment">/* Set the default handler */</span>
361 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-log-set-default-handler">g_log_set_default_handler</a></span> <span class="symbol">(</span>tp_debug_sender_log_handler<span class="symbol">,</span> G_LOG_DOMAIN<span class="symbol">);</span>
362
363 <span class="comment">/* Run the main loop, but keeping a ref on the TpDebugSender from</span>
364 <span class="comment"> * the beginning of this code sample. */</span>
365 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-The-Main-Event-Loop.html#g-main-loop-run">g_main_loop_run</a></span> <span class="symbol">(</span>loop<span class="symbol">);</span>
366
367 <span class="comment">/* g_main_loop_quit was called, so only now can we clean up the</span>
368 <span class="comment"> * TpDebugSender. */</span>
369 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref">g_object_unref</a></span> <span class="symbol">(</span>sender<span class="symbol">);</span></pre></td>
370 </tr>
371 </tbody>
372 </table>
373 </div>
374
354375 <p>
355376 </p>
356377 <p>
206206 </p>
207207 <p>
208208 </p>
209 <div class="informalexample"><pre class="programlisting">if (g_getenv ("MYPROG_TIMING") != NULL)
210 g_log_set_default_handler (tp_debug_timestamped_log_handler, NULL);
211 </pre></div>
209 <div class="informalexample">
210 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
211 <tbody>
212 <tr>
213 <td class="listing_lines" align="right"><pre>1
214 2</pre></td>
215 <td class="listing_code"><pre class="programlisting"><span class="keyword">if</span> <span class="symbol">(</span><span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Miscellaneous-Utility-Functions.html#g-getenv">g_getenv</a></span> <span class="symbol">(</span><span class="string">&quot;MYPROG_TIMING&quot;</span><span class="symbol">) !=</span> NULL<span class="symbol">)</span>
216 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#g-log-set-default-handler">g_log_set_default_handler</a></span> <span class="symbol">(</span>tp_debug_timestamped_log_handler<span class="symbol">,</span> NULL<span class="symbol">);</span></pre></td>
217 </tr>
218 </tbody>
219 </table>
220 </div>
221
212222 <p>
213223 </p>
214224 <p>
198198 The "user action time" used by methods like
199199 <a class="link" href="telepathy-glib-account-channel-request.html#tp-account-channel-request-new" title="tp_account_channel_request_new ()"><code class="function">tp_account_channel_request_new()</code></a> to represent channel requests that should
200200 be treated as though they happened at the current time. This is the same
201 concept as <a href="http://library.gnome.org/devel/gdk/unstable/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a> in Gdk (but note that the numerical value used
201 concept as <a href="/usr/share/gtk-doc/html/gdk/gdk-Events.html#GDK-CURRENT-TIME:CAPS"><code class="literal">GDK_CURRENT_TIME</code></a> in Gdk (but note that the numerical value used
202202 in Telepathy is not the same).
203203 </p>
204204 <p>
7272 enum <a class="link" href="telepathy-glib-enums.html#TpChannelGroupChangeReason" title="enum TpChannelGroupChangeReason">TpChannelGroupChangeReason</a>;
7373 #define <a class="link" href="telepathy-glib-enums.html#NUM-TP-CHANNEL-GROUP-CHANGE-REASONS:CAPS" title="NUM_TP_CHANNEL_GROUP_CHANGE_REASONS">NUM_TP_CHANNEL_GROUP_CHANGE_REASONS</a>
7474 enum <a class="link" href="telepathy-glib-enums.html#TpChannelPasswordFlags" title="enum TpChannelPasswordFlags">TpChannelPasswordFlags</a>;
75 enum <a class="link" href="telepathy-glib-enums.html#TpContactBlockingCapabilities" title="enum TpContactBlockingCapabilities">TpContactBlockingCapabilities</a>;
7576 enum <a class="link" href="telepathy-glib-enums.html#TpDeliveryReportingSupportFlags" title="enum TpDeliveryReportingSupportFlags">TpDeliveryReportingSupportFlags</a>;
7677 enum <a class="link" href="telepathy-glib-enums.html#TpDeliveryStatus" title="enum TpDeliveryStatus">TpDeliveryStatus</a>;
7778 #define <a class="link" href="telepathy-glib-enums.html#NUM-TP-DELIVERY-STATUSES:CAPS" title="NUM_TP_DELIVERY_STATUSES">NUM_TP_DELIVERY_STATUSES</a>
13351336 </table></div>
13361337 </div>
13371338 <hr>
1339 <div class="refsect2" title="enum TpContactBlockingCapabilities">
1340 <a name="TpContactBlockingCapabilities"></a><h3>enum TpContactBlockingCapabilities</h3>
1341 <pre class="programlisting">typedef enum /*&lt; flags &gt;*/ {
1342 TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE = 1,
1343 } TpContactBlockingCapabilities;
1344 </pre>
1345 <p>
1346 Bitfield/set of flags generated from the Telepathy specification.
1347 </p>
1348 <div class="variablelist"><table border="0">
1349 <col align="left" valign="top">
1350 <tbody><tr>
1351 <td><p><a name="TP-CONTACT-BLOCKING-CAPABILITY-CAN-REPORT-ABUSIVE:CAPS"></a><span class="term"><code class="literal">TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE</code></span></p></td>
1352 <td> When calling BlockContacts, the contacts may be reporting as abusive to the server administrators by setting Report_Abusive to True.
1353 </td>
1354 </tr></tbody>
1355 </table></div>
1356 </div>
1357 <hr>
13381358 <div class="refsect2" title="enum TpDeliveryReportingSupportFlags">
13391359 <a name="TpDeliveryReportingSupportFlags"></a><h3>enum TpDeliveryReportingSupportFlags</h3>
13401360 <pre class="programlisting">typedef enum /*&lt; flags &gt;*/ {
9292 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-GROUPS:CAPS" title="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_GROUPS">TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_GROUPS</a>
9393 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-POWER-SAVING:CAPS" title="TP_IFACE_CONNECTION_INTERFACE_POWER_SAVING">TP_IFACE_CONNECTION_INTERFACE_POWER_SAVING</a>
9494 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-POWER-SAVING:CAPS" title="TP_IFACE_QUARK_CONNECTION_INTERFACE_POWER_SAVING">TP_IFACE_QUARK_CONNECTION_INTERFACE_POWER_SAVING</a>
95 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS" title="TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING">TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING</a>
96 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS" title="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING">TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING</a>
9597 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS" title="TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO">TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO</a>
9698 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-INFO:CAPS" title="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_INFO">TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_INFO</a>
9799 #define <a class="link" href="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-LIST:CAPS" title="TP_IFACE_CONNECTION_INTERFACE_CONTACT_LIST">TP_IFACE_CONNECTION_INTERFACE_CONTACT_LIST</a>
310312 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-FILE-TRANSFER-URI:CAPS" title="TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI">TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI</a>
311313 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-ROOM-LIST-SERVER:CAPS" title="TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER">TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER</a>
312314 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-HOSTNAME:CAPS" title="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME">TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME</a>
315 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS" title="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES">TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES</a>
313316 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS" title="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE">TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE</a>
314317 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-IMMUTABLE-STREAMS:CAPS" title="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_IMMUTABLE_STREAMS">TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_IMMUTABLE_STREAMS</a>
315318 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-INITIAL-AUDIO:CAPS" title="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO">TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO</a>
345348 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-MESSAGE-VALIDITY-PERIOD:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CELLULAR_MESSAGE_VALIDITY_PERIOD">TP_PROP_CONNECTION_INTERFACE_CELLULAR_MESSAGE_VALIDITY_PERIOD</a>
346349 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-OVERRIDE-MESSAGE-SERVICE-CENTRE:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CELLULAR_OVERRIDE_MESSAGE_SERVICE_CENTRE">TP_PROP_CONNECTION_INTERFACE_CELLULAR_OVERRIDE_MESSAGE_SERVICE_CENTRE</a>
347350 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACTS-CONTACT-ATTRIBUTE-INTERFACES:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES">TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES</a>
351 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES">TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES</a>
348352 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS">TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS</a>
349353 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS">TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS</a>
350354 #define <a class="link" href="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUP-STORAGE:CAPS" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUP_STORAGE">TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUP_STORAGE</a>
398402 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-AVATARS-TOKEN:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_AVATARS_TOKEN">TP_TOKEN_CONNECTION_INTERFACE_AVATARS_TOKEN</a>
399403 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CAPABILITIES-CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CAPABILITIES_CAPS">TP_TOKEN_CONNECTION_INTERFACE_CAPABILITIES_CAPS</a>
400404 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CLIENT-TYPES-CLIENT-TYPES:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CLIENT_TYPES_CLIENT_TYPES">TP_TOKEN_CONNECTION_INTERFACE_CLIENT_TYPES_CLIENT_TYPES</a>
405 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED">TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED</a>
401406 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES">TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES</a>
402407 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS">TP_TOKEN_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS</a>
403408 #define <a class="link" href="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-INFO-INFO:CAPS" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_INFO_INFO">TP_TOKEN_CONNECTION_INTERFACE_CONTACT_INFO_INFO</a>
859864 </p>
860865 </div>
861866 <hr>
867 <div class="refsect2" title="TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING">
868 <a name="TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"></a><h3>TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING</h3>
869 <pre class="programlisting">#define TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING</pre>
870 <p>
871 The interface name "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking"
872 </p>
873 </div>
874 <hr>
875 <div class="refsect2" title="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING">
876 <a name="TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"></a><h3>TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING</h3>
877 <pre class="programlisting">#define TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING</pre>
878 <p>
879 Expands to a call to a function that returns a quark for the interface name "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking"
880 </p>
881 </div>
882 <hr>
862883 <div class="refsect2" title="TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO">
863884 <a name="TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS"></a><h3>TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO</h3>
864885 <pre class="programlisting">#define TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO</pre>
26032624 </p>
26042625 </div>
26052626 <hr>
2627 <div class="refsect2" title="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES">
2628 <a name="TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS"></a><h3>TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES</h3>
2629 <pre class="programlisting">#define TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES</pre>
2630 <p>
2631 The fully-qualified property name "org.freedesktop.Telepathy.Channel.Type.ServerTLSConnection.ReferenceIdentities"
2632 </p>
2633 </div>
2634 <hr>
26062635 <div class="refsect2" title="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE">
26072636 <a name="TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS"></a><h3>TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE</h3>
26082637 <pre class="programlisting">#define TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE</pre>
28832912 </p>
28842913 </div>
28852914 <hr>
2915 <div class="refsect2" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES">
2916 <a name="TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS"></a><h3>TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES</h3>
2917 <pre class="programlisting">#define TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES</pre>
2918 <p>
2919 The fully-qualified property name "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking.ContactBlockingCapabilities"
2920 </p>
2921 </div>
2922 <hr>
28862923 <div class="refsect2" title="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS">
28872924 <a name="TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS"></a><h3>TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS</h3>
28882925 <pre class="programlisting">#define TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS</pre>
33073344 </p>
33083345 </div>
33093346 <hr>
3347 <div class="refsect2" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED">
3348 <a name="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS"></a><h3>TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED</h3>
3349 <pre class="programlisting">#define TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED</pre>
3350 <p>
3351 The fully-qualified contact attribute token name "org.freedesktop.Telepathy.Connection.Interface.ContactBlocking/blocked"
3352 </p>
3353 </div>
3354 <hr>
33103355 <div class="refsect2" title="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES">
33113356 <a name="TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS"></a><h3>TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES</h3>
33123357 <pre class="programlisting">#define TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES</pre>
351351 </p>
352352 <p>
353353 </p>
354 <div class="informalexample"><pre class="programlisting">
355 TpChannel *channel = ...;
356
357 tp_proxy_prepare_async (channel, NULL, callback, user_data);
358 </pre></div>
354 <div class="informalexample">
355 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
356 <tbody>
357 <tr>
358 <td class="listing_lines" align="right"><pre>1
359 2
360 3</pre></td>
361 <td class="listing_code"><pre class="programlisting">TpChannel <span class="symbol">*</span>channel <span class="symbol">= ...;</span>
362
363 <span class="function"><a href="telepathy-glib-proxy.html#tp-proxy-prepare-async">tp_proxy_prepare_async</a></span> <span class="symbol">(</span>channel<span class="symbol">,</span> NULL<span class="symbol">,</span> callback<span class="symbol">,</span> user_data<span class="symbol">);</span></pre></td>
364 </tr>
365 </tbody>
366 </table>
367 </div>
368
359369 <p>
360370 </p>
361371 <p>
363373 </p>
364374 <p>
365375 </p>
366 <div class="informalexample"><pre class="programlisting">
367 TpChannel *channel = ...;
368 GQuark features[] = { TP_CHANNEL_FEATURE_CORE, 0 };
369
370 tp_proxy_prepare_async (channel, features, callback, user_data);
371 </pre></div>
376 <div class="informalexample">
377 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
378 <tbody>
379 <tr>
380 <td class="listing_lines" align="right"><pre>1
381 2
382 3
383 4</pre></td>
384 <td class="listing_code"><pre class="programlisting">TpChannel <span class="symbol">*</span>channel <span class="symbol">= ...;</span>
385 GQuark features<span class="symbol">[] = {</span> TP_CHANNEL_FEATURE_CORE<span class="symbol">,</span> <span class="number">0</span> <span class="symbol">};</span>
386
387 <span class="function"><a href="telepathy-glib-proxy.html#tp-proxy-prepare-async">tp_proxy_prepare_async</a></span> <span class="symbol">(</span>channel<span class="symbol">,</span> features<span class="symbol">,</span> callback<span class="symbol">,</span> user_data<span class="symbol">);</span></pre></td>
388 </tr>
389 </tbody>
390 </table>
391 </div>
392
372393 <p>
373394 </p>
374395 <p>
100100 <p>
101101 A typical simple approver would look liks this:
102102 </p>
103 <div class="informalexample"><pre class="programlisting">
104 static void
105 my_add_dispatch_operation (TpSimpleApprover *approver,
106 TpAccount *account,
107 TpConnection *connection,
108 GList *channels,
109 TpChannelDispatchOperation *dispatch_operation,
110 TpAddDispatchOperationContext *context,
111 gpointer user_data)
112 {
113 /* call tp_channel_dispatch_operation_handle_with_async()
114 if wanting to approve the channels */
115
116 tp_add_dispatch_operation_context_accept (context);
117 }
118
119 client = tp_simple_approver_new (dbus, "MyApprover", FALSE,
120 my_add_dispatch_operation, user_data);
121
122 tp_base_client_take_approver_filter (client, tp_asv_new (
123 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_TEXT,
124 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
125 NULL));
126
127 tp_base_client_register (client, NULL);
128 </pre></div>
103 <div class="informalexample">
104 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
105 <tbody>
106 <tr>
107 <td class="listing_lines" align="right"><pre>1
108 2
109 3
110 4
111 5
112 6
113 7
114 8
115 9
116 10
117 11
118 12
119 13
120 14
121 15
122 16
123 17
124 18
125 19
126 20
127 21
128 22
129 23
130 24</pre></td>
131 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
132 <span class="function">my_add_dispatch_operation</span> <span class="symbol">(</span>TpSimpleApprover <span class="symbol">*</span>approver<span class="symbol">,</span>
133 TpAccount <span class="symbol">*</span>account<span class="symbol">,</span>
134 TpConnection <span class="symbol">*</span>connection<span class="symbol">,</span>
135 GList <span class="symbol">*</span>channels<span class="symbol">,</span>
136 TpChannelDispatchOperation <span class="symbol">*</span>dispatch_operation<span class="symbol">,</span>
137 TpAddDispatchOperationContext <span class="symbol">*</span>context<span class="symbol">,</span>
138 gpointer user_data<span class="symbol">)</span>
139 <span class="symbol">{</span>
140 <span class="comment">/* call tp_channel_dispatch_operation_handle_with_async()</span>
141 <span class="comment"> if wanting to approve the channels */</span>
142
143 <span class="function"><a href="telepathy-glib-add-dispatch-operation-context.html#tp-add-dispatch-operation-context-accept">tp_add_dispatch_operation_context_accept</a></span> <span class="symbol">(</span>context<span class="symbol">);</span>
144 <span class="symbol">}</span>
145
146 client <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-simple-approver.html#tp-simple-approver-new">tp_simple_approver_new</a></span> <span class="symbol">(</span>dbus<span class="symbol">,</span> <span class="string">&quot;MyApprover&quot;</span><span class="symbol">,</span> FALSE<span class="symbol">,</span>
147 my_add_dispatch_operation<span class="symbol">,</span> user_data<span class="symbol">);</span>
148
149 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-approver-filter">tp_base_client_take_approver_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
150 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span> TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
151 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span> TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
152 NULL<span class="symbol">));</span>
153
154 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-register">tp_base_client_register</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> NULL<span class="symbol">);</span></pre></td>
155 </tr>
156 </tbody>
157 </table>
158 </div>
159
129160 <p>
130161 </p>
131162 <p>
107107 <p>
108108 A typical simple handler would look liks this:
109109 </p>
110 <div class="informalexample"><pre class="programlisting">
111 static void
112 my_handle_channels (TpSimpleHandler *handler,
113 TpAccount *account,
114 TpConnection *connection,
115 GList *channels,
116 GList *requests_satisfied,
117 gint64 user_action_time,
118 GList *requests,
119 TpHandleChannelsContext *context,
120 gpointer user_data)
121 {
122 /* start handling the channels here */
123
124 tp_handle_channels_context_accept (context);
125 }
126
127 client = tp_simple_handler_new (dbus, FALSE, FALSE, "MyHandler", FALSE,
128 my_handle_channels, user_data);
129
130 tp_base_client_take_handler_filter (client, tp_asv_new (
131 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_TEXT,
132 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
133 NULL));
134
135 tp_base_client_register (client, NULL);
136 </pre></div>
110 <div class="informalexample">
111 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
112 <tbody>
113 <tr>
114 <td class="listing_lines" align="right"><pre>1
115 2
116 3
117 4
118 5
119 6
120 7
121 8
122 9
123 10
124 11
125 12
126 13
127 14
128 15
129 16
130 17
131 18
132 19
133 20
134 21
135 22
136 23
137 24
138 25</pre></td>
139 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
140 <span class="function">my_handle_channels</span> <span class="symbol">(</span>TpSimpleHandler <span class="symbol">*</span>handler<span class="symbol">,</span>
141 TpAccount <span class="symbol">*</span>account<span class="symbol">,</span>
142 TpConnection <span class="symbol">*</span>connection<span class="symbol">,</span>
143 GList <span class="symbol">*</span>channels<span class="symbol">,</span>
144 GList <span class="symbol">*</span>requests_satisfied<span class="symbol">,</span>
145 gint64 user_action_time<span class="symbol">,</span>
146 GList <span class="symbol">*</span>requests<span class="symbol">,</span>
147 TpHandleChannelsContext <span class="symbol">*</span>context<span class="symbol">,</span>
148 gpointer user_data<span class="symbol">)</span>
149 <span class="symbol">{</span>
150 <span class="comment">/* start handling the channels here */</span>
151
152 <span class="function"><a href="telepathy-glib-handle-channels-context.html#tp-handle-channels-context-accept">tp_handle_channels_context_accept</a></span> <span class="symbol">(</span>context<span class="symbol">);</span>
153 <span class="symbol">}</span>
154
155 client <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-simple-handler.html#tp-simple-handler-new">tp_simple_handler_new</a></span> <span class="symbol">(</span>dbus<span class="symbol">,</span> FALSE<span class="symbol">,</span> FALSE<span class="symbol">,</span> <span class="string">&quot;MyHandler&quot;</span><span class="symbol">,</span> FALSE<span class="symbol">,</span>
156 my_handle_channels<span class="symbol">,</span> user_data<span class="symbol">);</span>
157
158 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-handler-filter">tp_base_client_take_handler_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
159 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span> TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
160 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span> TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
161 NULL<span class="symbol">));</span>
162
163 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-register">tp_base_client_register</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> NULL<span class="symbol">);</span></pre></td>
164 </tr>
165 </tbody>
166 </table>
167 </div>
168
137169 <p>
138170 </p>
139171 <p>
104104 <p>
105105 A typical simple observer would look liks this:
106106 </p>
107 <div class="informalexample"><pre class="programlisting">
108 static void
109 my_observe_channels (TpSimpleObserver *observer,
110 TpAccount *account,
111 TpConnection *connection,
112 GList *channels,
113 TpChannelDispatchOperation *dispatch_operation,
114 GList *requests,
115 TpObserveChannelsContext *context,
116 gpointer user_data)
117 {
118 /* do something useful with the channels here */
119
120 tp_observe_channels_context_accept (context);
121 }
122
123 client = tp_simple_observer_new (dbus, TRUE, "MyObserver", FALSE,
124 my_observe_channels, user_data);
125
126 tp_base_client_take_observer_filter (client, tp_asv_new (
127 TP_PROP_CHANNEL_CHANNEL_TYPE, G_TYPE_STRING, TP_IFACE_CHANNEL_TYPE_TEXT,
128 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE, G_TYPE_UINT, TP_HANDLE_TYPE_CONTACT,
129 NULL));
130
131 tp_base_client_register (client, NULL);
132 </pre></div>
107 <div class="informalexample">
108 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
109 <tbody>
110 <tr>
111 <td class="listing_lines" align="right"><pre>1
112 2
113 3
114 4
115 5
116 6
117 7
118 8
119 9
120 10
121 11
122 12
123 13
124 14
125 15
126 16
127 17
128 18
129 19
130 20
131 21
132 22
133 23
134 24</pre></td>
135 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
136 <span class="function">my_observe_channels</span> <span class="symbol">(</span>TpSimpleObserver <span class="symbol">*</span>observer<span class="symbol">,</span>
137 TpAccount <span class="symbol">*</span>account<span class="symbol">,</span>
138 TpConnection <span class="symbol">*</span>connection<span class="symbol">,</span>
139 GList <span class="symbol">*</span>channels<span class="symbol">,</span>
140 TpChannelDispatchOperation <span class="symbol">*</span>dispatch_operation<span class="symbol">,</span>
141 GList <span class="symbol">*</span>requests<span class="symbol">,</span>
142 TpObserveChannelsContext <span class="symbol">*</span>context<span class="symbol">,</span>
143 gpointer user_data<span class="symbol">)</span>
144 <span class="symbol">{</span>
145 <span class="comment">/* do something useful with the channels here */</span>
146
147 <span class="function"><a href="telepathy-glib-observe-channels-context.html#tp-observe-channels-context-accept">tp_observe_channels_context_accept</a></span> <span class="symbol">(</span>context<span class="symbol">);</span>
148 <span class="symbol">}</span>
149
150 client <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-simple-observer.html#tp-simple-observer-new">tp_simple_observer_new</a></span> <span class="symbol">(</span>dbus<span class="symbol">,</span> TRUE<span class="symbol">,</span> <span class="string">&quot;MyObserver&quot;</span><span class="symbol">,</span> FALSE<span class="symbol">,</span>
151 my_observe_channels<span class="symbol">,</span> user_data<span class="symbol">);</span>
152
153 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-take-observer-filter">tp_base_client_take_observer_filter</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> <span class="function"><a href="telepathy-glib-asv.html#tp-asv-new">tp_asv_new</a></span> <span class="symbol">(</span>
154 TP_PROP_CHANNEL_CHANNEL_TYPE<span class="symbol">,</span> G_TYPE_STRING<span class="symbol">,</span> TP_IFACE_CHANNEL_TYPE_TEXT<span class="symbol">,</span>
155 TP_PROP_CHANNEL_TARGET_HANDLE_TYPE<span class="symbol">,</span> G_TYPE_UINT<span class="symbol">,</span> TP_HANDLE_TYPE_CONTACT<span class="symbol">,</span>
156 NULL<span class="symbol">));</span>
157
158 <span class="function"><a href="telepathy-glib-base-client.html#tp-base-client-register">tp_base_client_register</a></span> <span class="symbol">(</span>client<span class="symbol">,</span> NULL<span class="symbol">);</span></pre></td>
159 </tr>
160 </tbody>
161 </table>
162 </div>
163
133164 <p>
134165 </p>
135166 <p>
55 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
66 <link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
77 <link rel="up" href="ch-service-base.html" title="Service-side implementation">
8 <link rel="prev" href="TpCMMessage.html" title="TpCMMessage">
8 <link rel="prev" href="telepathy-glib-base-password-channel.html" title="TpBasePasswordChannel">
99 <link rel="next" href="telepathy-glib-base-client.html" title="TpBaseClient">
1010 <meta name="generator" content="GTK-Doc V1.15 (XML mode)">
1111 <link rel="stylesheet" href="style.css" type="text/css">
1313 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
1414 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
1515 <tr valign="middle">
16 <td><a accesskey="p" href="TpCMMessage.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
16 <td><a accesskey="p" href="telepathy-glib-base-password-channel.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
1717 <td><a accesskey="u" href="ch-service-base.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
1818 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
1919 <th width="100%" align="center">telepathy-glib API Reference Manual</th>
5959 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
6060 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-prompt-for-channel-async" title="tp_simple_password_manager_prompt_for_channel_async ()">tp_simple_password_manager_prompt_for_channel_async</a>
6161 (<em class="parameter"><code><a class="link" href="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager"><span class="type">TpSimplePasswordManager</span></a> *self</code></em>,
62 <em class="parameter"><code><span class="type">TpBasePasswordChannel</span> *channel</code></em>,
62 <em class="parameter"><code><a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a> *channel</code></em>,
6363 <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
6464 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
6565 const <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> * <a class="link" href="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-prompt-for-channel-finish" title="tp_simple_password_manager_prompt_for_channel_finish ()">tp_simple_password_manager_prompt_for_channel_finish</a>
6666 (<em class="parameter"><code><a class="link" href="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager"><span class="type">TpSimplePasswordManager</span></a> *self</code></em>,
6767 <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
68 <em class="parameter"><code><span class="type">TpBasePasswordChannel</span> **channel</code></em>,
68 <em class="parameter"><code><a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a> **channel</code></em>,
6969 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
7070 </pre>
7171 </div>
246246 <a name="tp-simple-password-manager-prompt-for-channel-async"></a><h3>tp_simple_password_manager_prompt_for_channel_async ()</h3>
247247 <pre class="programlisting"><span class="returnvalue">void</span> tp_simple_password_manager_prompt_for_channel_async
248248 (<em class="parameter"><code><a class="link" href="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager"><span class="type">TpSimplePasswordManager</span></a> *self</code></em>,
249 <em class="parameter"><code><span class="type">TpBasePasswordChannel</span> *channel</code></em>,
249 <em class="parameter"><code><a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a> *channel</code></em>,
250250 <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
251251 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
252252 <p>
276276 </tr>
277277 <tr>
278278 <td><p><span class="term"><em class="parameter"><code>channel</code></em> :</span></p></td>
279 <td>a <span class="type">TpBasePasswordChannel</span>
279 <td>a <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a>
280280 </td>
281281 </tr>
282282 <tr>
299299 <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Strings.html#GString"><span class="returnvalue">GString</span></a> * tp_simple_password_manager_prompt_for_channel_finish
300300 (<em class="parameter"><code><a class="link" href="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager"><span class="type">TpSimplePasswordManager</span></a> *self</code></em>,
301301 <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
302 <em class="parameter"><code><span class="type">TpBasePasswordChannel</span> **channel</code></em>,
302 <em class="parameter"><code><a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel"><span class="type">TpBasePasswordChannel</span></a> **channel</code></em>,
303303 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
304304 <p>
305305 Retrieve the value of the request begun with
306306 <div class="refsect2" title='The "account-removed" signal'>
307307 <a name="TpSvcAccountManager-account-removed"></a><h3>The <code class="literal">"account-removed"</code> signal</h3>
308308 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-account-manager.html#TpSvcAccountManager"><span class="type">TpSvcAccountManager</span></a> *self,
309 <span class="type">DBusGObjectPath</span> *arg_Account,
309 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Account,
310310 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
311311 <p>
312312 The AccountRemoved D-Bus signal is emitted whenever this GObject signal is.
335335 <div class="refsect2" title='The "account-validity-changed" signal'>
336336 <a name="TpSvcAccountManager-account-validity-changed"></a><h3>The <code class="literal">"account-validity-changed"</code> signal</h3>
337337 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-account-manager.html#TpSvcAccountManager"><span class="type">TpSvcAccountManager</span></a> *self,
338 <span class="type">DBusGObjectPath</span> *arg_Account,
338 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Account,
339339 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> arg_Valid,
340340 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
341341 <p>
121121 <a name="telepathy-glib-svc-channel-auth.implementations"></a><h2>Known Implementations</h2>
122122 <p>
123123 TpSvcChannelTypeServerAuthentication is implemented by
124 TpBasePasswordChannel.</p>
124 <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>.</p>
125125 <p>
126126 TpSvcChannelInterfaceSASLAuthentication is implemented by
127 TpBasePasswordChannel.</p>
127 <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>.</p>
128128 </div>
129129 <div class="refsect1" title="Signals">
130130 <a name="telepathy-glib-svc-channel-auth.signals"></a><h2>Signals</h2>
441441 <div class="refsect2" title='The "channel-lost" signal'>
442442 <a name="TpSvcChannelDispatchOperation-channel-lost"></a><h3>The <code class="literal">"channel-lost"</code> signal</h3>
443443 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-dispatch-operation.html#TpSvcChannelDispatchOperation"><span class="type">TpSvcChannelDispatchOperation</span></a> *self,
444 <span class="type">DBusGObjectPath</span> *arg_Channel,
444 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Channel,
445445 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Error,
446446 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Message,
447447 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
695695 <div class="refsect2" title='The "dispatch-operation-finished" signal'>
696696 <a name="TpSvcChannelDispatcherInterfaceOperationList-dispatch-operation-finished"></a><h3>The <code class="literal">"dispatch-operation-finished"</code> signal</h3>
697697 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-dispatcher.html#TpSvcChannelDispatcherInterfaceOperationList"><span class="type">TpSvcChannelDispatcherInterfaceOperationList</span></a> *self,
698 <span class="type">DBusGObjectPath</span> *arg_Dispatch_Operation,
698 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Dispatch_Operation,
699699 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
700700 <p>
701701 The DispatchOperationFinished D-Bus signal is emitted whenever this GObject signal is.
724724 <div class="refsect2" title='The "new-dispatch-operation" signal'>
725725 <a name="TpSvcChannelDispatcherInterfaceOperationList-new-dispatch-operation"></a><h3>The <code class="literal">"new-dispatch-operation"</code> signal</h3>
726726 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-dispatcher.html#TpSvcChannelDispatcherInterfaceOperationList"><span class="type">TpSvcChannelDispatcherInterfaceOperationList</span></a> *self,
727 <span class="type">DBusGObjectPath</span> *arg_Dispatch_Operation,
727 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Dispatch_Operation,
728728 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
729729 <p>
730730 The NewDispatchOperation D-Bus signal is emitted whenever this GObject signal is.
17201720 <div class="refsect2" title='The "channel-merged" signal'>
17211721 <a name="TpSvcChannelInterfaceConference-channel-merged"></a><h3>The <code class="literal">"channel-merged"</code> signal</h3>
17221722 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-group.html#TpSvcChannelInterfaceConference"><span class="type">TpSvcChannelInterfaceConference</span></a> *self,
1723 <span class="type">DBusGObjectPath</span> *arg_Channel,
1723 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Channel,
17241724 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Channel_Specific_Handle,
17251725 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
17261726 <p>
17601760 <div class="refsect2" title='The "channel-removed" signal'>
17611761 <a name="TpSvcChannelInterfaceConference-channel-removed"></a><h3>The <code class="literal">"channel-removed"</code> signal</h3>
17621762 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-group.html#TpSvcChannelInterfaceConference"><span class="type">TpSvcChannelInterfaceConference</span></a> *self,
1763 <span class="type">DBusGObjectPath</span> *arg_Channel,
1763 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Channel,
17641764 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
17651765 <p>
17661766 The ChannelRemoved D-Bus signal is emitted whenever this GObject signal is.
20552055 <div class="refsect2" title='The "new-session-handler" signal'>
20562056 <a name="TpSvcChannelInterfaceMediaSignalling-new-session-handler"></a><h3>The <code class="literal">"new-session-handler"</code> signal</h3>
20572057 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-media.html#TpSvcChannelInterfaceMediaSignalling"><span class="type">TpSvcChannelInterfaceMediaSignalling</span></a> *self,
2058 <span class="type">DBusGObjectPath</span> *arg_Session_Handler,
2058 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Session_Handler,
20592059 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Session_Type,
20602060 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
20612061 <p>
440440 <div class="refsect2" title='The "succeeded-with-channel" signal'>
441441 <a name="TpSvcChannelRequest-succeeded-with-channel"></a><h3>The <code class="literal">"succeeded-with-channel"</code> signal</h3>
442442 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-channel-request.html#TpSvcChannelRequest"><span class="type">TpSvcChannelRequest</span></a> *self,
443 <span class="type">DBusGObjectPath</span> *arg_Connection,
444 <span class="type">DBusGObjectPath</span> *arg_Channel,
443 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Connection,
444 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Channel,
445445 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
446446 <p>
447447 The SucceededWithChannel D-Bus signal is emitted whenever this GObject signal is.
115115 <a name="telepathy-glib-svc-channel.implementations"></a><h2>Known Implementations</h2>
116116 <p>
117117 TpSvcChannel is implemented by
118 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a> and TpBasePasswordChannel.</p>
118 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a> and <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>.</p>
119119 </div>
120120 <div class="refsect1" title="Signals">
121121 <a name="telepathy-glib-svc-channel.signals"></a><h2>Signals</h2>
459459 <a name="TpSvcConnectionManager-new-connection"></a><h3>The <code class="literal">"new-connection"</code> signal</h3>
460460 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-connection-manager.html#TpSvcConnectionManager"><span class="type">TpSvcConnectionManager</span></a> *self,
461461 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Bus_Name,
462 <span class="type">DBusGObjectPath</span> *arg_Object_Path,
462 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Object_Path,
463463 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Protocol,
464464 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
465465 <p>
4242 </tr></table></div>
4343 <div class="refsynopsisdiv" title="Synopsis">
4444 <a name="telepathy-glib-svc-connection.synopsis"></a><h2>Synopsis</h2>
45 <a name="TpSvcConnection"></a><a name="TpSvcConnectionInterfaceContacts"></a><a name="TpSvcConnectionInterfaceRequests"></a><a name="TpSvcConnectionInterfaceSimplePresence"></a><a name="TpSvcConnectionInterfacePresence"></a><a name="TpSvcConnectionInterfaceAvatars"></a><a name="TpSvcConnectionInterfaceAliasing"></a><a name="TpSvcConnectionInterfaceBalance"></a><a name="TpSvcConnectionInterfaceCapabilities"></a><a name="TpSvcConnectionInterfaceContactCapabilities"></a><a name="TpSvcConnectionInterfaceLocation"></a><a name="TpSvcConnectionInterfaceContactInfo"></a><a name="TpSvcConnectionInterfaceContactGroups"></a><a name="TpSvcConnectionInterfaceContactList"></a><a name="TpSvcConnectionInterfaceCellular"></a><a name="TpSvcConnectionInterfaceClientTypes"></a><a name="TpSvcConnectionInterfaceMailNotification"></a><a name="TpSvcConnectionInterfacePowerSaving"></a><pre class="synopsis">
45 <a name="TpSvcConnection"></a><a name="TpSvcConnectionInterfaceContacts"></a><a name="TpSvcConnectionInterfaceRequests"></a><a name="TpSvcConnectionInterfaceSimplePresence"></a><a name="TpSvcConnectionInterfacePresence"></a><a name="TpSvcConnectionInterfaceAvatars"></a><a name="TpSvcConnectionInterfaceAliasing"></a><a name="TpSvcConnectionInterfaceBalance"></a><a name="TpSvcConnectionInterfaceCapabilities"></a><a name="TpSvcConnectionInterfaceContactCapabilities"></a><a name="TpSvcConnectionInterfaceLocation"></a><a name="TpSvcConnectionInterfaceContactInfo"></a><a name="TpSvcConnectionInterfaceContactBlocking"></a><a name="TpSvcConnectionInterfaceContactGroups"></a><a name="TpSvcConnectionInterfaceContactList"></a><a name="TpSvcConnectionInterfaceCellular"></a><a name="TpSvcConnectionInterfaceClientTypes"></a><a name="TpSvcConnectionInterfaceMailNotification"></a><a name="TpSvcConnectionInterfacePowerSaving"></a><pre class="synopsis">
4646 #include &lt;telepathy-glib/svc-connection.h&gt;
4747
4848 <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnection-struct" title="TpSvcConnection">TpSvcConnection</a>;
630630 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
631631
632632
633 <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-struct" title="TpSvcConnectionInterfaceContactBlocking">TpSvcConnectionInterfaceContactBlocking</a>;
634 <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass">TpSvcConnectionInterfaceContactBlockingClass</a>;
635 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl" title="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()">*tp_svc_connection_interface_contact_blocking_block_contacts_impl</a>)
636 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
637 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
638 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
639 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
640 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed" title="tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ()">tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed</a>
641 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
642 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Blocked_Contacts</code></em>,
643 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Unblocked_Contacts</code></em>);
644 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-block-contacts" title="tp_svc_connection_interface_contact_blocking_implement_block_contacts ()">tp_svc_connection_interface_contact_blocking_implement_block_contacts</a>
645 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
646 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl" title="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_block_contacts_impl</span></a> impl</code></em>);
647 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts" title="tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ()">tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts</a>
648 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
649 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl" title="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl</span></a> impl</code></em>);
650 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-unblock-contacts" title="tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ()">tp_svc_connection_interface_contact_blocking_implement_unblock_contacts</a>
651 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
652 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl" title="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_unblock_contacts_impl</span></a> impl</code></em>);
653 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl" title="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()">*tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl</a>)
654 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
655 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
656 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-block-contacts" title="tp_svc_connection_interface_contact_blocking_return_from_block_contacts ()">tp_svc_connection_interface_contact_blocking_return_from_block_contacts</a>
657 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
658 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts" title="tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ()">tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts</a>
659 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
660 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contacts</code></em>);
661 <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts" title="tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ()">tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts</a>
662 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
663 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl" title="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()">*tp_svc_connection_interface_contact_blocking_unblock_contacts_impl</a>)
664 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
665 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
666 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
633667 <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-struct" title="TpSvcConnectionInterfaceContactGroups">TpSvcConnectionInterfaceContactGroups</a>;
634668 <a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroupsClass" title="TpSvcConnectionInterfaceContactGroupsClass">TpSvcConnectionInterfaceContactGroupsClass</a>;
635669 <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-groups-add-to-group-impl" title="tp_svc_connection_interface_contact_groups_add_to_group_impl ()">*tp_svc_connection_interface_contact_groups_add_to_group_impl</a>)
914948 </pre>
915949 <pre class="synopsis">
916950 GInterface
951 +----TpSvcConnectionInterfaceContactBlocking
952 </pre>
953 <pre class="synopsis">
954 GInterface
917955 +----TpSvcConnectionInterfaceContactGroups
918956 </pre>
919957 <pre class="synopsis">
9651003 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactCapabilities-contact-capabilities-changed" title='The "contact-capabilities-changed" signal'>contact-capabilities-changed</a>" : Run Last / Has Details
9661004 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceLocation-location-updated" title='The "location-updated" signal'>location-updated</a>" : Run Last / Has Details
9671005 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactInfo-contact-info-changed" title='The "contact-info-changed" signal'>contact-info-changed</a>" : Run Last / Has Details
1006 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed" title='The "blocked-contacts-changed" signal'>blocked-contacts-changed</a>" : Run Last / Has Details
9681007 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-group-renamed" title='The "group-renamed" signal'>group-renamed</a>" : Run Last / Has Details
9691008 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-changed" title='The "groups-changed" signal'>groups-changed</a>" : Run Last / Has Details
9701009 "<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-created" title='The "groups-created" signal'>groups-created</a>" : Run Last / Has Details
60056044 </table></div>
60066045 </div>
60076046 <hr>
6047 <div class="refsect2" title="TpSvcConnectionInterfaceContactBlocking">
6048 <a name="TpSvcConnectionInterfaceContactBlocking-struct"></a><h3>TpSvcConnectionInterfaceContactBlocking</h3>
6049 <pre class="programlisting">typedef struct _TpSvcConnectionInterfaceContactBlocking TpSvcConnectionInterfaceContactBlocking;</pre>
6050 <p>
6051 Dummy typedef representing any implementation of this interface.
6052 </p>
6053 </div>
6054 <hr>
6055 <div class="refsect2" title="TpSvcConnectionInterfaceContactBlockingClass">
6056 <a name="TpSvcConnectionInterfaceContactBlockingClass"></a><h3>TpSvcConnectionInterfaceContactBlockingClass</h3>
6057 <pre class="programlisting">typedef struct _TpSvcConnectionInterfaceContactBlockingClass TpSvcConnectionInterfaceContactBlockingClass;</pre>
6058 <p>
6059 The class of TpSvcConnectionInterfaceContactBlocking.
6060 </p>
6061 <p>
6062 In a full implementation of this interface (i.e. all
6063 methods implemented), the interface initialization
6064 function used in <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> would
6065 typically look like this:
6066 </p>
6067 <p>
6068 </p>
6069 <pre class="programlisting">
6070 static void
6071 implement_connection_interface_contact_blocking (gpointer klass,
6072 gpointer unused G_GNUC_UNUSED)
6073 {
6074 #define IMPLEMENT(x) tp_svc_connection_interface_contact_blocking_implement_##x (\
6075 klass, my_object_##x)
6076 IMPLEMENT (block_contacts);
6077 IMPLEMENT (unblock_contacts);
6078 IMPLEMENT (request_blocked_contacts);
6079 #undef IMPLEMENT
6080 }
6081 </pre>
6082 <p>
6083 </p>
6084 </div>
6085 <hr>
6086 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()">
6087 <a name="tp-svc-connection-interface-contact-blocking-block-contacts-impl"></a><h3>tp_svc_connection_interface_contact_blocking_block_contacts_impl ()</h3>
6088 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_svc_connection_interface_contact_blocking_block_contacts_impl)
6089 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
6090 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
6091 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_Report_Abusive</code></em>,
6092 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
6093 <p>
6094 The signature of an implementation of the D-Bus method
6095 BlockContacts on interface org.freedesktop.Telepathy.Connection.Interface.ContactBlocking.
6096 </p>
6097 <div class="variablelist"><table border="0">
6098 <col align="left" valign="top">
6099 <tbody>
6100 <tr>
6101 <td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
6102 <td>The object implementing this interface
6103 </td>
6104 </tr>
6105 <tr>
6106 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
6107 <td>const GArray * (FIXME, generate documentation)
6108 </td>
6109 </tr>
6110 <tr>
6111 <td><p><span class="term"><em class="parameter"><code>in_Report_Abusive</code></em> :</span></p></td>
6112 <td>gboolean (FIXME, generate documentation)
6113 </td>
6114 </tr>
6115 <tr>
6116 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6117 <td>Used to return values or throw an error
6118 </td>
6119 </tr>
6120 </tbody>
6121 </table></div>
6122 </div>
6123 <hr>
6124 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ()">
6125 <a name="tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed"></a><h3>tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ()</h3>
6126 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed
6127 (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> instance</code></em>,
6128 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Blocked_Contacts</code></em>,
6129 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_Unblocked_Contacts</code></em>);</pre>
6130 <p>
6131 Type-safe wrapper around g_signal_emit to emit the
6132 BlockedContactsChanged signal on interface org.freedesktop.Telepathy.Connection.Interface.ContactBlocking.
6133 </p>
6134 <div class="variablelist"><table border="0">
6135 <col align="left" valign="top">
6136 <tbody>
6137 <tr>
6138 <td><p><span class="term"><em class="parameter"><code>instance</code></em> :</span></p></td>
6139 <td>The object implementing this interface
6140 </td>
6141 </tr>
6142 <tr>
6143 <td><p><span class="term"><em class="parameter"><code>arg_Blocked_Contacts</code></em> :</span></p></td>
6144 <td>GHashTable * (FIXME, generate documentation)
6145 </td>
6146 </tr>
6147 <tr>
6148 <td><p><span class="term"><em class="parameter"><code>arg_Unblocked_Contacts</code></em> :</span></p></td>
6149 <td>GHashTable * (FIXME, generate documentation)
6150 </td>
6151 </tr>
6152 </tbody>
6153 </table></div>
6154 </div>
6155 <hr>
6156 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_implement_block_contacts ()">
6157 <a name="tp-svc-connection-interface-contact-blocking-implement-block-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_implement_block_contacts ()</h3>
6158 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_implement_block_contacts
6159 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
6160 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl" title="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_block_contacts_impl</span></a> impl</code></em>);</pre>
6161 <p>
6162 Register an implementation for the BlockContacts method in the vtable
6163 of an implementation of this interface. To be called from
6164 the interface init function.
6165 </p>
6166 <div class="variablelist"><table border="0">
6167 <col align="left" valign="top">
6168 <tbody>
6169 <tr>
6170 <td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
6171 <td>A class whose instances implement this interface
6172 </td>
6173 </tr>
6174 <tr>
6175 <td><p><span class="term"><em class="parameter"><code>impl</code></em> :</span></p></td>
6176 <td>A callback used to implement the BlockContacts D-Bus method
6177 </td>
6178 </tr>
6179 </tbody>
6180 </table></div>
6181 </div>
6182 <hr>
6183 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ()">
6184 <a name="tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ()</h3>
6185 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts
6186 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
6187 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl" title="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl</span></a> impl</code></em>);</pre>
6188 <p>
6189 Register an implementation for the RequestBlockedContacts method in the vtable
6190 of an implementation of this interface. To be called from
6191 the interface init function.
6192 </p>
6193 <div class="variablelist"><table border="0">
6194 <col align="left" valign="top">
6195 <tbody>
6196 <tr>
6197 <td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
6198 <td>A class whose instances implement this interface
6199 </td>
6200 </tr>
6201 <tr>
6202 <td><p><span class="term"><em class="parameter"><code>impl</code></em> :</span></p></td>
6203 <td>A callback used to implement the RequestBlockedContacts D-Bus method
6204 </td>
6205 </tr>
6206 </tbody>
6207 </table></div>
6208 </div>
6209 <hr>
6210 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ()">
6211 <a name="tp-svc-connection-interface-contact-blocking-implement-unblock-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ()</h3>
6212 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_implement_unblock_contacts
6213 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass" title="TpSvcConnectionInterfaceContactBlockingClass"><span class="type">TpSvcConnectionInterfaceContactBlockingClass</span></a> *klass</code></em>,
6214 <em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl" title="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()"><span class="type">tp_svc_connection_interface_contact_blocking_unblock_contacts_impl</span></a> impl</code></em>);</pre>
6215 <p>
6216 Register an implementation for the UnblockContacts method in the vtable
6217 of an implementation of this interface. To be called from
6218 the interface init function.
6219 </p>
6220 <div class="variablelist"><table border="0">
6221 <col align="left" valign="top">
6222 <tbody>
6223 <tr>
6224 <td><p><span class="term"><em class="parameter"><code>klass</code></em> :</span></p></td>
6225 <td>A class whose instances implement this interface
6226 </td>
6227 </tr>
6228 <tr>
6229 <td><p><span class="term"><em class="parameter"><code>impl</code></em> :</span></p></td>
6230 <td>A callback used to implement the UnblockContacts D-Bus method
6231 </td>
6232 </tr>
6233 </tbody>
6234 </table></div>
6235 </div>
6236 <hr>
6237 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()">
6238 <a name="tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl"></a><h3>tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()</h3>
6239 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl)
6240 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
6241 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
6242 <p>
6243 The signature of an implementation of the D-Bus method
6244 RequestBlockedContacts on interface org.freedesktop.Telepathy.Connection.Interface.ContactBlocking.
6245 </p>
6246 <div class="variablelist"><table border="0">
6247 <col align="left" valign="top">
6248 <tbody>
6249 <tr>
6250 <td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
6251 <td>The object implementing this interface
6252 </td>
6253 </tr>
6254 <tr>
6255 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6256 <td>Used to return values or throw an error
6257 </td>
6258 </tr>
6259 </tbody>
6260 </table></div>
6261 </div>
6262 <hr>
6263 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_return_from_block_contacts ()">
6264 <a name="tp-svc-connection-interface-contact-blocking-return-from-block-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_return_from_block_contacts ()</h3>
6265 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_return_from_block_contacts
6266 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
6267 <p>
6268 Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
6269 This inline function exists only to provide type-safety.
6270 </p>
6271 <div class="variablelist"><table border="0">
6272 <col align="left" valign="top">
6273 <tbody><tr>
6274 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6275 <td>The D-Bus method invocation context
6276 </td>
6277 </tr></tbody>
6278 </table></div>
6279 </div>
6280 <hr>
6281 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ()">
6282 <a name="tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ()</h3>
6283 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts
6284 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
6285 <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contacts</code></em>);</pre>
6286 <p>
6287 Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
6288 This inline function exists only to provide type-safety.
6289 </p>
6290 <div class="variablelist"><table border="0">
6291 <col align="left" valign="top">
6292 <tbody>
6293 <tr>
6294 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6295 <td>The D-Bus method invocation context
6296 </td>
6297 </tr>
6298 <tr>
6299 <td><p><span class="term"><em class="parameter"><code>out_Contacts</code></em> :</span></p></td>
6300 <td>GHashTable * (FIXME, generate documentation)
6301 </td>
6302 </tr>
6303 </tbody>
6304 </table></div>
6305 </div>
6306 <hr>
6307 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ()">
6308 <a name="tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts"></a><h3>tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ()</h3>
6309 <pre class="programlisting"><span class="returnvalue">void</span> tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts
6310 (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
6311 <p>
6312 Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
6313 This inline function exists only to provide type-safety.
6314 </p>
6315 <div class="variablelist"><table border="0">
6316 <col align="left" valign="top">
6317 <tbody><tr>
6318 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6319 <td>The D-Bus method invocation context
6320 </td>
6321 </tr></tbody>
6322 </table></div>
6323 </div>
6324 <hr>
6325 <div class="refsect2" title="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()">
6326 <a name="tp-svc-connection-interface-contact-blocking-unblock-contacts-impl"></a><h3>tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()</h3>
6327 <pre class="programlisting"><span class="returnvalue">void</span> (*tp_svc_connection_interface_contact_blocking_unblock_contacts_impl)
6328 (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self</code></em>,
6329 <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Contacts</code></em>,
6330 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
6331 <p>
6332 The signature of an implementation of the D-Bus method
6333 UnblockContacts on interface org.freedesktop.Telepathy.Connection.Interface.ContactBlocking.
6334 </p>
6335 <div class="variablelist"><table border="0">
6336 <col align="left" valign="top">
6337 <tbody>
6338 <tr>
6339 <td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
6340 <td>The object implementing this interface
6341 </td>
6342 </tr>
6343 <tr>
6344 <td><p><span class="term"><em class="parameter"><code>in_Contacts</code></em> :</span></p></td>
6345 <td>const GArray * (FIXME, generate documentation)
6346 </td>
6347 </tr>
6348 <tr>
6349 <td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
6350 <td>Used to return values or throw an error
6351 </td>
6352 </tr>
6353 </tbody>
6354 </table></div>
6355 </div>
6356 <hr>
60086357 <div class="refsect2" title="TpSvcConnectionInterfaceContactGroups">
60096358 <a name="TpSvcConnectionInterfaceContactGroups-struct"></a><h3>TpSvcConnectionInterfaceContactGroups</h3>
60106359 <pre class="programlisting">typedef struct _TpSvcConnectionInterfaceContactGroups TpSvcConnectionInterfaceContactGroups;</pre>
80188367 <div class="refsect2" title='The "new-channel" signal'>
80198368 <a name="TpSvcConnection-new-channel"></a><h3>The <code class="literal">"new-channel"</code> signal</h3>
80208369 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnection"><span class="type">TpSvcConnection</span></a> *self,
8021 <span class="type">DBusGObjectPath</span> *arg_Object_Path,
8370 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Object_Path,
80228371 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *arg_Channel_Type,
80238372 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Handle_Type,
80248373 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Handle,
81358484 <div class="refsect2" title='The "channel-closed" signal'>
81368485 <a name="TpSvcConnectionInterfaceRequests-channel-closed"></a><h3>The <code class="literal">"channel-closed"</code> signal</h3>
81378486 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceRequests"><span class="type">TpSvcConnectionInterfaceRequests</span></a> *self,
8138 <span class="type">DBusGObjectPath</span> *arg_Removed,
8487 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Removed,
81398488 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
81408489 <p>
81418490 The ChannelClosed D-Bus signal is emitted whenever this GObject signal is.
85078856 </table></div>
85088857 </div>
85098858 <hr>
8859 <div class="refsect2" title='The "blocked-contacts-changed" signal'>
8860 <a name="TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed"></a><h3>The <code class="literal">"blocked-contacts-changed"</code> signal</h3>
8861 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking"><span class="type">TpSvcConnectionInterfaceContactBlocking</span></a> *self,
8862 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : Run Last / Has Details</pre>
8863 <p>
8864 The BlockedContactsChanged D-Bus signal is emitted whenever this GObject signal is.
8865 </p>
8866 <div class="variablelist"><table border="0">
8867 <col align="left" valign="top">
8868 <tbody>
8869 <tr>
8870 <td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
8871 <td>an object
8872 </td>
8873 </tr>
8874 <tr>
8875 <td><p><span class="term"><em class="parameter"><code>arg_Blocked_Contacts</code></em> :</span></p></td>
8876 <td>GHashTable * (FIXME, generate documentation)
8877 </td>
8878 </tr>
8879 <tr>
8880 <td><p><span class="term"><em class="parameter"><code>arg_Unblocked_Contacts</code></em> :</span></p></td>
8881 <td>GHashTable * (FIXME, generate documentation)
8882 </td>
8883 </tr>
8884 <tr>
8885 <td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
8886 <td>user data set when the signal handler was connected.</td>
8887 </tr>
8888 </tbody>
8889 </table></div>
8890 </div>
8891 <hr>
85108892 <div class="refsect2" title='The "group-renamed" signal'>
85118893 <a name="TpSvcConnectionInterfaceContactGroups-group-renamed"></a><h3>The <code class="literal">"group-renamed"</code> signal</h3>
85128894 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups"><span class="type">TpSvcConnectionInterfaceContactGroups</span></a> *self,
151151 <a name="telepathy-glib-svc-generic.implementations"></a><h2>Known Implementations</h2>
152152 <p>
153153 TpSvcDBusProperties is implemented by
154 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a>, <a class="link" href="telepathy-glib-base-client.html#TpBaseClient">TpBaseClient</a>, <a class="link" href="TpBaseConnection.html" title="TpBaseConnection">TpBaseConnection</a>, <a class="link" href="TpBaseConnectionManager.html" title="TpBaseConnectionManager">TpBaseConnectionManager</a>, TpBasePasswordChannel, <a class="link" href="telepathy-glib-base-protocol.html#TpBaseProtocol">TpBaseProtocol</a>, <a class="link" href="telepathy-glib-debug-sender.html#TpDebugSender">TpDebugSender</a>, <a class="link" href="telepathy-glib-simple-approver.html#TpSimpleApprover">TpSimpleApprover</a>, <a class="link" href="telepathy-glib-simple-handler.html#TpSimpleHandler">TpSimpleHandler</a> and <a class="link" href="telepathy-glib-simple-observer.html#TpSimpleObserver">TpSimpleObserver</a>.</p>
154 <a class="link" href="TpBaseChannel.html" title="TpBaseChannel">TpBaseChannel</a>, <a class="link" href="telepathy-glib-base-client.html#TpBaseClient">TpBaseClient</a>, <a class="link" href="TpBaseConnection.html" title="TpBaseConnection">TpBaseConnection</a>, <a class="link" href="TpBaseConnectionManager.html" title="TpBaseConnectionManager">TpBaseConnectionManager</a>, <a class="link" href="telepathy-glib-base-password-channel.html#TpBasePasswordChannel">TpBasePasswordChannel</a>, <a class="link" href="telepathy-glib-base-protocol.html#TpBaseProtocol">TpBaseProtocol</a>, <a class="link" href="telepathy-glib-debug-sender.html#TpDebugSender">TpDebugSender</a>, <a class="link" href="telepathy-glib-simple-approver.html#TpSimpleApprover">TpSimpleApprover</a>, <a class="link" href="telepathy-glib-simple-handler.html#TpSimpleHandler">TpSimpleHandler</a> and <a class="link" href="telepathy-glib-simple-observer.html#TpSimpleObserver">TpSimpleObserver</a>.</p>
155155 </div>
156156 <div class="refsect1" title="Signals">
157157 <a name="telepathy-glib-svc-generic.signals"></a><h2>Signals</h2>
19321932 <div class="refsect2" title='The "new-stream-handler" signal'>
19331933 <a name="TpSvcMediaSessionHandler-new-stream-handler"></a><h3>The <code class="literal">"new-stream-handler"</code> signal</h3>
19341934 <pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="telepathy-glib-svc-media-interfaces.html#TpSvcMediaSessionHandler"><span class="type">TpSvcMediaSessionHandler</span></a> *self,
1935 <span class="type">DBusGObjectPath</span> *arg_Stream_Handler,
1935 <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-Specializable-GType-System.html#DBusGObjectPath"><span class="type">DBusGObjectPath</span></a> *arg_Stream_Handler,
19361936 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_ID,
19371937 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Media_Type,
19381938 <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> arg_Direction,
4747 and define the type you'll be using, declaring it to implement the
4848 media stream handler interface:
4949 </p>
50 <div class="informalexample"><pre class="programlisting">
51 static void stream_handler_iface_init (gpointer, gpointer);
52
53 G_DEFINE_TYPE_WITH_CODE(GabbleMediaStream,
54 gabble_media_stream,
55 G_TYPE_OBJECT,
56 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_MEDIA_STREAM_HANDLER,
57 stream_handler_iface_init)
58 )
59 </pre></div>
50 <div class="informalexample">
51 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
52 <tbody>
53 <tr>
54 <td class="listing_lines" align="right"><pre>1
55 2
56 3
57 4
58 5
59 6
60 7
61 8</pre></td>
62 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span> <span class="function">stream_handler_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
63
64 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS">G_DEFINE_TYPE_WITH_CODE</a></span><span class="symbol">(</span>GabbleMediaStream<span class="symbol">,</span>
65 gabble_media_stream<span class="symbol">,</span>
66 G_TYPE_OBJECT<span class="symbol">,</span>
67 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_MEDIA_STREAM_HANDLER<span class="symbol">,</span>
68 stream_handler_iface_init<span class="symbol">)</span>
69 <span class="symbol">)</span></pre></td>
70 </tr>
71 </tbody>
72 </table>
73 </div>
74
6075 <p>
6176 Here we're using a subclass of G_TYPE_OBJECT. You can of course subclass
6277 any type.
6883 if you want to separate off chunks of functionality into a different
6984 .c file. For instance, here's GabbleConnection:
7085 </p>
71 <div class="informalexample"><pre class="programlisting">
72 /* in header files */
73 void conn_aliasing_iface_init (gpointer, gpointer);
74 void conn_avatars_iface_init (gpointer, gpointer);
75 void conn_presence_iface_init (gpointer, gpointer);
76
77 /* in gabble-connection.c */
78 static void conn_iface_init (gpointer, gpointer);
79 static void capabilities_iface_init (gpointer, gpointer);
80
81 G_DEFINE_TYPE_WITH_CODE(GabbleConnection,
82 gabble_connection,
83 TP_TYPE_BASE_CONNECTION,
84 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION,
85 conn_iface_init);
86 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_ALIASING,
87 conn_aliasing_iface_init);
88 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_AVATARS,
89 conn_avatars_iface_init);
90 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_CAPABILITIES,
91 capabilities_init);
92 G_IMPLEMENT_INTERFACE (TP_TYPE_SVC_CONNECTION_INTERFACE_PRESENCE,
93 conn_presence_iface_init);
94 )
95 </pre></div>
86 <div class="informalexample">
87 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
88 <tbody>
89 <tr>
90 <td class="listing_lines" align="right"><pre>1
91 2
92 3
93 4
94 5
95 6
96 7
97 8
98 9
99 10
100 11
101 12
102 13
103 14
104 15
105 16
106 17
107 18
108 19
109 20
110 21
111 22
112 23</pre></td>
113 <td class="listing_code"><pre class="programlisting"><span class="comment">/* in header files */</span>
114 <span class="gtkdoc kwb">void</span> <span class="function">conn_aliasing_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
115 <span class="gtkdoc kwb">void</span> <span class="function">conn_avatars_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
116 <span class="gtkdoc kwb">void</span> <span class="function">conn_presence_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
117
118 <span class="comment">/* in gabble-connection.c */</span>
119 <span class="gtkdoc kwb">static void</span> <span class="function">conn_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
120 <span class="gtkdoc kwb">static void</span> <span class="function">capabilities_iface_init</span> <span class="symbol">(</span>gpointer<span class="symbol">,</span> gpointer<span class="symbol">);</span>
121
122 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-DEFINE-TYPE-WITH-CODE:CAPS">G_DEFINE_TYPE_WITH_CODE</a></span><span class="symbol">(</span>GabbleConnection<span class="symbol">,</span>
123 gabble_connection<span class="symbol">,</span>
124 TP_TYPE_BASE_CONNECTION<span class="symbol">,</span>
125 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION<span class="symbol">,</span>
126 conn_iface_init<span class="symbol">);</span>
127 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_ALIASING<span class="symbol">,</span>
128 conn_aliasing_iface_init<span class="symbol">);</span>
129 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_AVATARS<span class="symbol">,</span>
130 conn_avatars_iface_init<span class="symbol">);</span>
131 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_CAPABILITIES<span class="symbol">,</span>
132 capabilities_init<span class="symbol">);</span>
133 <span class="function"><a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS">G_IMPLEMENT_INTERFACE</a></span> <span class="symbol">(</span>TP_TYPE_SVC_CONNECTION_INTERFACE_PRESENCE<span class="symbol">,</span>
134 conn_presence_iface_init<span class="symbol">);</span>
135 <span class="symbol">)</span></pre></td>
136 </tr>
137 </tbody>
138 </table>
139 </div>
140
96141 <p>
97142 The _class_init, _init etc. functions are just like normal, so I
98143 won't describe them here. One thing to note, though, is that for
106151 For example, here's the signature for the Error method on the
107152 media session handler interface:
108153 </p>
109 <div class="informalexample"><pre class="programlisting">
110 void (*tp_svc_media_session_handler_error_impl)
111 (TpSvcMediaSessionHandler *self, guint errno, const char *message,
112 DBusGMethodInvocation *context);
113 </pre></div>
154 <div class="informalexample">
155 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
156 <tbody>
157 <tr>
158 <td class="listing_lines" align="right"><pre>1
159 2
160 3</pre></td>
161 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">void</span> <span class="symbol">(*</span>tp_svc_media_session_handler_error_impl<span class="symbol">)</span>
162 <span class="symbol">(</span>TpSvcMediaSessionHandler <span class="symbol">*</span>self<span class="symbol">,</span> guint errno<span class="symbol">,</span> <span class="gtkdoc kwb">const char</span> <span class="symbol">*</span>message<span class="symbol">,</span>
163 DBusGMethodInvocation <span class="symbol">*</span>context<span class="symbol">);</span></pre></td>
164 </tr>
165 </tbody>
166 </table>
167 </div>
168
114169 <p>
115170 and here's the beginning of the corresponding implementation:
116171 </p>
117 <div class="informalexample"><pre class="programlisting">
118 static void
119 gabble_media_session_error (TpSvcMediaSessionHandler *iface,
120 guint errno,
121 const char *message,
122 DBusGMethodInvocation *context)
123 {
124 GabbleMediaSession *self = GABBLE_MEDIA_SESSION (iface);
125
126 /* do stuff with self here */
127 </pre></div>
172 <div class="informalexample">
173 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
174 <tbody>
175 <tr>
176 <td class="listing_lines" align="right"><pre>1
177 2
178 3
179 4
180 5
181 6
182 7
183 8
184 9</pre></td>
185 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
186 <span class="function">gabble_media_session_error</span> <span class="symbol">(</span>TpSvcMediaSessionHandler <span class="symbol">*</span>iface<span class="symbol">,</span>
187 guint errno<span class="symbol">,</span>
188 <span class="gtkdoc kwb">const char</span> <span class="symbol">*</span>message<span class="symbol">,</span>
189 DBusGMethodInvocation <span class="symbol">*</span>context<span class="symbol">)</span>
190 <span class="symbol">{</span>
191 GabbleMediaSession <span class="symbol">*</span>self <span class="symbol">=</span> <span class="function">GABBLE_MEDIA_SESSION</span> <span class="symbol">(</span>iface<span class="symbol">);</span>
192
193 <span class="comment">/* do stuff with self here */</span></pre></td>
194 </tr>
195 </tbody>
196 </table>
197 </div>
198
128199 <p>
129200 All service methods in telepathy-glib are asynchronous - you can of
130201 course implement them synchronously if you like, but you have to return
146217 tp_svc_media_session_handler_return_from_error() doesn't take any
147218 parameters apart from the DBusGMethodInvocation:
148219 </p>
149 <div class="informalexample"><pre class="programlisting">
150 static void
151 gabble_media_session_error (TpSvcMediaSessionHandler *iface,
152 guint errno,
153 const char *message,
154 DBusGMethodInvocation *context)
155 {
156 GabbleMediaSession *self = GABBLE_MEDIA_SESSION (iface);
157
158 /* do stuff with self here */
159
160 tp_svc_media_session_handler_return_from_error (context);
161 }
162 </pre></div>
220 <div class="informalexample">
221 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
222 <tbody>
223 <tr>
224 <td class="listing_lines" align="right"><pre>1
225 2
226 3
227 4
228 5
229 6
230 7
231 8
232 9
233 10
234 11
235 12</pre></td>
236 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
237 <span class="function">gabble_media_session_error</span> <span class="symbol">(</span>TpSvcMediaSessionHandler <span class="symbol">*</span>iface<span class="symbol">,</span>
238 guint errno<span class="symbol">,</span>
239 <span class="gtkdoc kwb">const char</span> <span class="symbol">*</span>message<span class="symbol">,</span>
240 DBusGMethodInvocation <span class="symbol">*</span>context<span class="symbol">)</span>
241 <span class="symbol">{</span>
242 GabbleMediaSession <span class="symbol">*</span>self <span class="symbol">=</span> <span class="function">GABBLE_MEDIA_SESSION</span> <span class="symbol">(</span>iface<span class="symbol">);</span>
243
244 <span class="comment">/* do stuff with self here */</span>
245
246 <span class="function"><a href="telepathy-glib-svc-media-interfaces.html#tp-svc-media-session-handler-return-from-error">tp_svc_media_session_handler_return_from_error</a></span> <span class="symbol">(</span>context<span class="symbol">);</span>
247 <span class="symbol">}</span></pre></td>
248 </tr>
249 </tbody>
250 </table>
251 </div>
252
163253 <p>
164254 </p>
165255 <p>
172262 function whose name contains _emit_. This is prototyped to take
173263 the correct arguments for the signal, and emits it efficiently:
174264 </p>
175 <div class="informalexample"><pre class="programlisting">
176 tp_svc_media_session_handler_emit_new_stream_handler (session,
177 object_path, id, media_type, TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL);
178 </pre></div>
265 <div class="informalexample">
266 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
267 <tbody>
268 <tr>
269 <td class="listing_lines" align="right"><pre>1
270 2</pre></td>
271 <td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-svc-media-interfaces.html#tp-svc-media-session-handler-emit-new-stream-handler">tp_svc_media_session_handler_emit_new_stream_handler</a></span> <span class="symbol">(</span>session<span class="symbol">,</span>
272 object_path<span class="symbol">,</span> id<span class="symbol">,</span> media_type<span class="symbol">,</span> TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL<span class="symbol">);</span></pre></td>
273 </tr>
274 </tbody>
275 </table>
276 </div>
277
179278 <p>
180279 </p>
181280 <p>
186285 to an interface. Instead, you call functions, with pointers to your
187286 method implementations as a parameter:
188287 </p>
189 <div class="informalexample"><pre class="programlisting">
190 static void
191 session_handler_iface_init (gpointer g_iface, gpointer iface_data)
192 {
193 TpSvcMediaSessionHandlerClass *klass =
194 (TpSvcMediaSessionHandlerClass *)g_iface;
195
196 tp_svc_media_session_handler_implement_error (klass,
197 gabble_media_session_error);
198 tp_svc_media_session_handler_implement_ready (klass,
199 gabble_media_session_ready);
200 }
201 </pre></div>
288 <div class="informalexample">
289 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
290 <tbody>
291 <tr>
292 <td class="listing_lines" align="right"><pre>1
293 2
294 3
295 4
296 5
297 6
298 7
299 8
300 9
301 10
302 11</pre></td>
303 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
304 <span class="function">session_handler_iface_init</span> <span class="symbol">(</span>gpointer g_iface<span class="symbol">,</span> gpointer iface_data<span class="symbol">)</span>
305 <span class="symbol">{</span>
306 TpSvcMediaSessionHandlerClass <span class="symbol">*</span>klass <span class="symbol">=</span>
307 <span class="symbol">(</span>TpSvcMediaSessionHandlerClass <span class="symbol">*)</span>g_iface<span class="symbol">;</span>
308
309 <span class="function"><a href="telepathy-glib-svc-media-interfaces.html#tp-svc-media-session-handler-implement-error">tp_svc_media_session_handler_implement_error</a></span> <span class="symbol">(</span>klass<span class="symbol">,</span>
310 gabble_media_session_error<span class="symbol">);</span>
311 <span class="function"><a href="telepathy-glib-svc-media-interfaces.html#tp-svc-media-session-handler-implement-ready">tp_svc_media_session_handler_implement_ready</a></span> <span class="symbol">(</span>klass<span class="symbol">,</span>
312 gabble_media_session_ready<span class="symbol">);</span>
313 <span class="symbol">}</span></pre></td>
314 </tr>
315 </tbody>
316 </table>
317 </div>
318
202319 <p>
203320 This is obviously quite repetitive if there are a lot of methods, so
204321 the convention I've used in telepathy-glib, Gabble and
205322 telepathy-sofiasip is to define a temporary macro called IMPLEMENT:
206323 </p>
207 <div class="informalexample"><pre class="programlisting">
208 static void
209 session_handler_iface_init (gpointer g_iface, gpointer iface_data)
210 {
211 TpSvcMediaSessionHandlerClass *klass =
212 (TpSvcMediaSessionHandlerClass *)g_iface;
213
214 #define IMPLEMENT(x) tp_svc_media_session_handler_implement_##x (\
215 klass, gabble_media_session_##x)
216 IMPLEMENT(error);
217 IMPLEMENT(ready);
218 #undef IMPLEMENT
219 }
220 </pre></div>
324 <div class="informalexample">
325 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
326 <tbody>
327 <tr>
328 <td class="listing_lines" align="right"><pre>1
329 2
330 3
331 4
332 5
333 6
334 7
335 8
336 9
337 10
338 11
339 12</pre></td>
340 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">static void</span>
341 <span class="function">session_handler_iface_init</span> <span class="symbol">(</span>gpointer g_iface<span class="symbol">,</span> gpointer iface_data<span class="symbol">)</span>
342 <span class="symbol">{</span>
343 TpSvcMediaSessionHandlerClass <span class="symbol">*</span>klass <span class="symbol">=</span>
344 <span class="symbol">(</span>TpSvcMediaSessionHandlerClass <span class="symbol">*)</span>g_iface<span class="symbol">;</span>
345
346 <span class="preproc">#define IMPLEMENT(x) tp_svc_media_session_handler_implement_##x (\</span>
347 <span class="preproc"> klass, gabble_media_session_##x)</span>
348 <span class="function">IMPLEMENT</span><span class="symbol">(</span>error<span class="symbol">);</span>
349 <span class="function">IMPLEMENT</span><span class="symbol">(</span>ready<span class="symbol">);</span>
350 <span class="preproc">#undef IMPLEMENT</span>
351 <span class="symbol">}</span></pre></td>
352 </tr>
353 </tbody>
354 </table>
355 </div>
356
221357 <p>
222358 </p>
223359 <p>
11601160 <p>
11611161 </p>
11621162 <div class="example">
1163 <a name="id1155167"></a><p class="title"><b>Example 2.  using tp_value_array_build</b></p>
1164 <div class="example-contents"><pre class="programlisting">
1165 GValueArray *array = tp_value_array_build (2,
1166 G_TYPE_STRING, host,
1167 G_TYPE_UINT, port,
1168 G_TYPE_INVALID);
1169 </pre></div>
1163 <a name="id1308589"></a><p class="title"><b>Example 2.  using tp_value_array_build</b></p>
1164 <div class="example-contents">
1165 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1166 <tbody>
1167 <tr>
1168 <td class="listing_lines" align="right"><pre>1
1169 2
1170 3
1171 4</pre></td>
1172 <td class="listing_code"><pre class="programlisting">GValueArray <span class="symbol">*</span>array <span class="symbol">=</span> <span class="function"><a href="telepathy-glib-util.html#tp-value-array-build">tp_value_array_build</a></span> <span class="symbol">(</span><span class="number">2</span><span class="symbol">,</span>
1173 G_TYPE_STRING<span class="symbol">,</span> host<span class="symbol">,</span>
1174 G_TYPE_UINT<span class="symbol">,</span> port<span class="symbol">,</span>
1175 G_TYPE_INVALID<span class="symbol">);</span></pre></td>
1176 </tr>
1177 </tbody>
1178 </table>
1179 </div>
1180
11701181 </div>
11711182 <p><br class="example-break">
11721183 </p>
12151226 <p>
12161227 </p>
12171228 <div class="example">
1218 <a name="id1155346"></a><p class="title"><b>Example 3. using tp_value_array_unpack</b></p>
1219 <div class="example-contents"><pre class="programlisting">
1220 const gchar *host;
1221 guint port;
1222
1223 tp_value_array_unpack (array, 2,
1224 &amp;host,
1225 &amp;port);
1226 </pre></div>
1229 <a name="id1308768"></a><p class="title"><b>Example 3. using tp_value_array_unpack</b></p>
1230 <div class="example-contents">
1231 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1232 <tbody>
1233 <tr>
1234 <td class="listing_lines" align="right"><pre>1
1235 2
1236 3
1237 4
1238 5
1239 6</pre></td>
1240 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwb">const</span> gchar <span class="symbol">*</span>host<span class="symbol">;</span>
1241 guint port<span class="symbol">;</span>
1242
1243 <span class="function"><a href="telepathy-glib-util.html#tp-value-array-unpack">tp_value_array_unpack</a></span> <span class="symbol">(</span>array<span class="symbol">,</span> <span class="number">2</span><span class="symbol">,</span>
1244 <span class="symbol">&amp;</span>host<span class="symbol">,</span>
1245 <span class="symbol">&amp;</span>port<span class="symbol">);</span></pre></td>
1246 </tr>
1247 </tbody>
1248 </table>
1249 </div>
1250
12271251 </div>
12281252 <p><br class="example-break">
12291253 </p>
13891413 unref or destroy the object it previously pointed to with <em class="parameter"><code>destroy</code></em>.
13901414 </p>
13911415 <p>
1392 More precisely, if both <em class="parameter"><code>pp</code></em> and *<em class="parameter"><code>pp</code></em> are non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set *<em class="parameter"><code>pp</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
1416 More precisely, if *<em class="parameter"><code>pp</code></em> is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set *<em class="parameter"><code>pp</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
13931417 call <em class="parameter"><code>destroy</code></em> on the object that *<em class="parameter"><code>pp</code></em> previously pointed to.
13941418 </p>
13951419 <p>
14011425 </p>
14021426 <p>
14031427 </p>
1404 <div class="informalexample"><pre class="programlisting">
1405 typedef struct {
1406 TpConnection *conn;
1407 GError *error;
1408 GHashTable *table;
1409 MyStruct *misc;
1410 } Foo;
1411 Foo *foo;
1412
1413 ...
1414
1415 tp_clear_object (&amp;foo-&gt;conn);
1416 g_clear_error (&amp;foo-&gt;error);
1417 tp_clear_boxed (G_TYPE_HASH_TABLE, &amp;foo-&gt;table);
1418 tp_clear_pointer (&amp;foo-&gt;misc, my_struct_destroy);
1419 </pre></div>
1428 <div class="informalexample">
1429 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
1430 <tbody>
1431 <tr>
1432 <td class="listing_lines" align="right"><pre>1
1433 2
1434 3
1435 4
1436 5
1437 6
1438 7
1439 8
1440 9
1441 10
1442 11
1443 12
1444 13
1445 14</pre></td>
1446 <td class="listing_code"><pre class="programlisting"><span class="gtkdoc kwc">typedef</span> <span class="gtkdoc kwb">struct</span> <span class="symbol">{</span>
1447 TpConnection <span class="symbol">*</span>conn<span class="symbol">;</span>
1448 GError <span class="symbol">*</span>error<span class="symbol">;</span>
1449 GHashTable <span class="symbol">*</span>table<span class="symbol">;</span>
1450 MyStruct <span class="symbol">*</span>misc<span class="symbol">;</span>
1451 <span class="symbol">}</span> Foo<span class="symbol">;</span>
1452 Foo <span class="symbol">*</span>foo<span class="symbol">;</span>
1453
1454 <span class="symbol">...</span>
1455
1456 <span class="function"><a href="telepathy-glib-util.html#tp-clear-object">tp_clear_object</a></span> <span class="symbol">(&amp;</span>foo<span class="symbol">-&gt;</span>conn<span class="symbol">);</span>
1457 <span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#g-clear-error">g_clear_error</a></span> <span class="symbol">(&amp;</span>foo<span class="symbol">-&gt;</span>error<span class="symbol">);</span>
1458 <span class="function"><a href="telepathy-glib-util.html#tp-clear-boxed">tp_clear_boxed</a></span> <span class="symbol">(</span>G_TYPE_HASH_TABLE<span class="symbol">, &amp;</span>foo<span class="symbol">-&gt;</span>table<span class="symbol">);</span>
1459 <span class="function"><a href="telepathy-glib-util.html#tp-clear-pointer">tp_clear_pointer</a></span> <span class="symbol">(&amp;</span>foo<span class="symbol">-&gt;</span>misc<span class="symbol">,</span> my_struct_destroy<span class="symbol">);</span></pre></td>
1460 </tr>
1461 </tbody>
1462 </table>
1463 </div>
1464
14201465 <p>
14211466 </p>
14221467 <div class="variablelist"><table border="0">
14241469 <tbody>
14251470 <tr>
14261471 <td><p><span class="term"><em class="parameter"><code>pp</code></em> :</span></p></td>
1427 <td> a pointer to a variable, struct member etc. holding a
1428 pointer. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1472 <td>a pointer to a variable, struct member etc. holding a pointer
14291473 </td>
14301474 </tr>
14311475 <tr>
14561500 <col align="left" valign="top">
14571501 <tbody><tr>
14581502 <td><p><span class="term"><em class="parameter"><code>op</code></em> :</span></p></td>
1459 <td> a pointer to a variable, struct member etc. holding a
1460 <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1503 <td>a pointer to a variable, struct member etc. holding a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a>
14611504 </td>
14621505 </tr></tbody>
14631506 </table></div>
14731516 <em class="parameter"><code>gtype</code></em>.
14741517 </p>
14751518 <p>
1476 More precisely, if both <em class="parameter"><code>pp</code></em> and *<em class="parameter"><code>pp</code></em> are non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set *<em class="parameter"><code>pp</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
1519 More precisely, if *<em class="parameter"><code>pp</code></em> is non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, set *<em class="parameter"><code>pp</code></em> to <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then
14771520 call <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Boxed-Types.html#g-boxed-free"><code class="function">g_boxed_free()</code></a> on the object that *<em class="parameter"><code>pp</code></em> previously pointed to.
14781521 </p>
14791522 <p>
14901533 </tr>
14911534 <tr>
14921535 <td><p><span class="term"><em class="parameter"><code>pp</code></em> :</span></p></td>
1493 <td> a pointer to a variable, struct member etc. holding a
1494 boxed object. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
1536 <td>a pointer to a variable, struct member etc. holding a boxed object
14951537 </td>
14961538 </tr>
14971539 </tbody>
15841626 <p>
15851627 Interpret a Telepathy user action time to decide whether a Handler should
15861628 attempt to gain focus. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, it would be appropriate to
1587 call <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html#gtk-window-present-with-time"><code class="function">gtk_window_present_with_time()</code></a> using <em class="parameter"><code>x11_time</code></em> as input, for instance.
1629 call <a href="/usr/share/gtk-doc/html/gtk/GtkWindow.html#gtk-window-present-with-time"><code class="function">gtk_window_present_with_time()</code></a> using <em class="parameter"><code>x11_time</code></em> as input, for instance.
15881630 </p>
15891631 <p>
15901632 <em class="parameter"><code>x11_time</code></em> is used to return a timestamp in the right format for X11,
117117 <sub name="TpMessageMixin" link="telepathy-glib-TpMessageMixin.html"/>
118118 <sub name="TpMessage" link="TpMessage.html"/>
119119 <sub name="TpCMMessage" link="TpCMMessage.html"/>
120 <sub name="TpBasePasswordChannel" link="telepathy-glib-base-password-channel.html"/>
120121 <sub name="TpSimplePasswordManager" link="telepathy-glib-simple-password-manager.html"/>
121122 <sub name="TpBaseClient" link="telepathy-glib-base-client.html"/>
122123 <sub name="TpObserveChannelsContext" link="telepathy-glib-observe-channels-context.html"/>
413414 <function name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_GROUPS" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-GROUPS:CAPS"/>
414415 <function name="TP_IFACE_CONNECTION_INTERFACE_POWER_SAVING" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-POWER-SAVING:CAPS"/>
415416 <function name="TP_IFACE_QUARK_CONNECTION_INTERFACE_POWER_SAVING" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-POWER-SAVING:CAPS"/>
417 <function name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"/>
418 <function name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"/>
416419 <function name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS"/>
417420 <function name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_INFO" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-INFO:CAPS"/>
418421 <function name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_LIST" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-LIST:CAPS"/>
631634 <function name="TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-FILE-TRANSFER-URI:CAPS"/>
632635 <function name="TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-ROOM-LIST-SERVER:CAPS"/>
633636 <function name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-HOSTNAME:CAPS"/>
637 <function name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS"/>
634638 <function name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS"/>
635639 <function name="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_IMMUTABLE_STREAMS" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-IMMUTABLE-STREAMS:CAPS"/>
636640 <function name="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-INITIAL-AUDIO:CAPS"/>
666670 <function name="TP_PROP_CONNECTION_INTERFACE_CELLULAR_MESSAGE_VALIDITY_PERIOD" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-MESSAGE-VALIDITY-PERIOD:CAPS"/>
667671 <function name="TP_PROP_CONNECTION_INTERFACE_CELLULAR_OVERRIDE_MESSAGE_SERVICE_CENTRE" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-OVERRIDE-MESSAGE-SERVICE-CENTRE:CAPS"/>
668672 <function name="TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACTS-CONTACT-ATTRIBUTE-INTERFACES:CAPS"/>
673 <function name="TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS"/>
669674 <function name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS"/>
670675 <function name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS"/>
671676 <function name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUP_STORAGE" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUP-STORAGE:CAPS"/>
719724 <function name="TP_TOKEN_CONNECTION_INTERFACE_AVATARS_TOKEN" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-AVATARS-TOKEN:CAPS"/>
720725 <function name="TP_TOKEN_CONNECTION_INTERFACE_CAPABILITIES_CAPS" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CAPABILITIES-CAPS"/>
721726 <function name="TP_TOKEN_CONNECTION_INTERFACE_CLIENT_TYPES_CLIENT_TYPES" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CLIENT-TYPES-CLIENT-TYPES:CAPS"/>
727 <function name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS"/>
722728 <function name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS"/>
723729 <function name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS"/>
724730 <function name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_INFO_INFO" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-INFO-INFO:CAPS"/>
764770 <function name="enum TpChannelGroupChangeReason" link="telepathy-glib-enums.html#TpChannelGroupChangeReason"/>
765771 <function name="NUM_TP_CHANNEL_GROUP_CHANGE_REASONS" link="telepathy-glib-enums.html#NUM-TP-CHANNEL-GROUP-CHANGE-REASONS:CAPS"/>
766772 <function name="enum TpChannelPasswordFlags" link="telepathy-glib-enums.html#TpChannelPasswordFlags"/>
773 <function name="enum TpContactBlockingCapabilities" link="telepathy-glib-enums.html#TpContactBlockingCapabilities"/>
767774 <function name="enum TpDeliveryReportingSupportFlags" link="telepathy-glib-enums.html#TpDeliveryReportingSupportFlags"/>
768775 <function name="enum TpDeliveryStatus" link="telepathy-glib-enums.html#TpDeliveryStatus"/>
769776 <function name="NUM_TP_DELIVERY_STATUSES" link="telepathy-glib-enums.html#NUM-TP-DELIVERY-STATUSES:CAPS"/>
13481355 <function name="tp_cli_connection_interface_contact_info_run_request_contact_info ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-run-request-contact-info"/>
13491356 <function name="tp_cli_connection_interface_contact_info_run_set_contact_info ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-run-set-contact-info"/>
13501357 <function name="tp_cli_connection_interface_contact_info_signal_callback_contact_info_changed ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-signal-callback-contact-info-changed"/>
1358 <function name="tp_cli_connection_interface_contact_blocking_call_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-block-contacts"/>
1359 <function name="tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts"/>
1360 <function name="tp_cli_connection_interface_contact_blocking_call_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-unblock-contacts"/>
1361 <function name="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts"/>
1362 <function name="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts"/>
1363 <function name="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts"/>
1364 <function name="tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed"/>
1365 <function name="tp_cli_connection_interface_contact_blocking_run_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-block-contacts"/>
1366 <function name="tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts"/>
1367 <function name="tp_cli_connection_interface_contact_blocking_run_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-unblock-contacts"/>
1368 <function name="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed"/>
13511369 <function name="tp_cli_connection_interface_contact_groups_call_add_to_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-add-to-group"/>
13521370 <function name="tp_cli_connection_interface_contact_groups_call_remove_from_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-from-group"/>
13531371 <function name="tp_cli_connection_interface_contact_groups_call_remove_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-group"/>
27792797 <function name="tp_svc_connection_interface_contact_info_return_from_request_contact_info ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-request-contact-info"/>
27802798 <function name="tp_svc_connection_interface_contact_info_return_from_set_contact_info ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-set-contact-info"/>
27812799 <function name="tp_svc_connection_interface_contact_info_set_contact_info_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-set-contact-info-impl"/>
2800 <function name="TpSvcConnectionInterfaceContactBlocking" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-struct"/>
2801 <function name="TpSvcConnectionInterfaceContactBlockingClass" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass"/>
2802 <function name="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl"/>
2803 <function name="tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed"/>
2804 <function name="tp_svc_connection_interface_contact_blocking_implement_block_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-block-contacts"/>
2805 <function name="tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts"/>
2806 <function name="tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-unblock-contacts"/>
2807 <function name="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl"/>
2808 <function name="tp_svc_connection_interface_contact_blocking_return_from_block_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-block-contacts"/>
2809 <function name="tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts"/>
2810 <function name="tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts"/>
2811 <function name="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl"/>
27822812 <function name="TpSvcConnectionInterfaceContactGroups" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-struct"/>
27832813 <function name="TpSvcConnectionInterfaceContactGroupsClass" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroupsClass"/>
27842814 <function name="tp_svc_connection_interface_contact_groups_add_to_group_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-groups-add-to-group-impl"/>
28702900 <function name="The &quot;contact-capabilities-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactCapabilities-contact-capabilities-changed"/>
28712901 <function name="The &quot;location-updated&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceLocation-location-updated"/>
28722902 <function name="The &quot;contact-info-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactInfo-contact-info-changed"/>
2903 <function name="The &quot;blocked-contacts-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed"/>
28732904 <function name="The &quot;group-renamed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-group-renamed"/>
28742905 <function name="The &quot;groups-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-changed"/>
28752906 <function name="The &quot;groups-created&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-created"/>
35013532 <function name="tp_cm_message_take_message ()" link="TpCMMessage.html#tp-cm-message-take-message"/>
35023533 <function name="tp_cm_message_get_sender ()" link="TpCMMessage.html#tp-cm-message-get-sender"/>
35033534 <function name="tp_cm_message_set_sender ()" link="TpCMMessage.html#tp-cm-message-set-sender"/>
3535 <function name="TpBasePasswordChannel" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-struct"/>
3536 <function name="The &quot;authentication-method&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authentication-method"/>
3537 <function name="The &quot;authorization-identity&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authorization-identity"/>
3538 <function name="The &quot;available-mechanisms&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--available-mechanisms"/>
3539 <function name="The &quot;can-try-again&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--can-try-again"/>
3540 <function name="The &quot;default-realm&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-realm"/>
3541 <function name="The &quot;default-username&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-username"/>
3542 <function name="The &quot;has-initial-data&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--has-initial-data"/>
3543 <function name="The &quot;may-save-response&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--may-save-response"/>
3544 <function name="The &quot;sasl-error&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error"/>
3545 <function name="The &quot;sasl-error-details&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error-details"/>
3546 <function name="The &quot;sasl-status&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-status"/>
3547 <function name="The &quot;finished&quot; signal" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-finished"/>
35043548 <function name="TpSimplePasswordManager" link="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager-struct"/>
35053549 <function name="tp_simple_password_manager_new ()" link="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-new"/>
35063550 <function name="tp_simple_password_manager_prompt_async ()" link="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-prompt-async"/>
117117 <sub name="TpMessageMixin" link="telepathy-glib-TpMessageMixin.html"/>
118118 <sub name="TpMessage" link="TpMessage.html"/>
119119 <sub name="TpCMMessage" link="TpCMMessage.html"/>
120 <sub name="TpBasePasswordChannel" link="telepathy-glib-base-password-channel.html"/>
120121 <sub name="TpSimplePasswordManager" link="telepathy-glib-simple-password-manager.html"/>
121122 <sub name="TpBaseClient" link="telepathy-glib-base-client.html"/>
122123 <sub name="TpObserveChannelsContext" link="telepathy-glib-observe-channels-context.html"/>
413414 <keyword type="macro" name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_GROUPS" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-GROUPS:CAPS"/>
414415 <keyword type="macro" name="TP_IFACE_CONNECTION_INTERFACE_POWER_SAVING" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-POWER-SAVING:CAPS"/>
415416 <keyword type="macro" name="TP_IFACE_QUARK_CONNECTION_INTERFACE_POWER_SAVING" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-POWER-SAVING:CAPS"/>
417 <keyword type="macro" name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"/>
418 <keyword type="macro" name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-BLOCKING:CAPS"/>
416419 <keyword type="macro" name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-INFO:CAPS"/>
417420 <keyword type="macro" name="TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_INFO" link="telepathy-glib-interfaces.html#TP-IFACE-QUARK-CONNECTION-INTERFACE-CONTACT-INFO:CAPS"/>
418421 <keyword type="macro" name="TP_IFACE_CONNECTION_INTERFACE_CONTACT_LIST" link="telepathy-glib-interfaces.html#TP-IFACE-CONNECTION-INTERFACE-CONTACT-LIST:CAPS"/>
631634 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-FILE-TRANSFER-URI:CAPS"/>
632635 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-ROOM-LIST-SERVER:CAPS"/>
633636 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-HOSTNAME:CAPS"/>
637 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-REFERENCE-IDENTITIES:CAPS"/>
634638 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-SERVER-TLS-CONNECTION-SERVER-CERTIFICATE:CAPS"/>
635639 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_IMMUTABLE_STREAMS" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-IMMUTABLE-STREAMS:CAPS"/>
636640 <keyword type="macro" name="TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO" link="telepathy-glib-interfaces.html#TP-PROP-CHANNEL-TYPE-STREAMED-MEDIA-INITIAL-AUDIO:CAPS"/>
666670 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CELLULAR_MESSAGE_VALIDITY_PERIOD" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-MESSAGE-VALIDITY-PERIOD:CAPS"/>
667671 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CELLULAR_OVERRIDE_MESSAGE_SERVICE_CENTRE" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CELLULAR-OVERRIDE-MESSAGE-SERVICE-CENTRE:CAPS"/>
668672 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACTS-CONTACT-ATTRIBUTE-INTERFACES:CAPS"/>
673 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-BLOCKING-CONTACT-BLOCKING-CAPABILITIES:CAPS"/>
669674 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-DISJOINT-GROUPS:CAPS"/>
670675 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS"/>
671676 <keyword type="macro" name="TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUP_STORAGE" link="telepathy-glib-interfaces.html#TP-PROP-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUP-STORAGE:CAPS"/>
719724 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_AVATARS_TOKEN" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-AVATARS-TOKEN:CAPS"/>
720725 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CAPABILITIES_CAPS" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CAPABILITIES-CAPS"/>
721726 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CLIENT_TYPES_CLIENT_TYPES" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CLIENT-TYPES-CLIENT-TYPES:CAPS"/>
727 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-BLOCKING-BLOCKED:CAPS"/>
722728 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-CAPABILITIES-CAPABILITIES:CAPS"/>
723729 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-GROUPS-GROUPS:CAPS"/>
724730 <keyword type="macro" name="TP_TOKEN_CONNECTION_INTERFACE_CONTACT_INFO_INFO" link="telepathy-glib-interfaces.html#TP-TOKEN-CONNECTION-INTERFACE-CONTACT-INFO-INFO:CAPS"/>
764770 <keyword type="enum" name="enum TpChannelGroupChangeReason" link="telepathy-glib-enums.html#TpChannelGroupChangeReason"/>
765771 <keyword type="macro" name="NUM_TP_CHANNEL_GROUP_CHANGE_REASONS" link="telepathy-glib-enums.html#NUM-TP-CHANNEL-GROUP-CHANGE-REASONS:CAPS"/>
766772 <keyword type="enum" name="enum TpChannelPasswordFlags" link="telepathy-glib-enums.html#TpChannelPasswordFlags"/>
773 <keyword type="enum" name="enum TpContactBlockingCapabilities" link="telepathy-glib-enums.html#TpContactBlockingCapabilities"/>
767774 <keyword type="enum" name="enum TpDeliveryReportingSupportFlags" link="telepathy-glib-enums.html#TpDeliveryReportingSupportFlags"/>
768775 <keyword type="enum" name="enum TpDeliveryStatus" link="telepathy-glib-enums.html#TpDeliveryStatus"/>
769776 <keyword type="macro" name="NUM_TP_DELIVERY_STATUSES" link="telepathy-glib-enums.html#NUM-TP-DELIVERY-STATUSES:CAPS"/>
13481355 <keyword type="function" name="tp_cli_connection_interface_contact_info_run_request_contact_info ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-run-request-contact-info" deprecated=""/>
13491356 <keyword type="function" name="tp_cli_connection_interface_contact_info_run_set_contact_info ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-run-set-contact-info" deprecated=""/>
13501357 <keyword type="function" name="tp_cli_connection_interface_contact_info_signal_callback_contact_info_changed ()" link="telepathy-glib-connection-contact-info.html#tp-cli-connection-interface-contact-info-signal-callback-contact-info-changed"/>
1358 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_call_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-block-contacts"/>
1359 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-request-blocked-contacts"/>
1360 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_call_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-call-unblock-contacts"/>
1361 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-block-contacts"/>
1362 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-request-blocked-contacts"/>
1363 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-callback-for-unblock-contacts"/>
1364 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-connect-to-blocked-contacts-changed"/>
1365 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_run_block_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-block-contacts" deprecated=""/>
1366 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-request-blocked-contacts" deprecated=""/>
1367 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_run_unblock_contacts ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-run-unblock-contacts" deprecated=""/>
1368 <keyword type="function" name="tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-blocking-signal-callback-blocked-contacts-changed"/>
13511369 <keyword type="function" name="tp_cli_connection_interface_contact_groups_call_add_to_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-add-to-group"/>
13521370 <keyword type="function" name="tp_cli_connection_interface_contact_groups_call_remove_from_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-from-group"/>
13531371 <keyword type="function" name="tp_cli_connection_interface_contact_groups_call_remove_group ()" link="telepathy-glib-connection-contact-list.html#tp-cli-connection-interface-contact-groups-call-remove-group"/>
27792797 <keyword type="function" name="tp_svc_connection_interface_contact_info_return_from_request_contact_info ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-request-contact-info"/>
27802798 <keyword type="function" name="tp_svc_connection_interface_contact_info_return_from_set_contact_info ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-return-from-set-contact-info"/>
27812799 <keyword type="function" name="tp_svc_connection_interface_contact_info_set_contact_info_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-info-set-contact-info-impl"/>
2800 <keyword type="struct" name="TpSvcConnectionInterfaceContactBlocking" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-struct"/>
2801 <keyword type="struct" name="TpSvcConnectionInterfaceContactBlockingClass" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlockingClass"/>
2802 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_block_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-block-contacts-impl"/>
2803 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-emit-blocked-contacts-changed"/>
2804 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_implement_block_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-block-contacts"/>
2805 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-request-blocked-contacts"/>
2806 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-implement-unblock-contacts"/>
2807 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-request-blocked-contacts-impl"/>
2808 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_return_from_block_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-block-contacts"/>
2809 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-request-blocked-contacts"/>
2810 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-return-from-unblock-contacts"/>
2811 <keyword type="function" name="tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-blocking-unblock-contacts-impl"/>
27822812 <keyword type="struct" name="TpSvcConnectionInterfaceContactGroups" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-struct"/>
27832813 <keyword type="struct" name="TpSvcConnectionInterfaceContactGroupsClass" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroupsClass"/>
27842814 <keyword type="function" name="tp_svc_connection_interface_contact_groups_add_to_group_impl ()" link="telepathy-glib-svc-connection.html#tp-svc-connection-interface-contact-groups-add-to-group-impl"/>
28702900 <keyword type="signal" name="The &quot;contact-capabilities-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactCapabilities-contact-capabilities-changed"/>
28712901 <keyword type="signal" name="The &quot;location-updated&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceLocation-location-updated"/>
28722902 <keyword type="signal" name="The &quot;contact-info-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactInfo-contact-info-changed"/>
2903 <keyword type="signal" name="The &quot;blocked-contacts-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactBlocking-blocked-contacts-changed"/>
28732904 <keyword type="signal" name="The &quot;group-renamed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-group-renamed"/>
28742905 <keyword type="signal" name="The &quot;groups-changed&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-changed"/>
28752906 <keyword type="signal" name="The &quot;groups-created&quot; signal" link="telepathy-glib-svc-connection.html#TpSvcConnectionInterfaceContactGroups-groups-created"/>
35013532 <keyword type="function" name="tp_cm_message_take_message ()" link="TpCMMessage.html#tp-cm-message-take-message" since="0.13.9"/>
35023533 <keyword type="function" name="tp_cm_message_get_sender ()" link="TpCMMessage.html#tp-cm-message-get-sender" since="0.13.9"/>
35033534 <keyword type="function" name="tp_cm_message_set_sender ()" link="TpCMMessage.html#tp-cm-message-set-sender" since="0.13.9"/>
3535 <keyword type="struct" name="TpBasePasswordChannel" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-struct"/>
3536 <keyword type="property" name="The &quot;authentication-method&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authentication-method"/>
3537 <keyword type="property" name="The &quot;authorization-identity&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--authorization-identity"/>
3538 <keyword type="property" name="The &quot;available-mechanisms&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--available-mechanisms"/>
3539 <keyword type="property" name="The &quot;can-try-again&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--can-try-again"/>
3540 <keyword type="property" name="The &quot;default-realm&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-realm"/>
3541 <keyword type="property" name="The &quot;default-username&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--default-username"/>
3542 <keyword type="property" name="The &quot;has-initial-data&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--has-initial-data"/>
3543 <keyword type="property" name="The &quot;may-save-response&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--may-save-response"/>
3544 <keyword type="property" name="The &quot;sasl-error&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error"/>
3545 <keyword type="property" name="The &quot;sasl-error-details&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-error-details"/>
3546 <keyword type="property" name="The &quot;sasl-status&quot; property" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel--sasl-status"/>
3547 <keyword type="signal" name="The &quot;finished&quot; signal" link="telepathy-glib-base-password-channel.html#TpBasePasswordChannel-finished"/>
35043548 <keyword type="struct" name="TpSimplePasswordManager" link="telepathy-glib-simple-password-manager.html#TpSimplePasswordManager-struct"/>
35053549 <keyword type="function" name="tp_simple_password_manager_new ()" link="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-new"/>
35063550 <keyword type="function" name="tp_simple_password_manager_prompt_async ()" link="telepathy-glib-simple-password-manager.html#tp-simple-password-manager-prompt-async" since="0.13.8"/>
39704014 <keyword type="constant" name="TP_CHANNEL_GROUP_CHANGE_REASON_PERMISSION_DENIED" link="telepathy-glib-enums.html#TP-CHANNEL-GROUP-CHANGE-REASON-PERMISSION-DENIED:CAPS"/>
39714015 <keyword type="constant" name="TP_CHANNEL_GROUP_CHANGE_REASON_SEPARATED" link="telepathy-glib-enums.html#TP-CHANNEL-GROUP-CHANGE-REASON-SEPARATED:CAPS"/>
39724016 <keyword type="constant" name="TP_CHANNEL_PASSWORD_FLAG_PROVIDE" link="telepathy-glib-enums.html#TP-CHANNEL-PASSWORD-FLAG-PROVIDE:CAPS"/>
4017 <keyword type="constant" name="TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE" link="telepathy-glib-enums.html#TP-CONTACT-BLOCKING-CAPABILITY-CAN-REPORT-ABUSIVE:CAPS"/>
39734018 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS"/>
39744019 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS"/>
39754020 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-READ:CAPS"/>
134134 <xi:include href="xml/message-mixin.xml"/>
135135 <xi:include href="xml/message.xml"/>
136136 <xi:include href="xml/cm-message.xml"/>
137 <xi:include href="xml/simple-password-channel.xml"/>
137 <xi:include href="xml/base-password-channel.xml"/>
138138 <xi:include href="xml/simple-password-manager.xml"/>
139139 <xi:include href="xml/base-client.xml"/>
140140 <xi:include href="xml/observe-channels-context.xml"/>
11151115 TP_SVC_CONNECTION_INTERFACE_CONTACT_INFO_GET_CLASS
11161116 TP_TYPE_SVC_CONNECTION_INTERFACE_CONTACT_INFO
11171117 <SUBSECTION>
1118 TpSvcConnectionInterfaceContactBlocking
1119 TpSvcConnectionInterfaceContactBlockingClass
1120 tp_svc_connection_interface_contact_blocking_block_contacts_impl
1121 tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed
1122 tp_svc_connection_interface_contact_blocking_implement_block_contacts
1123 tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts
1124 tp_svc_connection_interface_contact_blocking_implement_unblock_contacts
1125 tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl
1126 tp_svc_connection_interface_contact_blocking_return_from_block_contacts
1127 tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts
1128 tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts
1129 tp_svc_connection_interface_contact_blocking_unblock_contacts_impl
11181130 TpSvcConnectionInterfaceContactGroups
11191131 TpSvcConnectionInterfaceContactGroupsClass
11201132 tp_svc_connection_interface_contact_groups_add_to_group_impl
11631175 tp_svc_connection_interface_contact_list_unpublish_impl
11641176 tp_svc_connection_interface_contact_list_unsubscribe_impl
11651177 <SUBSECTION Standard>
1178 tp_svc_connection_interface_contact_blocking_get_type
11661179 tp_svc_connection_interface_contact_list_get_type
11671180 tp_svc_connection_interface_contact_groups_get_type
1181 TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_BLOCKING
11681182 TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_GROUPS
11691183 TP_IS_SVC_CONNECTION_INTERFACE_CONTACT_LIST
1184 TP_SVC_CONNECTION_INTERFACE_CONTACT_BLOCKING
1185 TP_SVC_CONNECTION_INTERFACE_CONTACT_BLOCKING_GET_CLASS
11701186 TP_SVC_CONNECTION_INTERFACE_CONTACT_GROUPS
11711187 TP_SVC_CONNECTION_INTERFACE_CONTACT_GROUPS_GET_CLASS
11721188 TP_SVC_CONNECTION_INTERFACE_CONTACT_LIST
11731189 TP_SVC_CONNECTION_INTERFACE_CONTACT_LIST_GET_CLASS
1190 TP_TYPE_SVC_CONNECTION_INTERFACE_CONTACT_BLOCKING
11741191 TP_TYPE_SVC_CONNECTION_INTERFACE_CONTACT_GROUPS
11751192 TP_TYPE_SVC_CONNECTION_INTERFACE_CONTACT_LIST
11761193 <SUBSECTION>
23652382 TpChannelGroupChangeReason
23662383 NUM_TP_CHANNEL_GROUP_CHANGE_REASONS
23672384 TpChannelPasswordFlags
2385 TpContactBlockingCapabilities
23682386 TpDeliveryReportingSupportFlags
23692387 TpDeliveryStatus
23702388 NUM_TP_DELIVERY_STATUSES
25042522 TP_IFACE_QUARK_CONNECTION_INTERFACE_CLIENT_TYPES
25052523 TP_IFACE_CONNECTION_INTERFACE_CONTACT_CAPABILITIES
25062524 TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_CAPABILITIES
2525 TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING
2526 TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING
25072527 TP_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS
25082528 TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_GROUPS
25092529 TP_IFACE_CONNECTION_INTERFACE_CONTACT_INFO
27242744 TP_PROP_CHANNEL_TYPE_FILE_TRANSFER_URI
27252745 TP_PROP_CHANNEL_TYPE_ROOM_LIST_SERVER
27262746 TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_HOSTNAME
2747 TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES
27272748 TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE
27282749 TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_IMMUTABLE_STREAMS
27292750 TP_PROP_CHANNEL_TYPE_STREAMED_MEDIA_INITIAL_AUDIO
27592780 TP_PROP_CONNECTION_INTERFACE_CELLULAR_MESSAGE_VALIDITY_PERIOD
27602781 TP_PROP_CONNECTION_INTERFACE_CELLULAR_OVERRIDE_MESSAGE_SERVICE_CENTRE
27612782 TP_PROP_CONNECTION_INTERFACE_CONTACTS_CONTACT_ATTRIBUTE_INTERFACES
2783 TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES
27622784 TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS
27632785 TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS
27642786 TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUP_STORAGE
28122834 TP_TOKEN_CONNECTION_INTERFACE_AVATARS_TOKEN
28132835 TP_TOKEN_CONNECTION_INTERFACE_CAPABILITIES_CAPS
28142836 TP_TOKEN_CONNECTION_INTERFACE_CLIENT_TYPES_CLIENT_TYPES
2837 TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED
28152838 TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES
28162839 TP_TOKEN_CONNECTION_INTERFACE_CONTACT_GROUPS_GROUPS
28172840 TP_TOKEN_CONNECTION_INTERFACE_CONTACT_INFO_INFO
28762899 tp_iface_quark_connection_interface_cellular
28772900 tp_iface_quark_connection_interface_client_types
28782901 tp_iface_quark_connection_interface_contacts
2902 tp_iface_quark_connection_interface_contact_blocking
28792903 tp_iface_quark_connection_interface_contact_capabilities
28802904 tp_iface_quark_connection_interface_contact_groups
28812905 tp_iface_quark_connection_interface_contact_info
36253649 <FILE>connection-contact-list</FILE>
36263650 <TITLE>connection-contact-list</TITLE>
36273651 <INCLUDE>telepathy-glib/connection.h</INCLUDE>
3652 tp_cli_connection_interface_contact_blocking_call_block_contacts
3653 tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts
3654 tp_cli_connection_interface_contact_blocking_call_unblock_contacts
3655 tp_cli_connection_interface_contact_blocking_callback_for_block_contacts
3656 tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts
3657 tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts
3658 tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed
3659 tp_cli_connection_interface_contact_blocking_run_block_contacts
3660 tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts
3661 tp_cli_connection_interface_contact_blocking_run_unblock_contacts
3662 tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed
36283663 tp_cli_connection_interface_contact_groups_call_add_to_group
36293664 tp_cli_connection_interface_contact_groups_call_remove_from_group
36303665 tp_cli_connection_interface_contact_groups_call_remove_group
118118 tp_svc_connection_interface_capabilities_get_type
119119 tp_svc_connection_interface_cellular_get_type
120120 tp_svc_connection_interface_client_types_get_type
121 tp_svc_connection_interface_contact_blocking_get_type
121122 tp_svc_connection_interface_contact_capabilities_get_type
122123 tp_svc_connection_interface_contact_groups_get_type
123124 tp_svc_connection_interface_contact_info_get_type
1717
1818
1919 <!-- ##### SECTION Image ##### -->
20
21
22 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_call_block_contacts ##### -->
23 <para>
24
25 </para>
26
27 @proxy:
28 @timeout_ms:
29 @in_Contacts:
30 @in_Report_Abusive:
31 @callback:
32 @user_data:
33 @destroy:
34 @weak_object:
35 @Returns:
36
37
38 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts ##### -->
39 <para>
40
41 </para>
42
43 @proxy:
44 @timeout_ms:
45 @callback:
46 @user_data:
47 @destroy:
48 @weak_object:
49 @Returns:
50
51
52 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_call_unblock_contacts ##### -->
53 <para>
54
55 </para>
56
57 @proxy:
58 @timeout_ms:
59 @in_Contacts:
60 @callback:
61 @user_data:
62 @destroy:
63 @weak_object:
64 @Returns:
65
66
67 <!-- ##### USER_FUNCTION tp_cli_connection_interface_contact_blocking_callback_for_block_contacts ##### -->
68 <para>
69
70 </para>
71
72 @proxy:
73 @error:
74 @user_data:
75 @weak_object:
76
77
78 <!-- ##### USER_FUNCTION tp_cli_connection_interface_contact_blocking_callback_for_request_blocked_contacts ##### -->
79 <para>
80
81 </para>
82
83 @proxy:
84 @out_Contacts:
85 @error:
86 @user_data:
87 @weak_object:
88
89
90 <!-- ##### USER_FUNCTION tp_cli_connection_interface_contact_blocking_callback_for_unblock_contacts ##### -->
91 <para>
92
93 </para>
94
95 @proxy:
96 @error:
97 @user_data:
98 @weak_object:
99
100
101 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed ##### -->
102 <para>
103
104 </para>
105
106 @proxy:
107 @callback:
108 @user_data:
109 @destroy:
110 @weak_object:
111 @error:
112 @Returns:
113
114
115 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_run_block_contacts ##### -->
116 <para>
117
118 </para>
119
120 @proxy:
121 @timeout_ms:
122 @in_Contacts:
123 @in_Report_Abusive:
124 @error:
125 @loop:
126 @Returns:
127
128
129 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts ##### -->
130 <para>
131
132 </para>
133
134 @proxy:
135 @timeout_ms:
136 @out_Contacts:
137 @error:
138 @loop:
139 @Returns:
140
141
142 <!-- ##### FUNCTION tp_cli_connection_interface_contact_blocking_run_unblock_contacts ##### -->
143 <para>
144
145 </para>
146
147 @proxy:
148 @timeout_ms:
149 @in_Contacts:
150 @error:
151 @loop:
152 @Returns:
153
154
155 <!-- ##### USER_FUNCTION tp_cli_connection_interface_contact_blocking_signal_callback_blocked_contacts_changed ##### -->
156 <para>
157
158 </para>
159
160 @proxy:
161 @arg_Blocked_Contacts:
162 @arg_Unblocked_Contacts:
163 @user_data:
164 @weak_object:
20165
21166
22167 <!-- ##### FUNCTION tp_cli_connection_interface_contact_groups_call_add_to_group ##### -->
354354
355355 @TP_CHANNEL_PASSWORD_FLAG_PROVIDE:
356356
357 <!-- ##### ENUM TpContactBlockingCapabilities ##### -->
358 <para>
359
360 </para>
361
362 @TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE:
363
357364 <!-- ##### ENUM TpDeliveryReportingSupportFlags ##### -->
358365 <para>
359366
509509
510510
511511
512 <!-- ##### MACRO TP_IFACE_CONNECTION_INTERFACE_CONTACT_BLOCKING ##### -->
513 <para>
514
515 </para>
516
517
518
519 <!-- ##### MACRO TP_IFACE_QUARK_CONNECTION_INTERFACE_CONTACT_BLOCKING ##### -->
520 <para>
521
522 </para>
523
524
525
512526 <!-- ##### MACRO TP_IFACE_CONNECTION_INTERFACE_CONTACT_GROUPS ##### -->
513527 <para>
514528
20492063
20502064
20512065
2066 <!-- ##### MACRO TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_REFERENCE_IDENTITIES ##### -->
2067 <para>
2068
2069 </para>
2070
2071
2072
20522073 <!-- ##### MACRO TP_PROP_CHANNEL_TYPE_SERVER_TLS_CONNECTION_SERVER_CERTIFICATE ##### -->
20532074 <para>
20542075
22942315
22952316
22962317
2318 <!-- ##### MACRO TP_PROP_CONNECTION_INTERFACE_CONTACT_BLOCKING_CONTACT_BLOCKING_CAPABILITIES ##### -->
2319 <para>
2320
2321 </para>
2322
2323
2324
22972325 <!-- ##### MACRO TP_PROP_CONNECTION_INTERFACE_CONTACT_GROUPS_DISJOINT_GROUPS ##### -->
22982326 <para>
22992327
26652693
26662694
26672695
2696 <!-- ##### MACRO TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED ##### -->
2697 <para>
2698
2699 </para>
2700
2701
2702
26682703 <!-- ##### MACRO TP_TOKEN_CONNECTION_INTERFACE_CONTACT_CAPABILITIES_CAPABILITIES ##### -->
26692704 <para>
26702705
18111811 @context:
18121812
18131813
1814 <!-- ##### STRUCT TpSvcConnectionInterfaceContactBlocking ##### -->
1815 <para>
1816
1817 </para>
1818
1819
1820 <!-- ##### SIGNAL TpSvcConnectionInterfaceContactBlocking::blocked-contacts-changed ##### -->
1821 <para>
1822
1823 </para>
1824
1825 @tpsvcconnectioninterfacecontactblocking: the object which received the signal.
1826
1827 <!-- ##### STRUCT TpSvcConnectionInterfaceContactBlockingClass ##### -->
1828 <para>
1829
1830 </para>
1831
1832
1833 <!-- ##### USER_FUNCTION tp_svc_connection_interface_contact_blocking_block_contacts_impl ##### -->
1834 <para>
1835
1836 </para>
1837
1838 @self:
1839 @in_Contacts:
1840 @in_Report_Abusive:
1841 @context:
1842
1843
1844 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed ##### -->
1845 <para>
1846
1847 </para>
1848
1849 @instance:
1850 @arg_Blocked_Contacts:
1851 @arg_Unblocked_Contacts:
1852
1853
1854 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_implement_block_contacts ##### -->
1855 <para>
1856
1857 </para>
1858
1859 @klass:
1860 @impl:
1861
1862
1863 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts ##### -->
1864 <para>
1865
1866 </para>
1867
1868 @klass:
1869 @impl:
1870
1871
1872 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_implement_unblock_contacts ##### -->
1873 <para>
1874
1875 </para>
1876
1877 @klass:
1878 @impl:
1879
1880
1881 <!-- ##### USER_FUNCTION tp_svc_connection_interface_contact_blocking_request_blocked_contacts_impl ##### -->
1882 <para>
1883
1884 </para>
1885
1886 @self:
1887 @context:
1888
1889
1890 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_return_from_block_contacts ##### -->
1891 <para>
1892
1893 </para>
1894
1895 @context:
1896
1897
1898 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_return_from_request_blocked_contacts ##### -->
1899 <para>
1900
1901 </para>
1902
1903 @context:
1904 @out_Contacts:
1905
1906
1907 <!-- ##### FUNCTION tp_svc_connection_interface_contact_blocking_return_from_unblock_contacts ##### -->
1908 <para>
1909
1910 </para>
1911
1912 @context:
1913
1914
1915 <!-- ##### USER_FUNCTION tp_svc_connection_interface_contact_blocking_unblock_contacts_impl ##### -->
1916 <para>
1917
1918 </para>
1919
1920 @self:
1921 @in_Contacts:
1922 @context:
1923
1924
18141925 <!-- ##### STRUCT TpSvcConnectionInterfaceContactGroups ##### -->
18151926 <para>
18161927
0 <!-- ##### FUNCTION tp_base_contact_list_mixin_blocking_iface_init ##### -->
1 <para>
2
3 </para>
4
5 @klass:
6
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
5858 $(NULL)
5959
6060 AM_CFLAGS = $(ERROR_CFLAGS)
61 AM_LDFLAGS = \
62 $(ERROR_LDFLAGS) \
63 $(NULL)
4545 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4646 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4747 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
48 $(top_srcdir)/configure.ac
48 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4949 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5050 $(ACLOCAL_M4)
5151 mkinstalldirs = $(install_sh) -d
435435 $(NULL)
436436
437437 AM_CFLAGS = $(ERROR_CFLAGS)
438 AM_LDFLAGS = \
439 $(ERROR_LDFLAGS) \
440 $(NULL)
441
438442 all: all-recursive
439443
440444 .SUFFIXES:
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
1717 @DBUS_CFLAGS@ \
1818 @GLIB_CFLAGS@ \
1919 @TP_GLIB_CFLAGS@
20 AM_LDFLAGS = \
21 $(ERROR_LDFLAGS) \
22 $(NULL)
4444 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4545 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4646 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
47 $(top_srcdir)/configure.ac
47 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4848 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4949 $(ACLOCAL_M4)
5050 mkinstalldirs = $(install_sh) -d
272272 @GLIB_CFLAGS@ \
273273 @TP_GLIB_CFLAGS@
274274
275 AM_LDFLAGS = \
276 $(ERROR_LDFLAGS) \
277 $(NULL)
278
275279 all: all-am
276280
277281 .SUFFIXES:
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
6565 $(NULL)
6666
6767 AM_CFLAGS = $(ERROR_CFLAGS)
68 AM_LDFLAGS = \
69 $(ERROR_LDFLAGS) \
70 $(NULL)
5050 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5151 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5252 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
53 $(top_srcdir)/configure.ac
53 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5454 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5555 $(ACLOCAL_M4)
5656 mkinstalldirs = $(install_sh) -d
341341 $(NULL)
342342
343343 AM_CFLAGS = $(ERROR_CFLAGS)
344 AM_LDFLAGS = \
345 $(ERROR_LDFLAGS) \
346 $(NULL)
347
344348 all: all-am
345349
346350 .SUFFIXES:
6464 $(NULL)
6565
6666 AM_CFLAGS = $(ERROR_CFLAGS)
67 AM_LDFLAGS = \
68 $(ERROR_LDFLAGS) \
69 $(NULL)
5151 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5252 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5353 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
54 $(top_srcdir)/configure.ac
54 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5555 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5656 $(ACLOCAL_M4)
5757 mkinstalldirs = $(install_sh) -d
339339 $(NULL)
340340
341341 AM_CFLAGS = $(ERROR_CFLAGS)
342 AM_LDFLAGS = \
343 $(ERROR_LDFLAGS) \
344 $(NULL)
345
342346 all: all-am
343347
344348 .SUFFIXES:
5050 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5151 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5252 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
53 $(top_srcdir)/configure.ac
53 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5454 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5555 $(ACLOCAL_M4)
5656 mkinstalldirs = $(install_sh) -d
6060 $(NULL)
6161
6262 AM_CFLAGS = $(ERROR_CFLAGS)
63 AM_LDFLAGS = \
64 $(ERROR_LDFLAGS) \
65 $(NULL)
4848 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4949 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5050 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
51 $(top_srcdir)/configure.ac
51 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5252 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5353 $(ACLOCAL_M4)
5454 mkinstalldirs = $(install_sh) -d
337337 $(NULL)
338338
339339 AM_CFLAGS = $(ERROR_CFLAGS)
340 AM_LDFLAGS = \
341 $(ERROR_LDFLAGS) \
342 $(NULL)
343
340344 all: all-am
341345
342346 .SUFFIXES:
4949 $(NULL)
5050
5151 AM_CFLAGS = $(ERROR_CFLAGS)
52 AM_LDFLAGS = \
53 $(ERROR_LDFLAGS) \
54 $(NULL)
4747 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4848 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4949 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
50 $(top_srcdir)/configure.ac
50 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5151 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5252 $(ACLOCAL_M4)
5353 mkinstalldirs = $(install_sh) -d
320320 $(NULL)
321321
322322 AM_CFLAGS = $(ERROR_CFLAGS)
323 AM_LDFLAGS = \
324 $(ERROR_LDFLAGS) \
325 $(NULL)
326
323327 all: all-am
324328
325329 .SUFFIXES:
4444 $(NULL)
4545
4646 AM_CFLAGS = $(ERROR_CFLAGS)
47 AM_LDFLAGS = \
48 $(ERROR_LDFLAGS) \
49 $(NULL)
4747 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4848 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4949 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
50 $(top_srcdir)/configure.ac
50 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5151 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5252 $(ACLOCAL_M4)
5353 mkinstalldirs = $(install_sh) -d
314314 $(NULL)
315315
316316 AM_CFLAGS = $(ERROR_CFLAGS)
317 AM_LDFLAGS = \
318 $(ERROR_LDFLAGS) \
319 $(NULL)
320
317321 all: all-am
318322
319323 .SUFFIXES:
1313 $(DBUS_CFLAGS) \
1414 $(GLIB_CFLAGS) \
1515 $(TP_GLIB_CFLAGS)
16 AM_LDFLAGS = \
17 $(ERROR_LDFLAGS) \
18 $(NULL)
1619
1720 EXTRA_DIST = \
1821 all.xml \
5252 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5353 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5454 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
55 $(top_srcdir)/configure.ac
55 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5656 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5757 $(ACLOCAL_M4)
5858 mkinstalldirs = $(install_sh) -d
272272 $(GLIB_CFLAGS) \
273273 $(TP_GLIB_CFLAGS)
274274
275 AM_LDFLAGS = \
276 $(ERROR_LDFLAGS) \
277 $(NULL)
278
275279 EXTRA_DIST = \
276280 all.xml \
277281 connection.xml \
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
6666 $(GLIB_CFLAGS) \
6767 $(DBUS_CFLAGS) \
6868 $(NULL)
69 AM_LDFLAGS = \
70 $(ERROR_LDFLAGS) \
71 $(NULL)
6972
7073 AM_CFLAGS = $(ERROR_CFLAGS)
7174
5050 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5151 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5252 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
53 $(top_srcdir)/configure.ac
53 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5454 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5555 $(ACLOCAL_M4)
5656 mkinstalldirs = $(install_sh) -d
343343 $(DBUS_CFLAGS) \
344344 $(NULL)
345345
346 AM_LDFLAGS = \
347 $(ERROR_LDFLAGS) \
348 $(NULL)
349
346350 AM_CFLAGS = $(ERROR_CFLAGS)
347351 all: all-am
348352
88 $(DBUS_CFLAGS) \
99 $(GLIB_CFLAGS) \
1010 $(TP_GLIB_CFLAGS)
11 AM_LDFLAGS = \
12 $(ERROR_LDFLAGS) \
13 $(NULL)
1114
1215 EXTRA_DIST = \
1316 all.xml \
4747 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4848 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4949 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
50 $(top_srcdir)/configure.ac
50 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5151 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
5252 $(ACLOCAL_M4)
5353 mkinstalldirs = $(install_sh) -d
269269 $(GLIB_CFLAGS) \
270270 $(TP_GLIB_CFLAGS)
271271
272 AM_LDFLAGS = \
273 $(ERROR_LDFLAGS) \
274 $(NULL)
275
272276 EXTRA_DIST = \
273277 all.xml \
274278 call-content.xml \
6464 # compiler: $LTCC
6565 # compiler flags: $LTCFLAGS
6666 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
67 # $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2
6868 # automake: $automake_version
6969 # autoconf: $autoconf_version
7070 #
7272
7373 PROGRAM=ltmain.sh
7474 PACKAGE=libtool
75 VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
75 VERSION="2.2.6b Debian-2.2.6b-2"
7676 TIMESTAMP=""
7777 package_revision=1.3017
7878
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
3333 fi
3434 AC_MSG_RESULT([$flag_ok])
3535 ])
36
37 dnl TP_ADD_COMPILER_FLAG(VARIABLE, CFLAGS)
38 dnl Append CFLAGS to VARIABLE if the compiler supports them.
39 AC_DEFUN([TP_ADD_COMPILER_FLAG],
40 [
41 TP_COMPILER_FLAG([$2], [$1="[$]$1 $2"])
42 ])
0 dnl A version of AS_COMPILER_FLAG that supports linker flags
1 dnl Based on:
2
3 dnl as-compiler-flag.m4 0.1.0
4 dnl autostars m4 macro for detection of compiler flags
5 dnl David Schleef <ds@schleef.org>
6 dnl $Id: as-compiler-flag.m4,v 1.1 2005/06/18 18:02:46 burgerman Exp $
7
8 dnl TP_LINKER_FLAG(LDFLAGS, ACTION-IF-ACCEPTED, [ACTION-IF-NOT-ACCEPTED])
9 dnl Tries to compile with the given LDFLAGS.
10 dnl
11 dnl Runs ACTION-IF-ACCEPTED if the compiler/linker for the currently selected
12 dnl AC_LANG can compile with the flags, and ACTION-IF-NOT-ACCEPTED otherwise.
13 dnl
14 dnl Note that LDFLAGS are passed to the linker via the compiler, so you
15 dnl should check for -Wl,--no-add-needed rather than --no-add-needed.
16
17 AC_DEFUN([TP_LINKER_FLAG],
18 [
19 AC_MSG_CHECKING([to see if compiler/linker understand $1])
20
21 save_LDFLAGS="$LDFLAGS"
22 LDFLAGS="$LDFLAGS $1"
23
24 AC_COMPILE_IFELSE(AC_LANG_PROGRAM([], []), [flag_ok=yes], [flag_ok=no])
25
26 LDFLAGS="$save_LDFLAGS"
27
28 if test "X$flag_ok" = Xyes ; then
29 $2
30 true
31 else
32 $3
33 true
34 fi
35 AC_MSG_RESULT([$flag_ok])
36 ])
37
38 dnl TP_ADD_LINKER_FLAG(VARIABLE, LDFLAGS)
39 dnl Append LDFLAGS to VARIABLE if the linker supports them.
40 AC_DEFUN([TP_ADD_LINKER_FLAG],
41 [
42 TP_LINKER_FLAG([$2], [$1="[$]$1 $2"])
43 ])
2626
2727 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
2828 <p>An interface for Accounts whose passwords are stored externally and
29 SHOULD NOT be stored by either the <tp:dbus-ref
30 namespace="org.freedesktop.Telepathy">AccountManager</tp:dbus-ref> nor
31 any <tp:dbus-ref
32 namespace="org.freedesktop.Telepathy.Channel.Type">ServerAuthentication</tp:dbus-ref>
29 SHOULD NOT be stored by either the
30 <tp:dbus-ref namespace="ofdT">AccountManager</tp:dbus-ref> nor any
31 <tp:dbus-ref namespace="ofdT.Channel.Type">ServerAuthentication</tp:dbus-ref>
3332 handler.</p>
33
34 <p>This interface SHOULD only appear on accounts for which the
35 related Connection Manager implements
36 <tp:dbus-ref namespace="ofdT">ConnectionManager.Interface.AccountStorage.DRAFT</tp:dbus-ref>.</p>
3437 </tp:docstring>
3538
3639 <method name="ForgetPassword" tp:name-for-bindings="Forget_Password">
3740 <tp:docstring>
38 <p>Clears any saved password associated with this account.</p>
41 Clears any saved password associated with this account.
3942 </tp:docstring>
4043 </method>
4144
4245 <property name="PasswordSaved"
4346 tp:name-for-bindings="Password_Saved"
4447 type="b" access="read">
45 <tp:docstring>
48 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
4649 <p>Indicates whether the account has a saved password or not.</p>
50
51 <p>Change notification for this property is provided by the
52 standard D-Bus <code>PropertiesChanged</code> signal.</p>
4753 </tp:docstring>
4854 </property>
4955
4343 </tp:docstring>
4444
4545 <property name="ServerCertificate" type="o" access="read"
46 tp:name-for-bindings="Server_Certificate">
46 tp:name-for-bindings="Server_Certificate"
47 tp:immutable='yeah'>
4748 <tp:docstring>
4849 <p>A <tp:dbus-ref
4950 namespace="org.freedesktop.Telepathy.Authentication">TLSCertificate</tp:dbus-ref>
5051 containing the certificate chain as sent by the server,
5152 and other relevant information.</p>
52 <p>This property is immutable.</p>
5353 </tp:docstring>
5454 </property>
5555
5656 <property name="Hostname" type="s" access="read"
57 tp:name-for-bindings="Hostname">
57 tp:name-for-bindings="Hostname"
58 tp:immutable='sharks'>
5859 <tp:added version="0.19.12"/>
5960 <tp:docstring>
60 The hostname of the server we expect <tp:member-ref>ServerCertificate</tp:member-ref>
61 to certify; clients SHOULD verify <tp:member-ref>ServerCertificate</tp:member-ref> against
62 this hostname when checking its validity.
61 <p>The hostname or domain that the user expects to connect to. Clients
62 SHOULD use the <tp:member-ref>ReferenceIdentities</tp:member-ref>
63 property to verify the identity of the certificate. Clients MAY display
64 this hostname to the user as the expected identity. Clients SHOULD use
65 this property to lookup pinned certificates or other user preferences
66 for the connection.</p>
67 </tp:docstring>
68 </property>
69
70 <property name="ReferenceIdentities" type="as" access="read"
71 tp:name-for-bindings="Reference_Identities"
72 tp:immutable='plz'>
73 <tp:added version="0.21.10">
74 If this property is not present, clients SHOULD use the
75 <tp:member-ref>Hostname</tp:member-ref> property as the reference
76 identity to validate server certificates against.
77 </tp:added>
78
79 <tp:docstring>
80 <p>The identities of the server we expect
81 <tp:member-ref>ServerCertificate</tp:member-ref> to certify; clients
82 SHOULD verify that <tp:member-ref>ServerCertificate</tp:member-ref>
83 matches one of these identities when checking its validity.</p>
84
85 <p>This property MUST NOT be the empty list; it MUST
86 contain the value of the <tp:member-ref>Hostname</tp:member-ref>
87 property. All other identities included in this property MUST be derived from
88 explicit user input or choices, such as <tp:dbus-ref
89 namespace='ofdT.Account'>Parameters</tp:dbus-ref> passed to
90 <tp:dbus-ref
91 namespace='ofdT.ConnectionManager'>RequestConnection</tp:dbus-ref>.</p>
92
93 <tp:rationale>
94 <p>The primary use for this property is for XMPP services hosted by
95 <a href='http://www.google.com/apps/intl/en/business/gmail.html'>Google
96 Apps</a>. When connecting to Google Talk using an
97 <tt>@gmail.com</tt> JID, the server correctly presents a
98 certificate for <tt>gmail.com</tt>; however, for domains hosted via
99 Google Apps, a certificate for <tt>talk.google.com</tt> is
100 offered, due to unresolved technical limitations.</p>
101
102 <p>If the user has explicitly chosen to create a <q>Google Talk</q>
103 account, then trusting a certificate for <tt>talk.google.com</tt>
104 is reasonable. To handle this case, the connection manager may add
105 the values of any or all of the <tt>server</tt>,
106 <tt>fallback-server</tt> and <tt>extra-identities</tt> parameters;
107 the Google Talk account creation user interface may set these
108 parameters appropriately, or the user may set them for accounts
109 with other services.</p>
110 </tp:rationale>
63111 </tp:docstring>
64112 </property>
65113
10321032 <dd>Debugging information on the change, corresponding to the
10331033 message part of a D-Bus error message, which SHOULD NOT be
10341034 displayed to users under normal circumstances</dd>
1035
1036 <dt>server-message (s)</dt>
1037 <dd>A human-readable message from the server explaining what
1038 happened. This may be in the user's native language, or in the
1039 server operator's native language, or even in Lojban.</dd>
1040
10351041 <dt>user-requested (b), expected-hostname (s), certificate-hostname (s)</dt>
10361042 <dd>The same details defined in <tp:type>TLS_Certificate_Rejection</tp:type>.</dd>
10371043 </dl>
0 <?xml version="1.0" ?>
1 <node name="/Connection_Interface_Contact_Blocking" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
2 <tp:copyright>Copyright © 2009–2011 Collabora Ltd.</tp:copyright>
3 <tp:copyright>Copyright © 2009 Nokia Corporation</tp:copyright>
4 <tp:license xmlns="http://www.w3.org/1999/xhtml">
5 <p>This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.</p>
9
10 <p>This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.</p>
14
15 <p>You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
18 USA.</p>
19 </tp:license>
20 <interface name="org.freedesktop.Telepathy.Connection.Interface.ContactBlocking">
21 <tp:requires interface="org.freedesktop.Telepathy.Connection"/>
22 <tp:requires interface="org.freedesktop.Telepathy.Connection.Interface.ContactList"/>
23 <tp:added version='0.21.13'>Changes from the draft:
24 methods and signals now return <tp:type>Handle_Identifier_Map</tp:type>
25 (<code>a{us}</code>) rather than bare lists of contact handles
26 (<code>au</code>)</tp:added>
27
28 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
29 <p>An interface for connections where contacts can be blocked from
30 communicating with this user and receiving this user's presence.
31 Clients may retrieve a list of currently-blocked contacts using
32 <tp:member-ref>RequestBlockedContacts</tp:member-ref>, and listen for
33 <tp:member-ref>BlockedContactsChanged</tp:member-ref> to be notified
34 when contacts are blocked and unblocked. The
35 <tp:member-ref>BlockContacts</tp:member-ref> and
36 <tp:member-ref>UnblockContacts</tp:member-ref> methods do what they say
37 on the tin; depending on the value of the
38 <tp:member-ref>ContactBlockingCapabilities</tp:member-ref> property,
39 contacts may be reported for spam or other abuse when calling
40 <tp:member-ref>BlockContacts</tp:member-ref>.</p>
41
42 <p>This interface is intended for protocols where blocking contacts
43 persists on the server between connections; connection managers for
44 protocols with no server-side support for blocking contacts MAY choose
45 to implement this interface using an on-disk file of blocked
46 contacts or some other means to store blocked contacts between
47 connections.</p>
48
49 <p>This interface is intended to replace the
50 <tp:dbus-ref namespace="ofdT.Channel.Type">ContactList</tp:dbus-ref>
51 channel with <tp:dbus-ref
52 namespace='ofdT.Channel'>TargetHandleType</tp:dbus-ref>
53 <code>List</code> and <tp:dbus-ref
54 namespace='ofdT.Channel'>TargetID</tp:dbus-ref> <code>"deny"</code>
55 (along with the <tp:dbus-ref
56 namespace='ofdT.Connection.Interface'>ContactList</tp:dbus-ref> and
57 <tp:dbus-ref
58 namespace='ofdT.Connection.Interface'>ContactGroups</tp:dbus-ref>
59 interfaces replacing other channels with <tp:dbus-ref
60 namespace='ofdT.Channel'>TargetHandleType</tp:dbus-ref>
61 <code>List</code> and <tp:dbus-ref
62 namespace='ofdT.Channel'>TargetHandleType</tp:dbus-ref>
63 <code>Group</code>, respectively).</p>
64 </tp:docstring>
65
66 <method name="BlockContacts" tp:name-for-bindings="Block_Contacts">
67 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
68 <p>Direct the server to block some contacts. The precise effect is
69 protocol-dependent, but SHOULD include ignoring all current and
70 subsequent communications from the given contacts, avoiding sending
71 presence to them in future, and if they were already receiving the
72 local user's presence, behaving as if the local user went
73 offline.</p>
74 </tp:docstring>
75
76 <arg name="Contacts" type="au" direction="in" tp:type="Contact_Handle[]">
77 <tp:docstring>Some contacts to block. If some of the contacts in this
78 list are already blocked, the connection manager MUST act as if they
79 were not specified in this list.</tp:docstring>
80 </arg>
81
82 <arg name="Report_Abusive" type="b" direction="in">
83 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
84 <p>In addition to blocking, report these contacts as abusive to the
85 server administrators.</p>
86
87 <p>Clients can determine whether this capability is available by
88 checking the
89 <tp:member-ref>ContactBlockingCapabilities</tp:member-ref>
90 property. If this argument is set to <code>True</code> by a client
91 despite <tp:member-ref>ContactBlockingCapabilities</tp:member-ref>
92 not containing the <code>Can_Report_Abusive</code> flag, the
93 connection manager SHOULD act as if it were <code>False</code> and
94 simply block the supplied contacts.</p>
95
96 <tp:rationale>
97 <p>A correct user interface shouldn't get this far without knowing
98 that reporting abusive contacts is not supported. If it does,
99 then the user has expressed their intention to block these
100 contacts. Returning an error would leave the UI with three
101 options:</p>
102
103 <ul>
104 <li>Ignore the error, leaving the contacts not actually blocked;</li>
105 <li>Display an error to the user;</li>
106 <li>Call this method again, passing <code>False</code> for this
107 argument.</li>
108 </ul>
109
110 <p>None of these seem preferable to the CM just ignoring this flag
111 if it doesn't support it: that way, the contacts will be blocked,
112 as the user requested, and UIs have fewer ways to mess up
113 entirely.</p>
114 </tp:rationale>
115 </tp:docstring>
116 </arg>
117 </method>
118
119 <method name="UnblockContacts" tp:name-for-bindings="Unblock_Contacts">
120 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
121 <p>Direct the server to unblock some contacts.</p>
122 </tp:docstring>
123
124 <arg name="Contacts" type="au" direction="in" tp:type="Contact_Handle[]">
125 <tp:docstring>Some contacts to unblock. If some of the contacts in this
126 list are not currently blocked, the connection manager MUST act as if
127 they were not specified in this list.</tp:docstring>
128 </arg>
129 </method>
130
131 <method name="RequestBlockedContacts"
132 tp:name-for-bindings="Request_Blocked_Contacts">
133 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
134 <p>List the contacts that are blocked.</p>
135
136 <p>Clients SHOULD allow a relatively long timeout for calls to this
137 method, since on some protocols contact blocking is part of the
138 contact list, which can take a significant time to retrieve.</p>
139 </tp:docstring>
140
141 <arg name="Contacts" type="a{us}" direction="out"
142 tp:type="Handle_Identifier_Map">
143 <tp:docstring>The blocked contacts’ handles, together with their
144 identifiers.</tp:docstring>
145 </arg>
146 </method>
147
148 <signal name="BlockedContactsChanged"
149 tp:name-for-bindings="Blocked_Contacts_Changed">
150 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
151 <p>Emitted when the list of blocked contacts is first retrieved
152 (before returning from any pending calls to
153 <tp:member-ref>RequestBlockedContacts</tp:member-ref>), and
154 whenever the list of blocked contacts subsequently changes.</p>
155 </tp:docstring>
156
157 <arg name="Blocked_Contacts" type="a{us}" tp:type="Handle_Identifier_Map">
158 <tp:docstring>Contacts added to the result of
159 <tp:member-ref>RequestBlockedContacts</tp:member-ref>.</tp:docstring>
160 </arg>
161
162 <arg name="Unblocked_Contacts" type="a{us}"
163 tp:type="Handle_Identifier_Map">
164 <tp:docstring>Contacts removed from the result of
165 <tp:member-ref>RequestBlockedContacts</tp:member-ref>.</tp:docstring>
166 </arg>
167 </signal>
168
169 <tp:contact-attribute name="blocked" type="b">
170 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
171 <p><code>True</code> if the contact would be in the result of
172 <tp:member-ref>RequestBlockedContacts</tp:member-ref>;
173 <code>False</code> or omitted if the contact is not blocked, or if it
174 is unknown whether the contact is blocked.</p>
175 </tp:docstring>
176 </tp:contact-attribute>
177
178 <property name="ContactBlockingCapabilities"
179 tp:name-for-bindings="Contact_Blocking_Capabilities"
180 tp:type="Contact_Blocking_Capabilities" type="u" access="read"
181 tp:immutable="yes">
182 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
183 <p>Additional capabilities for contact blocking; currently, this is
184 limited to whether contacts may be reported as abusive.</p>
185
186 <p>Note that there is no capability for supporting blocking itself:
187 the presence of this interface on a <tp:dbus-ref
188 namespace='ofdT'>Connection</tp:dbus-ref> indicates that blocking
189 contacts is supported.</p>
190 </tp:docstring>
191 </property>
192
193 <tp:flags name="Contact_Blocking_Capabilities" type="u"
194 value-prefix="Contact_Blocking_Capability">
195 <tp:flag suffix="Can_Report_Abusive" value="1">
196 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
197 When calling <tp:member-ref>BlockContacts</tp:member-ref>, the
198 contacts may be reporting as abusive to the server administrators by
199 setting <var>Report_Abusive</var> to <code>True</code>.
200 </tp:docstring>
201 </tp:flag>
202 </tp:flags>
203
204 </interface>
205 </node>
206 <!-- vim:set sw=2 sts=2 et ft=xml: -->
2828 <p>An interface for connection managers that store account details
2929 internally. At the moment this consists only of storing an account's
3030 credentials, but other functionality may be added in the future.</p>
31 <p><tp:dbus-ref
32 namespace="org.freedesktop.Telepathy">Account</tp:dbus-ref> objects
31
32 <p><tp:dbus-ref namespace="ofdT">Account</tp:dbus-ref> objects
3333 representing accounts on a connection manager that implements this
34 interface should implement the <tp:dbus-ref
35 namespace="org.freedesktop.Telepathy.Account.Interface">ExternalPasswordStorage.DRAFT</tp:dbus-ref>
34 interface should implement the
35 <tp:dbus-ref namespace="ofdT.Account.Interface">ExternalPasswordStorage.DRAFT</tp:dbus-ref>
3636 interface.</p>
37
3837 </tp:docstring>
3938
4039 <tp:flags name="Account_Flags" value-prefix="Account_Flag" type="u">
4140 <tp:docstring>
42 A set of flags representing the status of the Account stored in the Connection Manager.
41 A set of flags representing the status of the Account stored in the
42 Connection Manager.
4343 </tp:docstring>
4444
4545 <tp:flag suffix="Credentials_Stored" value="1">
6060 <property name="Accounts"
6161 tp:name-for-bindings="Accounts"
6262 type="a{su}" tp:type="Account_Flags_Map" access="read">
63 <tp:docstring>
64 The set of Accounts stored in this connection manager, and flags
65 indicating their status.
63 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
64 <p>The set of Accounts stored in this Connection Manager, and flags
65 indicating their status.</p>
66
67 <p>Change notification for this property is provided by the standard
68 D-Bus <code>PropertiesChanged</code> signal.</p>
6669 </tp:docstring>
6770 </property>
6871
7578 <arg direction="in" name="Account_Id"
7679 type="s">
7780 <tp:docstring>
78 An account id as returned from <tp:dbus-ref
79 namespace="org.freedesktop.Telepathy">Protocol.IdentifyAccount</tp:dbus-ref>.
81 An account id as returned from
82 <tp:dbus-ref namespace="ofdT">Protocol.IdentifyAccount</tp:dbus-ref>.
8083 </tp:docstring>
8184 </arg>
8285
98101 <arg direction="in" name="Account_Id"
99102 type="s">
100103 <tp:docstring>
101 An account id as returned from <tp:dbus-ref
102 namespace="org.freedesktop.Telepathy">Protocol.IdentifyAccount</tp:dbus-ref>.
104 An account id as returned from
105 <tp:dbus-ref namespace="ofdT">Protocol.IdentifyAccount</tp:dbus-ref>.
103106 </tp:docstring>
104107 </arg>
105108
7474 Connection_Interface_Cellular.xml \
7575 Connection_Interface_Client_Types.xml \
7676 Connection_Interface_Communication_Policy.xml \
77 Connection_Interface_Contact_Blocking.xml \
7778 Connection_Interface_Contact_Capabilities.xml \
7879 Connection_Interface_Contact_Groups.xml \
7980 Connection_Interface_Contact_Info.xml \
4242 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4343 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4444 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
45 $(top_srcdir)/configure.ac
45 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4646 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4747 $(ACLOCAL_M4)
4848 mkinstalldirs = $(install_sh) -d
295295 Connection_Interface_Cellular.xml \
296296 Connection_Interface_Client_Types.xml \
297297 Connection_Interface_Communication_Policy.xml \
298 Connection_Interface_Contact_Blocking.xml \
298299 Connection_Interface_Contact_Capabilities.xml \
299300 Connection_Interface_Contact_Groups.xml \
300301 Connection_Interface_Contact_Info.xml \
22 xmlns:xi="http://www.w3.org/2001/XInclude">
33
44 <tp:title>Telepathy D-Bus Interface Specification</tp:title>
5 <tp:version>0.21.12</tp:version>
6
7 <tp:copyright>Copyright © 2005-2010 Collabora Limited</tp:copyright>
8 <tp:copyright>Copyright © 2005-2010 Nokia Corporation</tp:copyright>
5 <tp:version>0.22.0</tp:version>
6
7 <tp:copyright>Copyright © 2005-2011 Collabora Limited</tp:copyright>
8 <tp:copyright>Copyright © 2005-2011 Nokia Corporation</tp:copyright>
99 <tp:copyright>Copyright © 2006 INdT</tp:copyright>
1010
1111 <tp:license xmlns="http://www.w3.org/1999/xhtml">
5555 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
5656 <p>
5757 On protocols that support contact lists, these interface expose the user's
58 contact lists, along with presence subscription information and contact
59 list groups (if supported).
58 contact lists, along with presence subscription information, contact
59 list groups (if supported), and the ability to block and unblock contacts
60 (if supported).
6061 </p>
6162 </tp:docstring>
6263
6364 <xi:include href="Connection_Interface_Contact_List.xml"/>
6465 <xi:include href="Connection_Interface_Contact_Groups.xml"/>
66 <xi:include href="Connection_Interface_Contact_Blocking.xml"/>
6567 </tp:section>
6668
6769 <tp:section name="Contact metadata interfaces">
248248 @GLIB_CFLAGS@ \
249249 -I$(top_builddir) \
250250 -I$(top_srcdir)
251 AM_LDFLAGS = \
252 $(ERROR_LDFLAGS) \
253 $(NULL)
251254
252255 ALL_LIBS = \
253256 @DBUS_LIBS@ \
6767 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
6868 $(top_srcdir)/m4/tp-compiler-flag.m4 \
6969 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
70 $(top_srcdir)/configure.ac
70 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
7171 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
7272 $(ACLOCAL_M4)
7373 mkinstalldirs = $(install_sh) -d
582582 -I$(top_builddir) \
583583 -I$(top_srcdir)
584584
585 AM_LDFLAGS = \
586 $(ERROR_LDFLAGS) \
587 $(NULL)
588
585589 ALL_LIBS = \
586590 @DBUS_LIBS@ \
587591 @GLIB_LIBS@
652656 versions/0.13.14.abi \
653657 versions/0.13.15.abi \
654658 versions/0.13.16.abi \
659 versions/0.14.1.abi \
655660 $(NULL)
656661
657662
658663 # The quoting here is unnecessary but harmless, and has the useful side-effect
659664 # that vim quickfix mode (:make) doesn't interpret the libtool --mode=link
660665 # command as an error message in a bizarrely named file
661 libtelepathy_glib_la_LDFLAGS = -version-info \
666 libtelepathy_glib_la_LDFLAGS = $(AM_LDFLAGS) -version-info \
662667 "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)" $(am__append_3) \
663668 $(am__append_4)
664669 libtelepathy_glib_la_LIBADD = libtelepathy-glib-internal.la
833838 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/stream-tube-connection.c $(srcdir)/stream-tube-connection.h \
834839 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/text-channel.c $(srcdir)/text-channel.h \
835840 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/client-message.c $(srcdir)/client-message.h \
836 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/cm-message.c $(srcdir)/cm-message.h \
837841 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/message.c $(srcdir)/message.h \
838842 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/signalled-message.c $(srcdir)/signalled-message.h \
839843 @HAVE_INTROSPECTION_TRUE@ $(srcdir)/errors.c $(srcdir)/errors.h \
6565 versions/0.13.14.abi \
6666 versions/0.13.15.abi \
6767 versions/0.13.16.abi \
68 versions/0.14.1.abi \
6869 $(NULL)
6970
7071 # The quoting here is unnecessary but harmless, and has the useful side-effect
7172 # that vim quickfix mode (:make) doesn't interpret the libtool --mode=link
7273 # command as an error message in a bizarrely named file
7374 libtelepathy_glib_la_LDFLAGS = \
75 $(AM_LDFLAGS) \
7476 -version-info "$(LT_CURRENT)":"$(LT_REVISION)":"$(LT_AGE)"
7577 libtelepathy_glib_la_LIBADD = libtelepathy-glib-internal.la
7678 nodist_libtelepathy_glib_la_SOURCES =
22142214 GAsyncReadyCallback callback,
22152215 gpointer user_data)
22162216 {
2217 TpAccountPrivate *priv;
22182217 GValue value = {0, };
22192218 GSimpleAsyncResult *result;
22202219
22212220 g_return_if_fail (TP_IS_ACCOUNT (account));
2222
2223 priv = account->priv;
22242221
22252222 result = g_simple_async_result_new (G_OBJECT (account),
22262223 callback, user_data, tp_account_set_enabled_finish);
776776 const gchar *first_token, ...)
777777 {
778778 va_list ap;
779 const gchar *token = first_token;
779 const gchar *token;
780780
781781 g_return_if_fail (TP_IS_BASE_CLIENT (self));
782782 g_return_if_fail (!self->priv->registered);
16391639
16401640 /**
16411641 * TpBaseConnection::shutdown-finished: (skip)
1642 * @connection: the #TpBaseConnection
16421643 *
16431644 * Emitted by tp_base_connection_finish_shutdown() when the underlying
16441645 * network connection has been closed; #TpBaseConnectionManager listens
16561657
16571658 /**
16581659 * TpBaseConnection::clients-interested:
1660 * @connection: the #TpBaseConnection
16591661 * @token: the interface or part of an interface in which clients are newly
16601662 * interested
16611663 *
16791681
16801682 /**
16811683 * TpBaseConnection::clients-uninterested:
1684 * @connection: the #TpBaseConnection
16821685 * @token: the interface or part of an interface in which clients are no
16831686 * longer interested
16841687 *
49804980 TpBaseContactList *self = _tp_base_connection_find_channel_manager (
49814981 (TpBaseConnection *) conn, TP_TYPE_BASE_CONTACT_LIST);
49824982 ListProp p = GPOINTER_TO_INT (data);
4983 TpBaseContactListClass *cls;
49844983
49854984 g_return_if_fail (TP_IS_BASE_CONTACT_LIST (self));
49864985 g_return_if_fail (self->priv->conn != NULL);
4987
4988 cls = TP_BASE_CONTACT_LIST_GET_CLASS (self);
49894986
49904987 switch (p)
49914988 {
50245021 {
50255022 TpBaseContactList *self = _tp_base_connection_find_channel_manager (
50265023 (TpBaseConnection *) obj, TP_TYPE_BASE_CONTACT_LIST);
5027 TpBaseContactListClass *cls;
50285024 guint i;
50295025
50305026 g_return_if_fail (TP_IS_BASE_CONTACT_LIST (self));
50335029 /* just omit the attributes if the contact list hasn't come in yet */
50345030 if (self->priv->state != TP_CONTACT_LIST_STATE_SUCCESS)
50355031 return;
5036
5037 cls = TP_BASE_CONTACT_LIST_GET_CLASS (self);
50385032
50395033 for (i = 0; i < contacts->len; i++)
50405034 {
55065500 TpBaseContactList *self = _tp_base_connection_find_channel_manager (
55075501 (TpBaseConnection *) conn, TP_TYPE_BASE_CONTACT_LIST);
55085502 GroupProp p = GPOINTER_TO_INT (data);
5509 TpBaseContactListClass *cls;
55105503
55115504 g_return_if_fail (TP_IS_BASE_CONTACT_LIST (self));
55125505 g_return_if_fail (TP_IS_CONTACT_GROUP_LIST (self));
55135506 g_return_if_fail (self->priv->conn != NULL);
5514
5515 cls = TP_BASE_CONTACT_LIST_GET_CLASS (self);
55165507
55175508 switch (p)
55185509 {
55475538 {
55485539 TpBaseContactList *self = _tp_base_connection_find_channel_manager (
55495540 (TpBaseConnection *) obj, TP_TYPE_BASE_CONTACT_LIST);
5550 TpBaseContactListClass *cls;
55515541 guint i;
55525542
55535543 g_return_if_fail (TP_IS_BASE_CONTACT_LIST (self));
55575547 /* just omit the attributes if the contact list hasn't come in yet */
55585548 if (self->priv->state != TP_CONTACT_LIST_STATE_SUCCESS)
55595549 return;
5560
5561 cls = TP_BASE_CONTACT_LIST_GET_CLASS (self);
55625550
55635551 for (i = 0; i < contacts->len; i++)
55645552 {
144144 const gchar *key,
145145 TpMessage *message)
146146 {
147 TpCMMessage *cm_message;
148
149147 g_return_if_fail (self != NULL);
150148 g_return_if_fail (part < self->parts->len);
151149 g_return_if_fail (key != NULL);
154152 g_return_if_fail (TP_IS_CM_MESSAGE (self));
155153 g_return_if_fail (TP_IS_CM_MESSAGE (message));
156154
157 cm_message = (TpCMMessage *) message;
158
159155 g_return_if_fail (TP_CM_MESSAGE (self)->priv->connection ==
160156 TP_CM_MESSAGE (message)->priv->connection);
161157
1212 <xi:include href="../spec/Connection_Interface_Capabilities.xml"/>
1313 <xi:include href="../spec/Connection_Interface_Cellular.xml"/>
1414 <xi:include href="../spec/Connection_Interface_Client_Types.xml"/>
15 <xi:include href="../spec/Connection_Interface_Contact_Blocking.xml"/>
1516 <xi:include href="../spec/Connection_Interface_Contact_Capabilities.xml"/>
1617 <xi:include href="../spec/Connection_Interface_Contact_Groups.xml"/>
1718 <xi:include href="../spec/Connection_Interface_Contact_Info.xml"/>
378378 gint nscm;
379379 GSocket *_socket;
380380 gint n;
381 volatile GType credentials_message_gtype;
382381 gssize num_bytes_read;
383382 #ifdef __linux__
384383 gboolean turn_off_so_passcreds;
454453 vector.size = 1;
455454
456455 /* ensure the type of GUnixCredentialsMessage has been registered with the type system */
457 credentials_message_gtype = G_TYPE_UNIX_CREDENTIALS_MESSAGE;
456 (void) (G_TYPE_UNIX_CREDENTIALS_MESSAGE);
458457 num_bytes_read = g_socket_receive_message (_socket,
459458 NULL, /* GSocketAddress **address */
460459 &vector,
5050 $(srcdir)/stream-tube-connection.c $(srcdir)/stream-tube-connection.h \
5151 $(srcdir)/text-channel.c $(srcdir)/text-channel.h \
5252 $(srcdir)/client-message.c $(srcdir)/client-message.h \
53 $(srcdir)/cm-message.c $(srcdir)/cm-message.h \
5453 $(srcdir)/message.c $(srcdir)/message.h \
5554 $(srcdir)/signalled-message.c $(srcdir)/signalled-message.h \
5655 $(srcdir)/errors.c $(srcdir)/errors.h \
912912 n_params, params));
913913 TpProxyClass *klass = TP_PROXY_GET_CLASS (self);
914914 TpProxyInterfaceAddLink *iter;
915 GType ancestor_type = type;
916915 GType proxy_parent_type = G_TYPE_FROM_CLASS (tp_proxy_parent_class);
916 GType ancestor_type;
917917 GArray *core_features;
918918
919919 _tp_register_dbus_glib_marshallers ();
373373 else if (n_failed > 0)
374374 {
375375 DEBUG ("Failed to prepare TpContact (InvalidHandle)");
376
376 }
377 else if (n_contacts > 0)
378 {
377379 sender = contacts[0];
378380 }
379381 else
380382 {
381 DEBUG ("TpContact of the sender hasn't be prepared");
383 DEBUG ("TpContact of the sender hasn't been prepared");
382384 }
383385
384386 add_message_received (self, parts, sender, TRUE);
403405 {
404406 DEBUG ("Failed to prepare TpContact: %s", error->message);
405407 }
406 else if (n_contacts != 1)
407 {
408 else if (n_contacts > 0)
409 {
410 sender = contacts[0];
411 }
412 else
413 {
414 DEBUG ("TpContact of the sender hasn't be prepared");
415
408416 if (DEBUGGING)
409417 {
410418 GHashTableIter iter;
417425 (const gchar *) key, ((GError *) value)->message);
418426 }
419427 }
420
421 sender = contacts[0];
422 }
423 else
424 {
425 DEBUG ("TpContact of the sender hasn't be prepared");
426428 }
427429
428430 add_message_received (self, parts, sender, TRUE);
557557 gboolean
558558 tp_strdiff (const gchar *left, const gchar *right)
559559 {
560 if ((NULL == left) != (NULL == right))
561 return TRUE;
562
563 else if (left == right)
564 return FALSE;
565
566 else
567 return (0 != strcmp (left, right));
560 return g_strcmp0 (left, right) != 0;
568561 }
569562
570563
12831276
12841277 /**
12851278 * tp_clear_object: (skip)
1286 * @op: (allow-none): a pointer to a variable, struct member etc. holding a
1287 * #GObject
1279 * @op: a pointer to a variable, struct member etc. holding a #GObject
12881280 *
12891281 * Set a variable holding a #GObject to %NULL. If it was not already %NULL,
12901282 * unref the object it previously pointed to.
12971289
12981290 /**
12991291 * tp_clear_pointer: (skip)
1300 * @pp: (allow-none): a pointer to a variable, struct member etc. holding a
1301 * pointer
1292 * @pp: a pointer to a variable, struct member etc. holding a pointer
13021293 * @destroy: a function to which a gpointer can be passed, to destroy *@pp
13031294 * (if calling this macro from C++, explicitly casting the function to
13041295 * #GDestroyNotify may be necessary)
13061297 * Set a variable holding a pointer to %NULL. If it was not already %NULL,
13071298 * unref or destroy the object it previously pointed to with @destroy.
13081299 *
1309 * More precisely, if both @pp and *@pp are non-%NULL, set *@pp to %NULL, then
1300 * More precisely, if *@pp is non-%NULL, set *@pp to %NULL, then
13101301 * call @destroy on the object that *@pp previously pointed to.
13111302 *
13121303 * This is analogous to g_clear_error() for non-error objects, but also
13371328 /**
13381329 * tp_clear_boxed: (skip)
13391330 * @gtype: (type GObject.Type): the #GType of *@pp, e.g. %G_TYPE_HASH_TABLE
1340 * @pp: (allow-none): a pointer to a variable, struct member etc. holding a
1341 * boxed object
1331 * @pp: a pointer to a variable, struct member etc. holding a boxed object
13421332 *
13431333 * Set a variable holding a boxed object to %NULL. If it was not already %NULL,
13441334 * destroy the boxed object it previously pointed to, as appropriate for
13451335 * @gtype.
13461336 *
1347 * More precisely, if both @pp and *@pp are non-%NULL, set *@pp to %NULL, then
1337 * More precisely, if *@pp is non-%NULL, set *@pp to %NULL, then
13481338 * call g_boxed_free() on the object that *@pp previously pointed to.
13491339 *
13501340 * This is similar to tp_clear_pointer(); see that function's documentation
108108 #define tp_clear_pointer(pp, destroy) \
109109 G_STMT_START \
110110 { \
111 if (pp != NULL) \
112 { \
113 gpointer _tp_clear_pointer_tmp = *(pp); \
114 \
115 *(pp) = NULL; \
116 \
117 if (_tp_clear_pointer_tmp != NULL) \
118 (destroy) (_tp_clear_pointer_tmp); \
119 } \
111 gpointer _tp_clear_pointer_tmp; \
112 \
113 _tp_clear_pointer_tmp = *(pp); \
114 *(pp) = NULL; \
115 \
116 if (_tp_clear_pointer_tmp != NULL) \
117 (destroy) (_tp_clear_pointer_tmp); \
120118 } \
121119 G_STMT_END
122120
125123 #define tp_clear_boxed(gtype, pp) \
126124 G_STMT_START \
127125 { \
128 if (pp != NULL) \
129 { \
130 gpointer _tp_clear_boxed_tmp = *(pp); \
131 \
132 *(pp) = NULL; \
133 \
134 if (_tp_clear_boxed_tmp != NULL) \
135 g_boxed_free (gtype, _tp_clear_boxed_tmp); \
136 } \
126 gpointer _tp_clear_boxed_tmp; \
127 \
128 _tp_clear_boxed_tmp = *(pp); \
129 *(pp) = NULL; \
130 \
131 if (_tp_clear_boxed_tmp != NULL) \
132 g_boxed_free (gtype, _tp_clear_boxed_tmp); \
137133 } \
138134 G_STMT_END
139135
0 Version: TELEPATHY_GLIB_0.14.2
1 Extends: TELEPATHY_GLIB_0.13.16
2 Release: 0.14.2
3
4 tp_cli_connection_interface_contact_blocking_connect_to_blocked_contacts_changed
5 tp_svc_connection_interface_contact_blocking_emit_blocked_contacts_changed
6 tp_svc_connection_interface_contact_blocking_implement_block_contacts
7 tp_cli_connection_interface_contact_blocking_call_request_blocked_contacts
8 tp_cli_connection_interface_contact_blocking_run_block_contacts
9 tp_iface_quark_connection_interface_contact_blocking
10 tp_cli_connection_interface_contact_blocking_call_unblock_contacts
11 tp_svc_connection_interface_contact_blocking_get_type
12 tp_svc_connection_interface_contact_blocking_implement_request_blocked_contacts
13 tp_cli_connection_interface_contact_blocking_call_block_contacts
14 tp_cli_connection_interface_contact_blocking_run_request_blocked_contacts
15 tp_cli_connection_interface_contact_blocking_run_unblock_contacts
16 tp_svc_connection_interface_contact_blocking_implement_unblock_contacts
128128 $(GLIB_CFLAGS) \
129129 $(DBUS_CFLAGS) \
130130 $(NULL)
131 AM_LDFLAGS = \
132 $(ERROR_LDFLAGS) \
133 $(NULL)
131134
132135 AM_CFLAGS = $(ERROR_CFLAGS)
133136 AM_CXXFLAGS = $(ERROR_CXXFLAGS)
5555 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
5656 $(top_srcdir)/m4/tp-compiler-flag.m4 \
5757 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
58 $(top_srcdir)/configure.ac
58 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
5959 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
6060 $(ACLOCAL_M4)
6161 mkinstalldirs = $(install_sh) -d
535535 $(DBUS_CFLAGS) \
536536 $(NULL)
537537
538 AM_LDFLAGS = \
539 $(ERROR_LDFLAGS) \
540 $(NULL)
541
538542 AM_CFLAGS = $(ERROR_CFLAGS)
539543 AM_CXXFLAGS = $(ERROR_CXXFLAGS)
540544 @HAVE_CXX_TRUE@test_util_cxx_SOURCES = util-cxx.cpp
217217 $(GLIB_CFLAGS) \
218218 $(DBUS_CFLAGS) \
219219 $(NULL)
220 AM_LDFLAGS = \
221 $(ERROR_LDFLAGS) \
222 $(NULL)
220223
221224 AM_CFLAGS = $(ERROR_CFLAGS)
222225
8080 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
8181 $(top_srcdir)/m4/tp-compiler-flag.m4 \
8282 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
83 $(top_srcdir)/configure.ac
83 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
8484 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
8585 $(ACLOCAL_M4)
8686 mkinstalldirs = $(install_sh) -d
872872 $(DBUS_CFLAGS) \
873873 $(NULL)
874874
875 AM_LDFLAGS = \
876 $(ERROR_LDFLAGS) \
877 $(NULL)
878
875879 AM_CFLAGS = $(ERROR_CFLAGS)
876880 TESTS_ENVIRONMENT = \
877881 abs_top_builddir=@abs_top_builddir@ \
264264 TpHandleRepoIface *service_repo = tp_base_connection_get_handles (
265265 (TpBaseConnection *) service_conn, TP_HANDLE_TYPE_CONTACT);
266266 TpContactFeature features[] = { TP_CONTACT_FEATURE_CONTACT_INFO };
267 TpContact *self_contact;
268267 TpContact *contact;
269268 TpHandle handle;
270269 const gchar *field_value[] = { "Foo", NULL };
307306 &result, finish, NULL);
308307 g_main_loop_run (result.loop);
309308 g_assert_no_error (result.error);
310 self_contact = g_object_ref (g_ptr_array_index (result.contacts, 0));
309 g_object_ref (g_ptr_array_index (result.contacts, 0));
311310 reset_result (&result);
312311
313312 tp_connection_set_contact_info_async (client_conn, info_list,
156156 {
157157 GHashTable *props = NULL;
158158 GArray *members;
159 TpHandle h;
160159 gboolean valid;
161160 GError *error = NULL;
162161 TpChannelGroupFlags flags;
179178 MYASSERT (members != NULL, ": LocalPendingMembers should be defined"); \
180179 MYASSERT (members->len == 0, ": LocalPendingMembers should be empty initally");
181180
182 h = tp_asv_get_uint32 (props, "SelfHandle", &valid);
181 tp_asv_get_uint32 (props, "SelfHandle", &valid);
183182 MYASSERT (valid, ": SelfHandle property should be defined");
184183
185184 flags = tp_asv_get_uint32 (props, "GroupFlags", &valid);
6161 g_assert_no_error (test->error);
6262
6363 alf_handle = tp_handle_ensure (test->contact_repo, "alf", NULL, &test->error);
64 g_assert (alf_handle);
6465 g_assert_no_error (test->error);
6566
6667 test->chan_service = g_object_new (
5656 $(DBUS_CFLAGS) \
5757 $(GLIB_CFLAGS) \
5858 $(TP_GLIB_CFLAGS)
59 AM_LDFLAGS = \
60 $(ERROR_LDFLAGS) \
61 $(NULL)
5962
6063 libtp_glib_tests_la_LIBADD = \
6164 $(DBUS_LIBS) \
4444 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4545 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4646 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
47 $(top_srcdir)/configure.ac
47 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4848 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4949 $(ACLOCAL_M4)
5050 mkinstalldirs = $(install_sh) -d
316316 $(GLIB_CFLAGS) \
317317 $(TP_GLIB_CFLAGS)
318318
319 AM_LDFLAGS = \
320 $(ERROR_LDFLAGS) \
321 $(NULL)
322
319323 libtp_glib_tests_la_LIBADD = \
320324 $(DBUS_LIBS) \
321325 $(GLIB_LIBS) \
4444 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4545 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4646 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
47 $(top_srcdir)/configure.ac
47 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4848 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4949 $(ACLOCAL_M4)
5050 mkinstalldirs = $(install_sh) -d
4343 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4444 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4545 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
46 $(top_srcdir)/configure.ac
46 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4747 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4848 $(ACLOCAL_M4)
4949 mkinstalldirs = $(install_sh) -d
7878 e=0
7979 DBUS_SESSION_BUS_ADDRESS="`cat $me-$$.address`"
8080 export DBUS_SESSION_BUS_ADDRESS
81 DBUS_SESSION_BUS_PID="`cat $me-$$.pid`"
82 export DBUS_SESSION_BUS_PID
8183
8284 if [ -n "$WITH_SESSION_BUS_FORK_DBUS_MONITOR" ] ; then
8385 echo -n "Forking dbus-monitor $WITH_SESSION_BUS_FORK_DBUS_MONITOR_OPT" >&2
4444 $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
4545 $(top_srcdir)/m4/tp-compiler-flag.m4 \
4646 $(top_srcdir)/m4/tp-compiler-warnings.m4 \
47 $(top_srcdir)/configure.ac
47 $(top_srcdir)/m4/tp-linker-flag.m4 $(top_srcdir)/configure.ac
4848 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
4949 $(ACLOCAL_M4)
5050 mkinstalldirs = $(install_sh) -d