/usr/share/gtk-doc/html/eds/eds-EDataBook.html is in evolution-data-server-doc 3.18.5-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EDataBook: Evolution-Data-Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Reference Manual">
<link rel="up" href="ch08.html" title="Addressbook Backend Classes">
<link rel="prev" href="eds-EBookSqlite.html" title="EBookSqlite">
<link rel="next" href="eds-EDataBookDirect.html" title="EDataBookDirect">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#eds-EDataBook.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch08.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="eds-EBookSqlite.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="eds-EDataBookDirect.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="eds-EDataBook"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="eds-EDataBook.top_of_page"></a>EDataBook</span></h2>
<p>EDataBook — Server side D-Bus layer to communicate with addressbooks</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="eds-EDataBook.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-error-quark" title="e_data_book_error_quark ()">e_data_book_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-create-error" title="e_data_book_create_error ()">e_data_book_create_error</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-create-error-fmt" title="e_data_book_create_error_fmt ()">e_data_book_create_error_fmt</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-status-to-string" title="e_data_book_status_to_string ()">e_data_book_status_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="returnvalue">EDataBook</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-new" title="e_data_book_new ()">e_data_book_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">struct <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="returnvalue">_EBookBackend</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-ref-backend" title="e_data_book_ref_backend ()">e_data_book_ref_backend</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="returnvalue">GDBusConnection</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-get-connection" title="e_data_book_get_connection ()">e_data_book_get_connection</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-get-object-path" title="e_data_book_get_object_path ()">e_data_book_get_object_path</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-set-locale" title="e_data_book_set_locale ()">e_data_book_set_locale</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-open" title="e_data_book_respond_open ()">e_data_book_respond_open</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-refresh" title="e_data_book_respond_refresh ()">e_data_book_respond_refresh</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-create-contacts" title="e_data_book_respond_create_contacts ()">e_data_book_respond_create_contacts</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-remove-contacts" title="e_data_book_respond_remove_contacts ()">e_data_book_respond_remove_contacts</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-modify-contacts" title="e_data_book_respond_modify_contacts ()">e_data_book_respond_modify_contacts</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-get-contact" title="e_data_book_respond_get_contact ()">e_data_book_respond_get_contact</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-get-contact-list" title="e_data_book_respond_get_contact_list ()">e_data_book_respond_get_contact_list</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-respond-get-contact-list-uids" title="e_data_book_respond_get_contact_list_uids ()">e_data_book_respond_get_contact_list_uids</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-report-error" title="e_data_book_report_error ()">e_data_book_report_error</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-report-backend-property-changed" title="e_data_book_report_backend_property_changed ()">e_data_book_report_backend_property_changed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="eds-EDataBook.html#e-data-book-string-slist-to-comma-string" title="e_data_book_string_slist_to_comma_string ()">e_data_book_string_slist_to_comma_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="eds-EDataBook.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook">EDataBook</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="eds-EDataBook.html#EDataBookClass" title="struct EDataBookClass">EDataBookClass</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="eds-EDataBook.html#E-DATA-BOOK-ERROR:CAPS" title="E_DATA_BOOK_ERROR">E_DATA_BOOK_ERROR</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="eds-EDataBook.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <libedata-book/libedata-book.h>
</pre>
</div>
<div class="refsect1">
<a name="eds-EDataBook.description"></a><h2>Description</h2>
<p>This class communicates with <a href="eds-EBookClient.html#EBookClient"><span class="type">EBookClients</span></a> over the bus and accesses
an <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="type">EBookBackend</span></a> to satisfy client requests.</p>
</div>
<div class="refsect1">
<a name="eds-EDataBook.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="e-data-book-error-quark"></a><h3>e_data_book_error_quark ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
e_data_book_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-create-error"></a><h3>e_data_book_create_error ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
e_data_book_create_error (<em class="parameter"><code><a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a> status</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *custom_msg</code></em>);</pre>
<div class="refsect3">
<a name="id-1.4.4.6.7.3.4"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>status</p></td>
<td class="parameter_description"><p><a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a> code</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>custom_msg</p></td>
<td class="parameter_description"><p>Custom message to use for the error. When NULL,
then uses a default message based on the <em class="parameter"><code>status</code></em>
code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.3.5"></a><h4>Returns</h4>
<p> NULL, when the <em class="parameter"><code>status</code></em>
is E_DATA_BOOK_STATUS_SUCCESS,
or a newly allocated GError, which should be freed
with <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#g-error-free"><code class="function">g_error_free()</code></a> call.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2.32.html" title="Index of new symbols in 2.32">2.32</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-create-error-fmt"></a><h3>e_data_book_create_error_fmt ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *
e_data_book_create_error_fmt (<em class="parameter"><code><a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a> status</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *custom_msg_fmt</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Similar as <a class="link" href="eds-EDataBook.html#e-data-book-create-error" title="e_data_book_create_error ()"><code class="function">e_data_book_create_error()</code></a>, only here, instead of custom_msg,
is used a <code class="function">printf()</code> format to create a custom_msg for the error.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>status</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>custom_msg_fmt</p></td>
<td class="parameter_description"><p>Custom message to use for the error. When NULL,
then uses a default message based on the <em class="parameter"><code>status</code></em>
code.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>arguments for the <em class="parameter"><code>custom_msg_fmt</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.4.6"></a><h4>Returns</h4>
<p> a new <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> populated with the values
from the parameters. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-2.32.html" title="Index of new symbols in 2.32">2.32</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-status-to-string"></a><h3>e_data_book_status_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_data_book_status_to_string (<em class="parameter"><code><a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a> status</code></em>);</pre>
<p>Get localized human readable description of the given status code.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>status</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-Addressbook-related-types.html#EDataBookStatus" title="enum EDataBookStatus"><span class="type">EDataBookStatus</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.5.6"></a><h4>Returns</h4>
<p> Localized human readable description of the given status code</p>
</div>
<p class="since">Since: <a class="link" href="api-index-2.32.html" title="Index of new symbols in 2.32">2.32</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-new"></a><h3>e_data_book_new ()</h3>
<pre class="programlisting"><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="returnvalue">EDataBook</span></a> *
e_data_book_new (<em class="parameter"><code><span class="type">struct _EBookBackend</span> *backend</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="type">GDBusConnection</span></a> *connection</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Creates a new <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> and exports the AddressBook D-Bus interface
on <em class="parameter"><code>connection</code></em>
at <em class="parameter"><code>object_path</code></em>
. The <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> handles incoming remote
method invocations and forwards them to the <em class="parameter"><code>backend</code></em>
. If the AddressBook
interface fails to export, the function sets <em class="parameter"><code>error</code></em>
and returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>backend</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="type">EBookBackend</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>connection</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="type">GDBusConnection</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object_path</p></td>
<td class="parameter_description"><p>object path for the D-Bus interface</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.6.6"></a><h4>Returns</h4>
<p> an <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-ref-backend"></a><h3>e_data_book_ref_backend ()</h3>
<pre class="programlisting">struct <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="returnvalue">_EBookBackend</span></a> *
e_data_book_ref_backend (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>);</pre>
<p>Returns the <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="type">EBookBackend</span></a> to which incoming remote method invocations
are being forwarded.</p>
<p>The returned <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="type">EBookBackend</span></a> is referenced for thread-safety and should
be unreferenced with <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a> when finished with it.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.7.6"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.7.7"></a><h4>Returns</h4>
<p> an <a class="link" href="eds-EBookBackend.html#EBookBackend" title="struct EBookBackend"><span class="type">EBookBackend</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.10.html" title="Index of new symbols in 3.10">3.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-get-connection"></a><h3>e_data_book_get_connection ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="returnvalue">GDBusConnection</span></a> *
e_data_book_get_connection (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>);</pre>
<p>Returns the <a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="type">GDBusConnection</span></a> on which the AddressBook D-Bus interface
is exported.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.8.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.8.6"></a><h4>Returns</h4>
<p> the <a href="/usr/share/gtk-doc/html/gio/GDBusConnection.html"><span class="type">GDBusConnection</span></a></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-get-object-path"></a><h3>e_data_book_get_object_path ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_data_book_get_object_path (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>);</pre>
<p>Returns the object path at which the AddressBook D-Bus interface is
exported.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.9.6"></a><h4>Returns</h4>
<p> the object path</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.8.html" title="Index of new symbols in 3.8">3.8</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-set-locale"></a><h3>e_data_book_set_locale ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_data_book_set_locale (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *locale</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Set's the locale for this addressbook, this can result in renormalization of
locale sensitive data.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>an <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> </p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>locale</p></td>
<td class="parameter_description"><p>the new locale to set for this book</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p> a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p> a location to store any error which might occur. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.10.6"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success, otherwise <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and <em class="parameter"><code>error</code></em>
is set appropriately.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.12.html" title="Index of new symbols in 3.12">3.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-open"></a><h3>e_data_book_respond_open ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_open (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
<p>Notifies listeners of the completion of the open method call.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-refresh"></a><h3>e_data_book_respond_refresh ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_refresh (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>);</pre>
<p>Notifies listeners of the completion of the refresh method call.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-create-contacts"></a><h3>e_data_book_respond_create_contacts ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_create_contacts (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *contacts</code></em>);</pre>
<p>Finishes a call to create a list contacts.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>contacts</p></td>
<td class="parameter_description"><p> A list of created <span class="type">EContact-s</span>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> EContact]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-remove-contacts"></a><h3>e_data_book_respond_remove_contacts ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_remove_contacts (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *ids</code></em>);</pre>
<p>Finishes a call to remove a list of contacts.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ids</p></td>
<td class="parameter_description"><p> A list of removed contact UID-s, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar *]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-modify-contacts"></a><h3>e_data_book_respond_modify_contacts ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_modify_contacts (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *contacts</code></em>);</pre>
<p>Finishes a call to modify a list of contacts.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>contacts</p></td>
<td class="parameter_description"><p> A list of modified <span class="type">EContact-s</span>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> EContact]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.4.html" title="Index of new symbols in 3.4">3.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-get-contact"></a><h3>e_data_book_respond_get_contact ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_get_contact (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *vcard</code></em>);</pre>
<p>Notifies listeners of the completion of the get_contact method call.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.16.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-get-contact-list"></a><h3>e_data_book_respond_get_contact_list ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_get_contact_list (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *cards</code></em>);</pre>
<p>Finishes a call to get list of vCards which satisfy certain criteria.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.17.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cards</p></td>
<td class="parameter_description"><p> A list of vCard strings, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar *]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-respond-get-contact-list-uids"></a><h3>e_data_book_respond_get_contact_list_uids ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_respond_get_contact_list_uids
(<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> opid</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *uids</code></em>);</pre>
<p>Finishes a call to get list of UIDs which satisfy certain criteria.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.18.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>opid</p></td>
<td class="parameter_description"><p>An operation ID</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>Operation error, if any, automatically freed if passed it</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uids</p></td>
<td class="parameter_description"><p> A list of picked UIDs, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar *]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-report-error"></a><h3>e_data_book_report_error ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_report_error (<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *message</code></em>);</pre>
<p>Notifies the clients about an error, which happened out of any client-initiate operation.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.19.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>message</p></td>
<td class="parameter_description"><p>An error message</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-report-backend-property-changed"></a><h3>e_data_book_report_backend_property_changed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_data_book_report_backend_property_changed
(<em class="parameter"><code><a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a> *book</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prop_name</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *prop_value</code></em>);</pre>
<p>Notifies the clients about a property change.</p>
<div class="refsect3">
<a name="id-1.4.4.6.7.20.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>book</p></td>
<td class="parameter_description"><p>An <a class="link" href="eds-EDataBook.html#EDataBook" title="struct EDataBook"><span class="type">EDataBook</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prop_name</p></td>
<td class="parameter_description"><p>Property name which changed</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prop_value</p></td>
<td class="parameter_description"><p>The new property value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-data-book-string-slist-to-comma-string"></a><h3>e_data_book_string_slist_to_comma_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_data_book_string_slist_to_comma_string
(<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *strings</code></em>);</pre>
<p>Takes a list of strings and converts it to a comma-separated string of
values; free returned pointer with <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a></p>
<div class="refsect3">
<a name="id-1.4.4.6.7.21.5"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>strings</p></td>
<td class="parameter_description"><p> a list of gchar *. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> gchar *]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="id-1.4.4.6.7.21.6"></a><h4>Returns</h4>
<p> comma-separated newly allocated text of <em class="parameter"><code>strings</code></em>
. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3.2.html" title="Index of new symbols in 3.2">3.2</a></p>
</div>
</div>
<div class="refsect1">
<a name="eds-EDataBook.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="EDataBook"></a><h3>struct EDataBook</h3>
<pre class="programlisting">struct EDataBook {
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="EDataBookClass"></a><h3>struct EDataBookClass</h3>
<pre class="programlisting">struct EDataBookClass {
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-DATA-BOOK-ERROR:CAPS"></a><h3>E_DATA_BOOK_ERROR</h3>
<pre class="programlisting">#define E_DATA_BOOK_ERROR e_data_book_error_quark ()
</pre>
<p class="since">Since: <a class="link" href="api-index-2.30.html" title="Index of new symbols in 2.30">2.30</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>
|