/usr/share/gtk-doc/html/libecal/libecal-e-cal-util.html is in libecal1.2-dev 3.2.3-0ubuntu7.1.
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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>e-cal-util</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Calendar Client (libecal)">
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Calendar Client (libecal)">
<link rel="prev" href="libecal-e-cal-types.html" title="e-cal-types">
<link rel="next" href="libecal-e-cal-system-timezone.html" title="e-cal-system-timezone">
<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="libecal-e-cal-types.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: Calendar Client (libecal)</th>
<td><a accesskey="n" href="libecal-e-cal-system-timezone.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libecal-e-cal-util.synopsis" class="shortcut">Top</a>
|
<a href="#libecal-e-cal-util.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="libecal-e-cal-util"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libecal-e-cal-util.top_of_page"></a>e-cal-util</span></h2>
<p>e-cal-util</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="libecal-e-cal-util.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"> <a class="link" href="libecal-e-cal-util.html#CalObjInstance" title="CalObjInstance">CalObjInstance</a>;
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-util.html#cal-obj-instance-list-free" title="cal_obj_instance_list_free ()">cal_obj_instance_list_free</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
enum <a class="link" href="libecal-e-cal-util.html#CalObjModType" title="enum CalObjModType">CalObjModType</a>;
enum <a class="link" href="libecal-e-cal-util.html#CalMode" title="enum CalMode">CalMode</a>;
#define <a class="link" href="libecal-e-cal-util.html#cal-mode-to-corba" title="cal_mode_to_corba()">cal_mode_to_corba</a> (mode)
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-util.html#cal-obj-uid-list-free" title="cal_obj_uid_list_free ()">cal_obj_uid_list_free</a> (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);
<span class="returnvalue">icalcomponent</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-new-top-level" title="e_cal_util_new_top_level ()">e_cal_util_new_top_level</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">icalcomponent</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-new-component" title="e_cal_util_new_component ()">e_cal_util_new_component</a> (<em class="parameter"><code><span class="type">icalcomponent_kind</span> kind</code></em>);
<span class="returnvalue">icalcomponent</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-parse-ics-string" title="e_cal_util_parse_ics_string ()">e_cal_util_parse_ics_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);
<span class="returnvalue">icalcomponent</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-parse-ics-file" title="e_cal_util_parse_ics_file ()">e_cal_util_parse_ics_file</a> (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);
<a class="link" href="libecal-ECalComponent.html#ECalComponentAlarms" title="ECalComponentAlarms"><span class="returnvalue">ECalComponentAlarms</span></a> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-generate-alarms-for-comp" title="e_cal_util_generate_alarms_for_comp ()">e_cal_util_generate_alarms_for_comp</a>
(<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a> *comp</code></em>,
<em class="parameter"><code><span class="type">time_t</span> start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponentAlarmAction" title="enum ECalComponentAlarmAction"><span class="type">ECalComponentAlarmAction</span></a> *omit</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> resolve_tzid</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">icaltimezone</span> *default_timezone</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-generate-alarms-for-list" title="e_cal_util_generate_alarms_for_list ()">e_cal_util_generate_alarms_for_list</a> (<em class="parameter"><code><span class="type">GList</span> *comps</code></em>,
<em class="parameter"><code><span class="type">time_t</span> start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponentAlarmAction" title="enum ECalComponentAlarmAction"><span class="type">ECalComponentAlarmAction</span></a> *omit</code></em>,
<em class="parameter"><code><span class="type">GSList</span> **comp_alarms</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> resolve_tzid</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">icaltimezone</span> *default_timezone</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-priority-to-string" title="e_cal_util_priority_to_string ()">e_cal_util_priority_to_string</a> (<em class="parameter"><code><span class="type">gint</span> priority</code></em>);
<span class="returnvalue">gint</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-priority-from-string" title="e_cal_util_priority_from_string ()">e_cal_util_priority_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-add-timezones-from-component" title="e_cal_util_add_timezones_from_component ()">e_cal_util_add_timezones_from_component</a>
(<em class="parameter"><code><span class="type">icalcomponent</span> *vcal_comp</code></em>,
<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-is-instance" title="e_cal_util_component_is_instance ()">e_cal_util_component_is_instance</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-alarms" title="e_cal_util_component_has_alarms ()">e_cal_util_component_has_alarms</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-organizer" title="e_cal_util_component_has_organizer ()">e_cal_util_component_has_organizer</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-recurrences" title="e_cal_util_component_has_recurrences ()">e_cal_util_component_has_recurrences</a>
(<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-rdates" title="e_cal_util_component_has_rdates ()">e_cal_util_component_has_rdates</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-rrules" title="e_cal_util_component_has_rrules ()">e_cal_util_component_has_rrules</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-component-has-attendee" title="e_cal_util_component_has_attendee ()">e_cal_util_component_has_attendee</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-event-dates-match" title="e_cal_util_event_dates_match ()">e_cal_util_event_dates_match</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp1</code></em>,
<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp2</code></em>);
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-ALARM-REPEAT:CAPS" title="CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT">CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-AUDIO-ALARMS:CAPS" title="CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS">CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-DISPLAY-ALARMS:CAPS" title="CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS">CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-EMAIL-ALARMS:CAPS" title="CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS">CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-PROCEDURE-ALARMS:CAPS" title="CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS">CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-TASK-ASSIGNMENT:CAPS" title="CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT">CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-THISANDFUTURE:CAPS" title="CAL_STATIC_CAPABILITY_NO_THISANDFUTURE">CAL_STATIC_CAPABILITY_NO_THISANDFUTURE</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-THISANDPRIOR:CAPS" title="CAL_STATIC_CAPABILITY_NO_THISANDPRIOR">CAL_STATIC_CAPABILITY_NO_THISANDPRIOR</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-TRANSPARENCY:CAPS" title="CAL_STATIC_CAPABILITY_NO_TRANSPARENCY">CAL_STATIC_CAPABILITY_NO_TRANSPARENCY</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-REMOVE-ONLY-THIS:CAPS" title="CAL_STATIC_CAPABILITY_REMOVE_ONLY_THIS">CAL_STATIC_CAPABILITY_REMOVE_ONLY_THIS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-ONE-ALARM-ONLY:CAPS" title="CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY">CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-ORGANIZER-MUST-ATTEND:CAPS" title="CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND">CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-ORGANIZER-NOT-EMAIL-ADDRESS:CAPS" title="CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS">CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-REMOVE-ALARMS:CAPS" title="CAL_STATIC_CAPABILITY_REMOVE_ALARMS">CAL_STATIC_CAPABILITY_REMOVE_ALARMS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-CREATE-MESSAGES:CAPS" title="CAL_STATIC_CAPABILITY_CREATE_MESSAGES">CAL_STATIC_CAPABILITY_CREATE_MESSAGES</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-SAVE-SCHEDULES:CAPS" title="CAL_STATIC_CAPABILITY_SAVE_SCHEDULES">CAL_STATIC_CAPABILITY_SAVE_SCHEDULES</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-CONV-TO-ASSIGN-TASK:CAPS" title="CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK">CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-CONV-TO-RECUR:CAPS" title="CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR">CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-GEN-OPTIONS:CAPS" title="CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS">CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-REQ-SEND-OPTIONS:CAPS" title="CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS">CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-RECURRENCES-NO-MASTER:CAPS" title="CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER">CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-ORGANIZER-MUST-ACCEPT:CAPS" title="CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT">CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-DELEGATE-SUPPORTED:CAPS" title="CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED">CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-NO-ORGANIZER:CAPS" title="CAL_STATIC_CAPABILITY_NO_ORGANIZER">CAL_STATIC_CAPABILITY_NO_ORGANIZER</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-DELEGATE-TO-MANY:CAPS" title="CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY">CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-HAS-UNACCEPTED-MEETING:CAPS" title="CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING">CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING</a>
#define <a class="link" href="libecal-e-cal-util.html#CAL-STATIC-CAPABILITY-REFRESH-SUPPORTED:CAPS" title="CAL_STATIC_CAPABILITY_REFRESH_SUPPORTED">CAL_STATIC_CAPABILITY_REFRESH_SUPPORTED</a>
<span class="returnvalue">icalcomponent</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-construct-instance" title="e_cal_util_construct_instance ()">e_cal_util_construct_instance</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>,
<em class="parameter"><code><span class="type">struct icaltimetype</span> rid</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-remove-instances" title="e_cal_util_remove_instances ()">e_cal_util_remove_instances</a> (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>,
<em class="parameter"><code><span class="type">struct icaltimetype</span> rid</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-util.html#CalObjModType" title="enum CalObjModType"><span class="type">CalObjModType</span></a> mod</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-get-system-timezone-location" title="e_cal_util_get_system_timezone_location ()">e_cal_util_get_system_timezone_location</a>
(<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">icaltimezone</span> * <a class="link" href="libecal-e-cal-util.html#e-cal-util-get-system-timezone" title="e_cal_util_get_system_timezone ()">e_cal_util_get_system_timezone</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="libecal-e-cal-util.html#e-cal-util-get-component-occur-times" title="e_cal_util_get_component_occur_times ()">e_cal_util_get_component_occur_times</a>
(<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a> *comp</code></em>,
<em class="parameter"><code><span class="type">time_t</span> *start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> *end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> tz_cb</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> tz_cb_data</code></em>,
<em class="parameter"><code>const <span class="type">icaltimezone</span> *default_timezone</code></em>,
<em class="parameter"><code><span class="type">icalcomponent_kind</span> kind</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="libecal-e-cal-util.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1">
<a name="libecal-e-cal-util.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="CalObjInstance"></a><h3>CalObjInstance</h3>
<pre class="programlisting">typedef struct {
gchar *uid; /* UID of the object */
time_t start; /* Start time of instance */
time_t end; /* End time of instance */
} CalObjInstance;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="cal-obj-instance-list-free"></a><h3>cal_obj_instance_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cal_obj_instance_list_free (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Frees a list of <a class="link" href="libecal-e-cal-util.html#CalObjInstance" title="CalObjInstance"><span class="type">CalObjInstance</span></a> structures.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>List of <a class="link" href="libecal-e-cal-util.html#CalObjInstance" title="CalObjInstance"><span class="type">CalObjInstance</span></a> structures.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="CalObjModType"></a><h3>enum CalObjModType</h3>
<pre class="programlisting">typedef enum {
CALOBJ_MOD_THIS = 1 << 0,
CALOBJ_MOD_THISANDPRIOR = 1 << 1,
CALOBJ_MOD_THISANDFUTURE = 1 << 2,
CALOBJ_MOD_ONLY_THIS = 1 << 3,
CALOBJ_MOD_ALL = 0x07
} CalObjModType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CalMode"></a><h3>enum CalMode</h3>
<pre class="programlisting">typedef enum {
CAL_MODE_INVALID = -1,
CAL_MODE_LOCAL = 1 << 0,
CAL_MODE_REMOTE = 1 << 1,
CAL_MODE_ANY = 0x07
} CalMode;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="cal-mode-to-corba"></a><h3>cal_mode_to_corba()</h3>
<pre class="programlisting">#define cal_mode_to_corba(mode)</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="cal-obj-uid-list-free"></a><h3>cal_obj_uid_list_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> cal_obj_uid_list_free (<em class="parameter"><code><span class="type">GList</span> *list</code></em>);</pre>
<p>
Frees a list of unique identifiers for calendar objects.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>list</code></em> :</span></p></td>
<td>List of strings with unique identifiers.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-new-top-level"></a><h3>e_cal_util_new_top_level ()</h3>
<pre class="programlisting"><span class="returnvalue">icalcomponent</span> * e_cal_util_new_top_level (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new VCALENDAR component.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly created top level component.</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-new-component"></a><h3>e_cal_util_new_component ()</h3>
<pre class="programlisting"><span class="returnvalue">icalcomponent</span> * e_cal_util_new_component (<em class="parameter"><code><span class="type">icalcomponent_kind</span> kind</code></em>);</pre>
<p>
Creates a new <span class="type">icalcomponent</span> of the specified kind.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>kind</code></em> :</span></p></td>
<td>Kind of the component to create.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the newly created component.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-parse-ics-string"></a><h3>e_cal_util_parse_ics_string ()</h3>
<pre class="programlisting"><span class="returnvalue">icalcomponent</span> * e_cal_util_parse_ics_string (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
<p>
Parses an iCalendar string and returns a new <span class="type">icalcomponent</span> representing
that string. Note that this function deals with multiple VCALENDAR's in the
string, something that Mozilla used to do and which libical does not
support.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td>iCalendar string to be parsed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly created <span class="type">icalcomponent</span> or NULL if the string isn't a
valid iCalendar string.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-parse-ics-file"></a><h3>e_cal_util_parse_ics_file ()</h3>
<pre class="programlisting"><span class="returnvalue">icalcomponent</span> * e_cal_util_parse_ics_file (<em class="parameter"><code>const <span class="type">gchar</span> *filename</code></em>);</pre>
<p>
Parses the given file, and, if it contains a valid iCalendar object,
parse it and return a new <span class="type">icalcomponent</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td>Name of the file to be parsed.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a newly created <span class="type">icalcomponent</span> or NULL if the file doesn't
contain a valid iCalendar object.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-generate-alarms-for-comp"></a><h3>e_cal_util_generate_alarms_for_comp ()</h3>
<pre class="programlisting"><a class="link" href="libecal-ECalComponent.html#ECalComponentAlarms" title="ECalComponentAlarms"><span class="returnvalue">ECalComponentAlarms</span></a> * e_cal_util_generate_alarms_for_comp
(<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a> *comp</code></em>,
<em class="parameter"><code><span class="type">time_t</span> start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponentAlarmAction" title="enum ECalComponentAlarmAction"><span class="type">ECalComponentAlarmAction</span></a> *omit</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> resolve_tzid</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">icaltimezone</span> *default_timezone</code></em>);</pre>
<p>
Generates alarm instances for a calendar component. Returns the instances
structure, or NULL if no alarm instances occurred in the specified time
range.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>comp</code></em> :</span></p></td>
<td>The <a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a> to generate alarms from.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>Start time.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
<td>End time.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>omit</code></em> :</span></p></td>
<td>Alarm types to omit</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolve_tzid</code></em> :</span></p></td>
<td>Callback for resolving timezones</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Data to be passed to the resolve_tzid callback</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>default_timezone</code></em> :</span></p></td>
<td>The timezone used to resolve DATE and floating DATE-TIME
values.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a list of all the alarms found for the given component on
the given time tange. The list of alarms should be freed by using the
<span class="type">e_cal_component_free_alarm_list</span> function.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-generate-alarms-for-list"></a><h3>e_cal_util_generate_alarms_for_list ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> e_cal_util_generate_alarms_for_list (<em class="parameter"><code><span class="type">GList</span> *comps</code></em>,
<em class="parameter"><code><span class="type">time_t</span> start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponentAlarmAction" title="enum ECalComponentAlarmAction"><span class="type">ECalComponentAlarmAction</span></a> *omit</code></em>,
<em class="parameter"><code><span class="type">GSList</span> **comp_alarms</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> resolve_tzid</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
<em class="parameter"><code><span class="type">icaltimezone</span> *default_timezone</code></em>);</pre>
<p>
Iterates through all the components in the <em class="parameter"><code>comps</code></em> list and generates alarm
instances for them; putting them in the <em class="parameter"><code>comp_alarms</code></em> list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>comps</code></em> :</span></p></td>
<td>List of <a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a>'s.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>start</code></em> :</span></p></td>
<td>Start time.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>end</code></em> :</span></p></td>
<td>End time.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>omit</code></em> :</span></p></td>
<td>Alarm types to omit</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>comp_alarms</code></em> :</span></p></td>
<td>List to be returned</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>resolve_tzid</code></em> :</span></p></td>
<td>Callback for resolving timezones</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>Data to be passed to the resolve_tzid callback</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>default_timezone</code></em> :</span></p></td>
<td>The timezone used to resolve DATE and floating DATE-TIME
values.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the number of elements it added to the list.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-priority-to-string"></a><h3>e_cal_util_priority_to_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * e_cal_util_priority_to_string (<em class="parameter"><code><span class="type">gint</span> priority</code></em>);</pre>
<p>
Converts an iCalendar PRIORITY value to a translated string. Any unknown
priority value (i.e. not 0-9) will be returned as "" (undefined).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>priority</code></em> :</span></p></td>
<td>Priority value.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a string representing the PRIORITY value. This value is a
constant, so it should never be freed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-priority-from-string"></a><h3>e_cal_util_priority_from_string ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span> e_cal_util_priority_from_string (<em class="parameter"><code>const <span class="type">gchar</span> *string</code></em>);</pre>
<p>
Converts a translated priority string to an iCalendar priority value.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>string</code></em> :</span></p></td>
<td>A string representing the PRIORITY value.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the priority (0-9) or -1 if the priority string is not valid.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-add-timezones-from-component"></a><h3>e_cal_util_add_timezones_from_component ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_cal_util_add_timezones_from_component
(<em class="parameter"><code><span class="type">icalcomponent</span> *vcal_comp</code></em>,
<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Adds VTIMEZONE components to a VCALENDAR for all tzid's
in the given <em class="parameter"><code>icalcomp</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>vcal_comp</code></em> :</span></p></td>
<td>A VCALENDAR component.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An iCalendar component, of any type.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-is-instance"></a><h3>e_cal_util_component_is_instance ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_is_instance (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks whether an <span class="type">icalcomponent</span> is an instance of a recurring appointment or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if it is an instance, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-alarms"></a><h3>e_cal_util_component_has_alarms ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_alarms (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks whether an <span class="type">icalcomponent</span> has any alarm.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if it has alarms, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-organizer"></a><h3>e_cal_util_component_has_organizer ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_organizer (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks whether an <span class="type">icalcomponent</span> has an organizer or not.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if there is an organizer, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-recurrences"></a><h3>e_cal_util_component_has_recurrences ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_recurrences
(<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks if an <span class="type">icalcomponent</span> has recurrence dates or rules.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if there are recurrence dates/rules, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-rdates"></a><h3>e_cal_util_component_has_rdates ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_rdates (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks if an <span class="type">icalcomponent</span> has recurrence dates.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if there are recurrence dates, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-rrules"></a><h3>e_cal_util_component_has_rrules ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_rrules (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks if an <span class="type">icalcomponent</span> has recurrence rules.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if there are recurrence rules, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-component-has-attendee"></a><h3>e_cal_util_component_has_attendee ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_component_has_attendee (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>);</pre>
<p>
Checks if an <span class="type">icalcomponent</span> has any attendees.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if there are attendees, FALSE if not.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-event-dates-match"></a><h3>e_cal_util_event_dates_match ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_cal_util_event_dates_match (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp1</code></em>,
<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp2</code></em>);</pre>
<p>
Compare the dates of two <span class="type">icalcomponent</span>'s to check if they match.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp1</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp2</code></em> :</span></p></td>
<td>An <span class="type">icalcomponent</span>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>TRUE if the dates of both components match, FALSE otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-ALARM-REPEAT:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_ALARM_REPEAT "no-alarm-repeat"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-AUDIO-ALARMS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_AUDIO_ALARMS "no-audio-alarms"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-DISPLAY-ALARMS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_DISPLAY_ALARMS "no-display-alarms"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-EMAIL-ALARMS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_EMAIL_ALARMS "no-email-alarms"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-PROCEDURE-ALARMS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_PROCEDURE_ALARMS "no-procedure-alarms"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-TASK-ASSIGNMENT:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_TASK_ASSIGNMENT "no-task-assignment"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-THISANDFUTURE:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_THISANDFUTURE</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_THISANDFUTURE "no-thisandfuture"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-THISANDPRIOR:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_THISANDPRIOR</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_THISANDPRIOR "no-thisandprior"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-TRANSPARENCY:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_TRANSPARENCY</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_TRANSPARENCY "no-transparency"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-REMOVE-ONLY-THIS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_REMOVE_ONLY_THIS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_REMOVE_ONLY_THIS "remove-only-this"
</pre>
<p>
FIXME: Document me.
</p>
<p class="since">Since 3.2</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-ONE-ALARM-ONLY:CAPS"></a><h3>CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_ONE_ALARM_ONLY "one-alarm-only"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-ORGANIZER-MUST-ATTEND:CAPS"></a><h3>CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ATTEND "organizer-must-attend"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-ORGANIZER-NOT-EMAIL-ADDRESS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_ORGANIZER_NOT_EMAIL_ADDRESS "organizer-not-email-address"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-REMOVE-ALARMS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_REMOVE_ALARMS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_REMOVE_ALARMS "remove-alarms"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-CREATE-MESSAGES:CAPS"></a><h3>CAL_STATIC_CAPABILITY_CREATE_MESSAGES</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_CREATE_MESSAGES "create-messages"
</pre>
<p class="since">Since 2.26</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-SAVE-SCHEDULES:CAPS"></a><h3>CAL_STATIC_CAPABILITY_SAVE_SCHEDULES</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_SAVE_SCHEDULES "save-schedules"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-CONV-TO-ASSIGN-TASK:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_CONV_TO_ASSIGN_TASK "no-conv-to-assign-task"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-CONV-TO-RECUR:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_CONV_TO_RECUR "no-conv-to-recur"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-GEN-OPTIONS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_GEN_OPTIONS "no-general-options"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-REQ-SEND-OPTIONS:CAPS"></a><h3>CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_REQ_SEND_OPTIONS "require-send-options"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-RECURRENCES-NO-MASTER:CAPS"></a><h3>CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_RECURRENCES_NO_MASTER "recurrences-no-master-object"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-ORGANIZER-MUST-ACCEPT:CAPS"></a><h3>CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_ORGANIZER_MUST_ACCEPT "organizer-must-accept"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-DELEGATE-SUPPORTED:CAPS"></a><h3>CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_DELEGATE_SUPPORTED "delegate-support"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-NO-ORGANIZER:CAPS"></a><h3>CAL_STATIC_CAPABILITY_NO_ORGANIZER</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_NO_ORGANIZER "no-organizer"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-DELEGATE-TO-MANY:CAPS"></a><h3>CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_DELEGATE_TO_MANY "delegate-to-many"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-HAS-UNACCEPTED-MEETING:CAPS"></a><h3>CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_HAS_UNACCEPTED_MEETING "has-unaccepted-meeting"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="CAL-STATIC-CAPABILITY-REFRESH-SUPPORTED:CAPS"></a><h3>CAL_STATIC_CAPABILITY_REFRESH_SUPPORTED</h3>
<pre class="programlisting">#define CAL_STATIC_CAPABILITY_REFRESH_SUPPORTED "refresh-supported"
</pre>
<p class="since">Since 2.30</p>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-construct-instance"></a><h3>e_cal_util_construct_instance ()</h3>
<pre class="programlisting"><span class="returnvalue">icalcomponent</span> * e_cal_util_construct_instance (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>,
<em class="parameter"><code><span class="type">struct icaltimetype</span> rid</code></em>);</pre>
<p>
This checks that <em class="parameter"><code>rid</code></em> indicates a valid recurrence of <em class="parameter"><code>icalcomp</code></em>, and
if so, generates a copy of <em class="parameter"><code>comp</code></em> containing a RECURRENCE-ID of <em class="parameter"><code>rid</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>icalcomp</code></em> :</span></p></td>
<td>A recurring <span class="type">icalcomponent</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>rid</code></em> :</span></p></td>
<td>The RECURRENCE-ID to construct a component for</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the instance, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-remove-instances"></a><h3>e_cal_util_remove_instances ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_cal_util_remove_instances (<em class="parameter"><code><span class="type">icalcomponent</span> *icalcomp</code></em>,
<em class="parameter"><code><span class="type">struct icaltimetype</span> rid</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-util.html#CalObjModType" title="enum CalObjModType"><span class="type">CalObjModType</span></a> mod</code></em>);</pre>
<p>
Removes one or more instances from <em class="parameter"><code>comp</code></em> according to <em class="parameter"><code>rid</code></em> and <em class="parameter"><code>mod</code></em>.
</p>
<p>
FIXME: should probably have a return value indicating whether or not
<em class="parameter"><code>icalcomp</code></em> still has any instances
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>icalcomp</code></em> :</span></p></td>
<td>A (recurring) <span class="type">icalcomponent</span>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>rid</code></em> :</span></p></td>
<td>The base RECURRENCE-ID to remove</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mod</code></em> :</span></p></td>
<td>How to interpret <em class="parameter"><code>rid</code></em>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-get-system-timezone-location"></a><h3>e_cal_util_get_system_timezone_location ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * e_cal_util_get_system_timezone_location
(<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>system timezone location string, NULL on an error.
Returned pointer should be freed with <code class="function">g_free()</code>.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.28</p>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-get-system-timezone"></a><h3>e_cal_util_get_system_timezone ()</h3>
<pre class="programlisting"><span class="returnvalue">icaltimezone</span> * e_cal_util_get_system_timezone (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>icaltimezone object of the system timezone. NULL on an error.
Returned pointer is part of the built-in timezones, thus do not free it.</td>
</tr></tbody>
</table></div>
<p class="since">Since 2.28</p>
</div>
<hr>
<div class="refsect2">
<a name="e-cal-util-get-component-occur-times"></a><h3>e_cal_util_get_component_occur_times ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> e_cal_util_get_component_occur_times
(<em class="parameter"><code><a class="link" href="libecal-ECalComponent.html#ECalComponent" title="struct ECalComponent"><span class="type">ECalComponent</span></a> *comp</code></em>,
<em class="parameter"><code><span class="type">time_t</span> *start</code></em>,
<em class="parameter"><code><span class="type">time_t</span> *end</code></em>,
<em class="parameter"><code><a class="link" href="libecal-e-cal-recur.html#ECalRecurResolveTimezoneFn" title="ECalRecurResolveTimezoneFn ()"><span class="type">ECalRecurResolveTimezoneFn</span></a> tz_cb</code></em>,
<em class="parameter"><code><span class="type">gpointer</span> tz_cb_data</code></em>,
<em class="parameter"><code>const <span class="type">icaltimezone</span> *default_timezone</code></em>,
<em class="parameter"><code><span class="type">icalcomponent_kind</span> kind</code></em>);</pre>
<p>
Find out when the component starts and stops, being careful about
recurrences.
</p>
<p class="since">Since 2.32</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.18</div>
</body>
</html>
|