/usr/share/gtk-doc/html/libedataserver/libedataserver-ESource.html is in libedataserver1.2-dev 3.2.3-0ubuntu6.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ESource</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Utilities (libedataserver)">
<link rel="prev" href="libedataserver-ESExp.html" title="ESExp">
<link rel="next" href="libedataserver-ESourceGroup.html" title="ESourceGroup">
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libedataserver-ESExp.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Evolution-Data-Server Manual: Utilities (libedataserver)</th>
<td><a accesskey="n" href="libedataserver-ESourceGroup.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libedataserver-ESource.synopsis" class="shortcut">Top</a>
|
<a href="#libedataserver-ESource.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libedataserver-ESource"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libedataserver-ESource.top_of_page"></a>ESource</span></h2>
<p>ESource</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libedataserver-ESource.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">struct <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource">ESource</a>;
<a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-new" title="e_source_new ()">e_source_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *relative_uri</code></em>);
<a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-new-with-absolute-uri" title="e_source_new_with_absolute_uri ()">e_source_new_with_absolute_uri</a> (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *absolute_uri</code></em>);
<a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-new-from-xml-node" title="e_source_new_from_xml_node ()">e_source_new_from_xml_node</a> (<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);
<a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-new-from-standalone-xml" title="e_source_new_from_standalone_xml ()">e_source_new_from_standalone_xml</a> (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>);
<a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-copy" title="e_source_copy ()">e_source_copy</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libedataserver-ESource.html#e-source-update-from-xml-node" title="e_source_update_from_xml_node ()">e_source_update_from_xml_node</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> *changed_return</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-uid-from-xml-node" title="e_source_uid_from_xml_node ()">e_source_uid_from_xml_node</a> (<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-group" title="e_source_set_group ()">e_source_set_group</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">struct _ESourceGroup</span> *group</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-name" title="e_source_set_name ()">e_source_set_name</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-relative-uri" title="e_source_set_relative_uri ()">e_source_set_relative_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *relative_uri</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-absolute-uri" title="e_source_set_absolute_uri ()">e_source_set_absolute_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *absolute_uri</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-color-spec" title="e_source_set_color_spec ()">e_source_set_color_spec</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *color_spec</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-readonly" title="e_source_set_readonly ()">e_source_set_readonly</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> readonly</code></em>);
struct <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="returnvalue">_ESourceGroup</span></a> * <a class="link" href="libedataserver-ESource.html#e-source-peek-group" title="e_source_peek_group ()">e_source_peek_group</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-peek-uid" title="e_source_peek_uid ()">e_source_peek_uid</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-peek-name" title="e_source_peek_name ()">e_source_peek_name</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-peek-relative-uri" title="e_source_peek_relative_uri ()">e_source_peek_relative_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-peek-absolute-uri" title="e_source_peek_absolute_uri ()">e_source_peek_absolute_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-peek-color-spec" title="e_source_peek_color_spec ()">e_source_peek_color_spec</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libedataserver-ESource.html#e-source-get-readonly" title="e_source_get_readonly ()">e_source_get_readonly</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-get-uri" title="e_source_get_uri ()">e_source_get_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-dump-to-xml-node" title="e_source_dump_to_xml_node ()">e_source_dump_to_xml_node</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">xmlNodePtr</span> parent_node</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-to-standalone-xml" title="e_source_to_standalone_xml ()">e_source_to_standalone_xml</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-get-property" title="e_source_get_property ()">e_source_get_property</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-set-property" title="e_source_set_property ()">e_source_set_property</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_value</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libedataserver-ESource.html#e-source-foreach-property" title="e_source_foreach_property ()">e_source_foreach_property</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">GHFunc</span> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-get-duped-property" title="e_source_get_duped_property ()">e_source_get_duped_property</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libedataserver-ESource.html#e-source-build-absolute-uri" title="e_source_build_absolute_uri ()">e_source_build_absolute_uri</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libedataserver-ESource.html#e-source-equal" title="e_source_equal ()">e_source_equal</a> (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *a</code></em>,
<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *b</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libedataserver-ESource.html#e-source-xmlstr-equal" title="e_source_xmlstr_equal ()">e_source_xmlstr_equal</a> (<em class="parameter"><code>const <span class="type">gchar</span> *a</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *b</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libedataserver-ESource.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libedataserver-ESource.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="ESource"></a><h3>struct ESource</h3>
<pre class="programlisting">struct ESource {
GObject parent;
ESourcePrivate *priv;
};
</pre>
<p>
Contains only private data that should be read and manipulated using the
functions below.
</p>
</div>
<hr>
<div class="refsect2">
<a name="e-source-new"></a><h3>e_source_new ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * e_source_new (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *relative_uri</code></em>);</pre>
<p>
Creates a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> instance, and gives it a display name specified
by <em class="parameter"><code>name</code></em> and a relative URI specified by <em class="parameter"><code>relative_uri</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a display name for the source</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relative_uri</code></em> :</span></p></td>
<td>a relative URI for the source</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-new-with-absolute-uri"></a><h3>e_source_new_with_absolute_uri ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * e_source_new_with_absolute_uri (<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *absolute_uri</code></em>);</pre>
<p>
Creates a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> instance, and gives it a display name specified
by <em class="parameter"><code>name</code></em> and a custom absolute URI specified by <em class="parameter"><code>abolute_uri</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a display name for the source</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>absolute_uri</code></em> :</span></p></td>
<td>a custom absolute URI for the source</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-new-from-xml-node"></a><h3>e_source_new_from_xml_node ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * e_source_new_from_xml_node (<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);</pre>
<p>
Creates a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> instance from the XML specification in <em class="parameter"><code>node</code></em>.
If the XML specification is invalid, the function returns <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a pointer to the XML node to parse</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-new-from-standalone-xml"></a><h3>e_source_new_from_standalone_xml ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * e_source_new_from_standalone_xml (<em class="parameter"><code>const <span class="type">gchar</span> *xml</code></em>);</pre>
<p>
Constructs an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> instance from an XML string representation,
probably generated by <a class="link" href="libedataserver-ESource.html#e-source-to-standalone-xml" title="e_source_to_standalone_xml ()"><code class="function">e_source_to_standalone_xml()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>xml</code></em> :</span></p></td>
<td>an XML representation of an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-copy"></a><h3>e_source_copy ()</h3>
<pre class="programlisting"><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="returnvalue">ESource</span></a> * e_source_copy (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Creates a new <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> instance from <em class="parameter"><code>source</code></em>, such that passing <em class="parameter"><code>source</code></em>
and the newly created instance to <a class="link" href="libedataserver-ESource.html#e-source-equal" title="e_source_equal ()"><code class="function">e_source_equal()</code></a> would return <code class="literal">TRUE</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-created <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>. <span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-update-from-xml-node"></a><h3>e_source_update_from_xml_node ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_update_from_xml_node (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> *changed_return</code></em>);</pre>
<p>
Update the <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> attributes from <em class="parameter"><code>node</code></em>. If <em class="parameter"><code>changed_return</code></em> is
non-<code class="literal">NULL</code>, it will be set to <code class="literal">TRUE</code> if any attributes were actually
changed in the course of the update. This will also emit the
<span class="type">"changed"</span> signal if any attributes were actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a pointer to the XML node to parse</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>changed_return</code></em> :</span></p></td>
<td>return location for change confirmation, or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the data in <em class="parameter"><code>node</code></em> was recognized and parsed into
acceptable values for <em class="parameter"><code>source</code></em>, <code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-uid-from-xml-node"></a><h3>e_source_uid_from_xml_node ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_source_uid_from_xml_node (<em class="parameter"><code><span class="type">xmlNodePtr</span> node</code></em>);</pre>
<p>
Assuming that <em class="parameter"><code>node</code></em> is a valid <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> specification, retrieve the
source's unique identifier string from it. Free the returned string
with <code class="function">g_free()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>node</code></em> :</span></p></td>
<td>a pointer to an XML node</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the unique ID of the source specified by <em class="parameter"><code>node</code></em>,
or <code class="literal">NULL</code> if <em class="parameter"><code>node</code></em> is not a valid specification</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-group"></a><h3>e_source_set_group ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_group (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">struct _ESourceGroup</span> *group</code></em>);</pre>
<p>
If the read-only flag for <em class="parameter"><code>source</code></em> is set, the function does nothing.
</p>
<p>
Otherwise, sets the group membership for <em class="parameter"><code>source</code></em>.
</p>
<p>
<note>
<para>
If you want to add an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> to an <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a>, use
<a class="link" href="libedataserver-ESourceGroup.html#e-source-group-add-source" title="e_source_group_add_source ()"><code class="function">e_source_group_add_source()</code></a>. This function only notifies
<em class="parameter"><code>source</code></em> of its group membership, but makes no effort to
verify that membership with <em class="parameter"><code>group</code></em>.
</para>
</note>
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the group membership
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-name"></a><h3>e_source_set_name ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_name (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
If the read-only flag for <em class="parameter"><code>source</code></em> is set, the function does nothing.
</p>
<p>
Otherwise, sets the display name for <em class="parameter"><code>source</code></em>.
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the display name
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>a display name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-relative-uri"></a><h3>e_source_set_relative_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_relative_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *relative_uri</code></em>);</pre>
<p>
If the read-only flag for <em class="parameter"><code>source</code></em> is set, the function does nothing.
</p>
<p>
Otherwise, sets the relative URI for <em class="parameter"><code>source</code></em>. If <em class="parameter"><code>source</code></em> is a member
of an <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a> and has not been given a custom absolute URI, the
function also generates a new absolute URI for <em class="parameter"><code>source</code></em>.
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the relative URI
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>relative_uri</code></em> :</span></p></td>
<td>a relative URI string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-absolute-uri"></a><h3>e_source_set_absolute_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_absolute_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *absolute_uri</code></em>);</pre>
<p>
Sets a custom absolute URI for <em class="parameter"><code>source</code></em>. If <em class="parameter"><code>absolute_uri</code></em> is <code class="literal">NULL</code>, the
custom absolute URI is cleared and <em class="parameter"><code>source</code></em> will fall back to its relative
URI plus the base URI of its containing <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a>.
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the custom absolute URI
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>absolute_uri</code></em> :</span></p></td>
<td>an absolute URI string, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-color-spec"></a><h3>e_source_set_color_spec ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_color_spec (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *color_spec</code></em>);</pre>
<p>
Store a textual representation of a color in <em class="parameter"><code>source</code></em>. The <em class="parameter"><code>color_spec</code></em>
string should be parsable by #<code class="function">gdk_color_parse()</code>, or <code class="literal">NULL</code> to unset the
color in <em class="parameter"><code>source</code></em>.
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the color representation
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>color_spec</code></em> :</span></p></td>
<td>a string specifying the color</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-readonly"></a><h3>e_source_set_readonly ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_readonly (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> readonly</code></em>);</pre>
<p>
Sets <em class="parameter"><code>source</code></em> as being read-only (<code class="literal">TRUE</code>) or writable (<code class="literal">FALSE</code>).
A read-only <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> ignores attempts to change its display name,
<a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a>, relative URI or color.
</p>
<p>
This will emit the <span class="type">"changed"</span> signal if the read-only state
actually changed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>readonly</code></em> :</span></p></td>
<td>a read-only flag</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-group"></a><h3>e_source_peek_group ()</h3>
<pre class="programlisting">struct <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="returnvalue">_ESourceGroup</span></a> * e_source_peek_group (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a> to which <em class="parameter"><code>source</code></em> belongs, or <code class="literal">NULL</code> if it
does not belong to a group.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a> to which the source belongs. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-uid"></a><h3>e_source_peek_uid ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_peek_uid (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the unique identifier string for <em class="parameter"><code>source</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the source's unique ID</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-name"></a><h3>e_source_peek_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_peek_name (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the display name for <em class="parameter"><code>source</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the source's display name</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-relative-uri"></a><h3>e_source_peek_relative_uri ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_peek_relative_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the relative URI for <em class="parameter"><code>source</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the source's relative URI</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-absolute-uri"></a><h3>e_source_peek_absolute_uri ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_peek_absolute_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the absolute URI for <em class="parameter"><code>source</code></em> if it has one, or else <code class="literal">NULL</code> if
it has only a relative URI. <a class="link" href="libedataserver-ESource.html#e-source-get-uri" title="e_source_get_uri ()"><code class="function">e_source_get_uri()</code></a> may be more convenient.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the source's own absolute URI, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-peek-color-spec"></a><h3>e_source_peek_color_spec ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_peek_color_spec (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Return the textual representation of the color for <em class="parameter"><code>source</code></em>, or <code class="literal">NULL</code> if it
has none. The returned string should be parsable by #<code class="function">gdk_color_parse()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string specifying the color</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="e-source-get-readonly"></a><h3>e_source_get_readonly ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_get_readonly (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns the read-only flag for <em class="parameter"><code>source</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the source is read-only, <code class="literal">FALSE</code> if it's writable</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-get-uri"></a><h3>e_source_get_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_source_get_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Returns a newly-allocated copy of an absolute URI for <em class="parameter"><code>source</code></em>. If
<em class="parameter"><code>source</code></em> has no absolute URI of its own, the URI is constructed from
the base URI of its <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a> and its relative URI. Free the
returned string with <code class="function">g_free()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-allocated absolute URI string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-dump-to-xml-node"></a><h3>e_source_dump_to_xml_node ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_dump_to_xml_node (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">xmlNodePtr</span> parent_node</code></em>);</pre>
<p>
Converts <em class="parameter"><code>source</code></em> to an <structname>xmlNode</structname> structure
and adds it as a child of <em class="parameter"><code>parent_node</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent_node</code></em> :</span></p></td>
<td>location to add XML data</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-to-standalone-xml"></a><h3>e_source_to_standalone_xml ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_source_to_standalone_xml (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Converts <em class="parameter"><code>source</code></em> to an XML string for permanent storage.
Free the returned string with <code class="function">g_free()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-allocated XML string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-get-property"></a><h3>e_source_get_property ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_source_get_property (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
<p>
Looks up the value of a custom <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> property. If no such
property name exists in <em class="parameter"><code>source</code></em>, the function returns <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td>a custom property name</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the property value, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-set-property"></a><h3>e_source_set_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_set_property (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_value</code></em>);</pre>
<p>
Create a new custom <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> property or replaces an existing one. If
<em class="parameter"><code>property_value</code></em> is <code class="literal">NULL</code>, the property is removed from <em class="parameter"><code>source</code></em>. This
will also emit a <span class="type">"changed"</span> signal.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td>a custom property name</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_value</code></em> :</span></p></td>
<td>a new value for the property, or <code class="literal">NULL</code>. <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>
<hr>
<div class="refsect2">
<a name="e-source-foreach-property"></a><h3>e_source_foreach_property ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_source_foreach_property (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code><span class="type">GHFunc</span> func</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
<p>
Calls the given function for each property in <em class="parameter"><code>source</code></em>. The function
is passed the name and value of each property, and the given <em class="parameter"><code>user_data</code></em>
argument. The properties may not be modified while iterating over them.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
<td>the function to call for each property. <span class="annotation">[<acronym title="The callback is valid only during the call to the method."><span class="acronym">scope call</span></acronym>]</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data to pass to the function</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-get-duped-property"></a><h3>e_source_get_duped_property ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_source_get_duped_property (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *property_name</code></em>);</pre>
<p>
Looks up the value of a custom <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> property and returns a
newly-allocated copy of the value. If no such property name exists
in <em class="parameter"><code>source</code></em>, the function returns <code class="literal">NULL</code>. Free the returned value
with <code class="function">g_free()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>property_name</code></em> :</span></p></td>
<td>a custom property name</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-allocated copy of the property value, or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 1.12</p>
</div>
<hr>
<div class="refsect2">
<a name="e-source-build-absolute-uri"></a><h3>e_source_build_absolute_uri ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_source_build_absolute_uri (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *source</code></em>);</pre>
<p>
Builds an absolute URI string using the base URI of the <a class="link" href="libedataserver-ESourceGroup.html#ESourceGroup" title="struct ESourceGroup"><span class="type">ESourceGroup</span></a>
to which <em class="parameter"><code>source</code></em> belongs, and its own relative URI. This function
ignores any custom absolute URIs set with <a class="link" href="libedataserver-ESource.html#e-source-set-absolute-uri" title="e_source_set_absolute_uri ()"><code class="function">e_source_set_absolute_uri()</code></a>.
Free the returned string with <code class="function">g_free()</code>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>source</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly-allocated absolute URI string</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-source-equal"></a><h3>e_source_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_equal (<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *a</code></em>,
<em class="parameter"><code><a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a> *b</code></em>);</pre>
<p>
Compares if <em class="parameter"><code>a</code></em> is equivalent to <em class="parameter"><code>b</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>another <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>a</code></em> is equivalent to <em class="parameter"><code>b</code></em>, <code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.24</p>
</div>
<hr>
<div class="refsect2">
<a name="e-source-xmlstr-equal"></a><h3>e_source_xmlstr_equal ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_source_xmlstr_equal (<em class="parameter"><code>const <span class="type">gchar</span> *a</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *b</code></em>);</pre>
<p>
Compares if <em class="parameter"><code>a</code></em> is equivalent to <em class="parameter"><code>b</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>a</code></em> :</span></p></td>
<td>an XML representation of an <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>b</code></em> :</span></p></td>
<td>an XML representation of another <a class="link" href="libedataserver-ESource.html#ESource" title="struct ESource"><span class="type">ESource</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>a</code></em> is equivalent to <em class="parameter"><code>b</code></em>, <code class="literal">FALSE</code> otherwise</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.24</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|