/usr/share/gir-1.0/EBookContacts-1.2.gir is in libebook-contacts1.2-dev 3.12.9~git20141128.5242b0-2+deb8u3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 | <?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations. -->
<repository version="1.2"
xmlns="http://www.gtk.org/introspection/core/1.0"
xmlns:c="http://www.gtk.org/introspection/c/1.0"
xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
<include name="EDataServer" version="1.2"/>
<include name="GLib" version="2.0"/>
<include name="GObject" version="2.0"/>
<include name="Gio" version="2.0"/>
<include name="libxml2" version="2.0"/>
<package name="libebook-contacts-1.2"/>
<c:include name="libebook-contacts/libebook-contacts.h"/>
<namespace name="EBookContacts"
version="1.2"
shared-library="libebook-contacts-1.2.so.0,libedataserver-1.2.so.18"
c:identifier-prefixes="E"
c:symbol-prefixes="e">
<record name="AddressWestern" c:type="EAddressWestern">
<doc xml:space="preserve">Western address structure.</doc>
<field name="po_box" writable="1">
<doc xml:space="preserve">PO Box.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="extended" writable="1">
<doc xml:space="preserve">TODO, we're not sure what this is.</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="street" writable="1">
<doc xml:space="preserve">Street name</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="locality" writable="1">
<doc xml:space="preserve">City or town</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="region" writable="1">
<doc xml:space="preserve">State or province</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="postal_code" writable="1">
<doc xml:space="preserve">Postal Code</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="country" writable="1">
<doc xml:space="preserve">Country</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<method name="free" c:identifier="e_address_western_free">
<doc xml:space="preserve">Frees @eaw and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="eaw" transfer-ownership="none">
<doc xml:space="preserve">an #EAddressWestern</doc>
<type name="AddressWestern" c:type="EAddressWestern*"/>
</instance-parameter>
</parameters>
</method>
<function name="parse"
c:identifier="e_address_western_parse"
introspectable="0">
<doc xml:space="preserve">Parses a string representing a mailing address into a
structure of type #EAddressWestern.</doc>
<return-value>
<doc xml:space="preserve">A new #EAddressWestern structure, or %NULL if the parsing failed.</doc>
<type name="AddressWestern" c:type="EAddressWestern*"/>
</return-value>
<parameters>
<parameter name="in_address" transfer-ownership="none">
<doc xml:space="preserve">a string representing a mailing address</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</record>
<record name="BookChange"
c:type="EBookChange"
deprecated="1"
deprecated-version="3.2">
<doc xml:space="preserve">This is a part of the deprecated #EBook API.</doc>
<field name="change_type" writable="1">
<doc xml:space="preserve">The #EBookChangeType</doc>
<type name="BookChangeType" c:type="EBookChangeType"/>
</field>
<field name="contact" writable="1">
<doc xml:space="preserve">The #EContact which changed</doc>
<type name="Contact" c:type="EContact*"/>
</field>
</record>
<enumeration name="BookChangeType"
deprecated="1"
deprecated-version="3.2"
glib:type-name="EBookChangeType"
glib:get-type="e_book_change_type_get_type"
c:type="EBookChangeType">
<doc xml:space="preserve">The type of change in an #EBookChange</doc>
<member name="added"
value="0"
c:identifier="E_BOOK_CHANGE_CARD_ADDED"
glib:nick="added">
<doc xml:space="preserve">A vCard was added</doc>
</member>
<member name="deleted"
value="1"
c:identifier="E_BOOK_CHANGE_CARD_DELETED"
glib:nick="deleted">
<doc xml:space="preserve">A vCard was deleted</doc>
</member>
<member name="modified"
value="2"
c:identifier="E_BOOK_CHANGE_CARD_MODIFIED"
glib:nick="modified">
<doc xml:space="preserve">A vCard was modified</doc>
</member>
</enumeration>
<enumeration name="BookClientError"
version="3.2"
glib:type-name="EBookClientError"
glib:get-type="e_book_client_error_get_type"
c:type="EBookClientError"
glib:error-domain="e-book-client-error-quark">
<doc xml:space="preserve">Error codes returned by #EBookClient APIs, if an #EClientError was not available.</doc>
<member name="no_such_book"
value="0"
c:identifier="E_BOOK_CLIENT_ERROR_NO_SUCH_BOOK"
glib:nick="no-such-book">
<doc xml:space="preserve">Requested book did not exist</doc>
</member>
<member name="contact_not_found"
value="1"
c:identifier="E_BOOK_CLIENT_ERROR_CONTACT_NOT_FOUND"
glib:nick="contact-not-found">
<doc xml:space="preserve">Contact referred to was not found</doc>
</member>
<member name="contact_id_already_exists"
value="2"
c:identifier="E_BOOK_CLIENT_ERROR_CONTACT_ID_ALREADY_EXISTS"
glib:nick="contact-id-already-exists">
<doc xml:space="preserve">Tried to add a contact which already exists</doc>
</member>
<member name="no_such_source"
value="3"
c:identifier="E_BOOK_CLIENT_ERROR_NO_SUCH_SOURCE"
glib:nick="no-such-source">
<doc xml:space="preserve">Referred #ESource does not exist</doc>
</member>
<member name="no_space"
value="4"
c:identifier="E_BOOK_CLIENT_ERROR_NO_SPACE"
glib:nick="no-space">
<doc xml:space="preserve">Out of disk space</doc>
</member>
<function name="create"
c:identifier="e_book_client_error_create"
version="3.2"
deprecated="1"
deprecated-version="3.8">
<doc-deprecated xml:space="preserve">Just use the #GError API directly.</doc-deprecated>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GError containing an E_BOOK_CLIENT_ERROR of the given
@code. If the @custom_msg is NULL, then the error message is
the one returned from e_book_client_error_to_string() for the @code,
otherwise the given message is used.
Returned pointer should be freed with g_error_free().</doc>
<type name="GLib.Error" c:type="GError*"/>
</return-value>
<parameters>
<parameter name="code" transfer-ownership="none">
<doc xml:space="preserve">an #EBookClientError code to create</doc>
<type name="BookClientError" c:type="EBookClientError"/>
</parameter>
<parameter name="custom_msg" transfer-ownership="none">
<doc xml:space="preserve">custom message to use for the error; can be %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="quark" c:identifier="e_book_client_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="to_string"
c:identifier="e_book_client_error_to_string"
version="3.2">
<doc xml:space="preserve">FIXME: Document me.</doc>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="code" transfer-ownership="none">
<doc xml:space="preserve">an #EBookClientError code</doc>
<type name="BookClientError" c:type="EBookClientError"/>
</parameter>
</parameters>
</function>
</enumeration>
<bitfield name="BookClientViewFlags"
version="3.4"
glib:type-name="EBookClientViewFlags"
glib:get-type="e_book_client_view_flags_get_type"
c:type="EBookClientViewFlags">
<doc xml:space="preserve">Flags that control the behaviour of an #EBookClientView.</doc>
<member name="none"
value="0"
c:identifier="E_BOOK_CLIENT_VIEW_FLAGS_NONE"
glib:nick="none">
<doc xml:space="preserve">Symbolic value for no flags</doc>
</member>
<member name="notify_initial"
value="1"
c:identifier="E_BOOK_CLIENT_VIEW_FLAGS_NOTIFY_INITIAL"
glib:nick="notify-initial">
<doc xml:space="preserve">If this flag is set then all contacts matching the view's query will
be sent as notifications when starting the view, otherwise only future
changes will be reported. The default for a #EBookClientView is %TRUE.</doc>
</member>
</bitfield>
<enumeration name="BookCursorOrigin"
version="3.12"
glib:type-name="EBookCursorOrigin"
glib:get-type="e_book_cursor_origin_get_type"
c:type="EBookCursorOrigin">
<doc xml:space="preserve">Specifies the start position to in the list of traversed contacts
in calls to e_book_client_cursor_step().
When an #EBookClientCursor is created, the current position implied by %E_BOOK_CURSOR_ORIGIN_CURRENT
is the same as %E_BOOK_CURSOR_ORIGIN_BEGIN.</doc>
<member name="current"
value="0"
c:identifier="E_BOOK_CURSOR_ORIGIN_CURRENT"
glib:nick="current">
<doc xml:space="preserve">The current cursor position</doc>
</member>
<member name="begin"
value="1"
c:identifier="E_BOOK_CURSOR_ORIGIN_BEGIN"
glib:nick="begin">
<doc xml:space="preserve">The beginning of the cursor results.</doc>
</member>
<member name="end"
value="2"
c:identifier="E_BOOK_CURSOR_ORIGIN_END"
glib:nick="end">
<doc xml:space="preserve">The ending of the cursor results.</doc>
</member>
</enumeration>
<enumeration name="BookCursorSortType"
version="3.12"
glib:type-name="EBookCursorSortType"
glib:get-type="e_book_cursor_sort_type_get_type"
c:type="EBookCursorSortType">
<doc xml:space="preserve">Specifies the sort order of an ordered query</doc>
<member name="ascending"
value="0"
c:identifier="E_BOOK_CURSOR_SORT_ASCENDING"
glib:nick="ascending">
<doc xml:space="preserve">Sort results in ascending order</doc>
</member>
<member name="descending"
value="1"
c:identifier="E_BOOK_CURSOR_SORT_DESCENDING"
glib:nick="descending">
<doc xml:space="preserve">Sort results in descending order</doc>
</member>
</enumeration>
<bitfield name="BookCursorStepFlags"
version="3.12"
glib:type-name="EBookCursorStepFlags"
glib:get-type="e_book_cursor_step_flags_get_type"
c:type="EBookCursorStepFlags">
<doc xml:space="preserve">Defines the behaviour of e_book_client_cursor_step().</doc>
<member name="move"
value="1"
c:identifier="E_BOOK_CURSOR_STEP_MOVE"
glib:nick="move">
<doc xml:space="preserve">The cursor position should be modified while stepping</doc>
</member>
<member name="fetch"
value="2"
c:identifier="E_BOOK_CURSOR_STEP_FETCH"
glib:nick="fetch">
<doc xml:space="preserve">Traversed contacts should be listed and returned while stepping.</doc>
</member>
</bitfield>
<enumeration name="BookIndexType"
glib:type-name="EBookIndexType"
glib:get-type="e_book_index_type_get_type"
c:type="EBookIndexType">
<doc xml:space="preserve">The type of index defined by e_source_backend_summary_setup_set_indexed_fields()</doc>
<member name="prefix"
value="0"
c:identifier="E_BOOK_INDEX_PREFIX"
glib:nick="prefix">
<doc xml:space="preserve">An index suitable for searching contacts with a prefix pattern</doc>
</member>
<member name="suffix"
value="1"
c:identifier="E_BOOK_INDEX_SUFFIX"
glib:nick="suffix">
<doc xml:space="preserve">An index suitable for searching contacts with a suffix pattern</doc>
</member>
<member name="phone"
value="2"
c:identifier="E_BOOK_INDEX_PHONE"
glib:nick="phone">
<doc xml:space="preserve">An index suitable for searching contacts for phone numbers.
<note><para>Phone numbers must be convertible into FQTN according to E.164 to be
stored in this index. The number "+9999999" for instance won't be stored because
the country calling code "+999" currently is not assigned.</para></note></doc>
</member>
<member name="sort_key"
value="3"
c:identifier="E_BOOK_INDEX_SORT_KEY"
glib:nick="sort-key">
<doc xml:space="preserve">Indicates that a given #EContactField should be usable as a sort key.</doc>
</member>
</enumeration>
<record name="BookQuery"
c:type="EBookQuery"
glib:type-name="EBookQuery"
glib:get-type="e_book_query_get_type"
c:symbol-prefix="book_query">
<method name="andv" c:identifier="e_book_query_andv" introspectable="0">
<doc xml:space="preserve">Creates a new #EBookQuery which is the logical AND of the queries specified.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">first #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">%NULL terminated list of #EBookQuery pointers</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="e_book_query_copy">
<doc xml:space="preserve">Creates a copy of @q.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery identical to @q.</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">an #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
</parameters>
</method>
<method name="not" c:identifier="e_book_query_not">
<doc xml:space="preserve">Creates a new #EBookQuery which is the opposite of #q.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">an #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
<parameter name="unref" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE, the new query takes ownership of the existing queries</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</method>
<method name="orv" c:identifier="e_book_query_orv" introspectable="0">
<doc xml:space="preserve">Creates a new #EBookQuery which is the logical OR of the queries specified.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">first #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">%NULL terminated list of #EBookQuery pointers</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="ref" c:identifier="e_book_query_ref">
<doc xml:space="preserve">Increment the reference count on @q.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">@q</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">a #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
</parameters>
</method>
<method name="to_string" c:identifier="e_book_query_to_string">
<doc xml:space="preserve">Return the string representation of @q.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The string form of the query. This string should be freed when
finished with.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">an #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
</parameters>
</method>
<method name="unref" c:identifier="e_book_query_unref">
<doc xml:space="preserve">Decrement the reference count on @q. When the reference count reaches 0, @q
will be freed and any child queries will have e_book_query_unref() called.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="q" transfer-ownership="none">
<doc xml:space="preserve">an #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</instance-parameter>
</parameters>
</method>
<function name="and" c:identifier="e_book_query_and">
<doc xml:space="preserve">Create a new #EBookQuery which is the logical AND of the queries in #qs.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="nqs" transfer-ownership="none">
<doc xml:space="preserve">the number of queries to AND</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="qs" transfer-ownership="none">
<doc xml:space="preserve">pointer to an array of #EBookQuery items</doc>
<type name="BookQuery" c:type="EBookQuery**"/>
</parameter>
<parameter name="unref" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE, the new query takes ownership of the existing queries</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<function name="any_field_contains"
c:identifier="e_book_query_any_field_contains">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if any field contains @value.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="field_exists" c:identifier="e_book_query_field_exists">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if the field @field exists.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="field_test" c:identifier="e_book_query_field_test">
<doc xml:space="preserve">Creates a new #EBookQuery which tests @field for @value using the test @test.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField to test</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
<parameter name="test" transfer-ownership="none">
<doc xml:space="preserve">the test to apply</doc>
<type name="BookQueryTest" c:type="EBookQueryTest"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value to test for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="from_string" c:identifier="e_book_query_from_string">
<doc xml:space="preserve">Parse @query_string and return a new #EBookQuery representing it.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery.</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="query_string" transfer-ownership="none">
<doc xml:space="preserve">the query</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="or" c:identifier="e_book_query_or">
<doc xml:space="preserve">Creates a new #EBookQuery which is the logical OR of the queries in #qs.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="nqs" transfer-ownership="none">
<doc xml:space="preserve">the number of queries to OR</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="qs" transfer-ownership="none">
<doc xml:space="preserve">pointer to an array of #EBookQuery items</doc>
<type name="BookQuery" c:type="EBookQuery**"/>
</parameter>
<parameter name="unref" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE, the new query takes ownership of the existing queries</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<function name="vcard_field_exists"
c:identifier="e_book_query_vcard_field_exists">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if the field @field exists. @field
should be a vCard field name, such as #FN or #X-MSN.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a field name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="vcard_field_test"
c:identifier="e_book_query_vcard_field_test"
version="2.22">
<doc xml:space="preserve">Creates a new #EBookQuery which tests @field for @value using the test @test.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a EVCard field name to test</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="test" transfer-ownership="none">
<doc xml:space="preserve">the test to apply</doc>
<type name="BookQueryTest" c:type="EBookQueryTest"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value to test for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</record>
<enumeration name="BookQueryTest" c:type="EBookQueryTest">
<doc xml:space="preserve">The kind of test a query created by e_book_query_field_test() shall perform.
See also: e_phone_number_compare_strings().</doc>
<member name="is" value="0" c:identifier="E_BOOK_QUERY_IS">
<doc xml:space="preserve">look for exact match of the supplied test value</doc>
</member>
<member name="contains" value="1" c:identifier="E_BOOK_QUERY_CONTAINS">
<doc xml:space="preserve">check if a field contains the test value</doc>
</member>
<member name="begins_with"
value="2"
c:identifier="E_BOOK_QUERY_BEGINS_WITH">
<doc xml:space="preserve">check if a field starts with the test value</doc>
</member>
<member name="ends_with" value="3" c:identifier="E_BOOK_QUERY_ENDS_WITH">
<doc xml:space="preserve">check if a field ends with the test value</doc>
</member>
<member name="equals_phone_number"
value="4"
c:identifier="E_BOOK_QUERY_EQUALS_PHONE_NUMBER">
<doc xml:space="preserve">check if a field matches with a value tested
using e_phone_number_compare_strings(), the match must be of strenth %E_PHONE_NUMBER_MATCH_EXACT
for this query to return any matches.</doc>
</member>
<member name="equals_national_phone_number"
value="5"
c:identifier="E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER">
<doc xml:space="preserve">check if a field matches with a value tested
using e_phone_number_compare_strings(), the match must be at least of strength %E_PHONE_NUMBER_MATCH_NATIONAL
for this query to return any matches.</doc>
</member>
<member name="equals_short_phone_number"
value="6"
c:identifier="E_BOOK_QUERY_EQUALS_SHORT_PHONE_NUMBER">
<doc xml:space="preserve">check if a field matches with a value tested
using e_phone_number_compare_strings(), the match must be at least of strength %E_PHONE_NUMBER_MATCH_SHORT
for this query to return any matches.</doc>
</member>
<member name="regex_normal"
value="7"
c:identifier="E_BOOK_QUERY_REGEX_NORMAL">
<doc xml:space="preserve">A regular expression query against contact data normalized with e_util_utf8_normalize(),
the normalized data is lower case with any accents removed.</doc>
</member>
<member name="regex_raw" value="8" c:identifier="E_BOOK_QUERY_REGEX_RAW">
<doc xml:space="preserve">A regular expression query against raw contact data, this is usually slower than
a %E_BOOK_QUERY_REGEX_NORMAL as it implies that #EVCards must be parsed in order to get the raw data
for comparison.</doc>
</member>
<member name="last" value="9" c:identifier="E_BOOK_QUERY_LAST">
<doc xml:space="preserve">End marker for the #EBookQueryTest enumeration, not a valid query test.</doc>
</member>
</enumeration>
<enumeration name="BookViewStatus"
deprecated="1"
deprecated-version="3.2"
glib:type-name="EBookViewStatus"
glib:get-type="e_book_view_status_get_type"
c:type="EBookViewStatus">
<doc xml:space="preserve">Status messages used in notifications in the deprecated #EBookView class</doc>
<doc-deprecated xml:space="preserve">Use #EBookClientView instead.</doc-deprecated>
<member name="status_ok"
value="0"
c:identifier="E_BOOK_VIEW_STATUS_OK"
glib:nick="status-ok">
<doc xml:space="preserve">Ok</doc>
</member>
<member name="status_time_limit_exceeded"
value="1"
c:identifier="E_BOOK_VIEW_STATUS_TIME_LIMIT_EXCEEDED"
glib:nick="status-time-limit-exceeded">
<doc xml:space="preserve">Time limit exceeded</doc>
</member>
<member name="status_size_limit_exceeded"
value="2"
c:identifier="E_BOOK_VIEW_STATUS_SIZE_LIMIT_EXCEEDED"
glib:nick="status-size-limit-exceeded">
<doc xml:space="preserve">Size limit exceeded</doc>
</member>
<member name="error_invalid_query"
value="3"
c:identifier="E_BOOK_VIEW_ERROR_INVALID_QUERY"
glib:nick="error-invalid-query">
<doc xml:space="preserve">Invalid search expression</doc>
</member>
<member name="error_query_refused"
value="4"
c:identifier="E_BOOK_VIEW_ERROR_QUERY_REFUSED"
glib:nick="error-query-refused">
<doc xml:space="preserve">Search expression refused</doc>
</member>
<member name="error_other_error"
value="5"
c:identifier="E_BOOK_VIEW_ERROR_OTHER_ERROR"
glib:nick="error-other-error">
<doc xml:space="preserve">Another error occurred</doc>
</member>
</enumeration>
<class name="Contact"
c:symbol-prefix="contact"
c:type="EContact"
parent="VCard"
glib:type-name="EContact"
glib:get-type="e_contact_get_type"
glib:type-struct="ContactClass">
<constructor name="new" c:identifier="e_contact_new">
<doc xml:space="preserve">Creates a new, blank #EContact.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContact.</doc>
<type name="Contact" c:type="EContact*"/>
</return-value>
</constructor>
<constructor name="new_from_vcard"
c:identifier="e_contact_new_from_vcard">
<doc xml:space="preserve">Creates a new #EContact based on a vcard.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContact.</doc>
<type name="Contact" c:type="EContact*"/>
</return-value>
<parameters>
<parameter name="vcard" transfer-ownership="none">
<doc xml:space="preserve">a string representing a vcard</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<constructor name="new_from_vcard_with_uid"
c:identifier="e_contact_new_from_vcard_with_uid"
version="3.4">
<doc xml:space="preserve">Creates a new #EContact based on a vcard and a predefined UID.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContact.</doc>
<type name="Contact" c:type="EContact*"/>
</return-value>
<parameters>
<parameter name="vcard" transfer-ownership="none">
<doc xml:space="preserve">a string representing a vcard</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve">a contact UID</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<function name="field_id" c:identifier="e_contact_field_id">
<doc xml:space="preserve">Gets the #EContactField corresponding to the @field_name.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">An #EContactField corresponding to @field_name, or %0 if it doesn't exist.</doc>
<type name="ContactField" c:type="EContactField"/>
</return-value>
<parameters>
<parameter name="field_name" transfer-ownership="none">
<doc xml:space="preserve">a string representing a contact field</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="field_id_from_vcard"
c:identifier="e_contact_field_id_from_vcard"
version="2.26">
<doc xml:space="preserve">Gets the #EContactField corresponding to the @vcard_field.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">An #EContactField corresponding to @vcard_field, or %0 if it doesn't exist.</doc>
<type name="ContactField" c:type="EContactField"/>
</return-value>
<parameters>
<parameter name="vcard_field" transfer-ownership="none">
<doc xml:space="preserve">a string representing a vCard field</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="field_is_string"
c:identifier="e_contact_field_is_string"
version="3.14">
<doc xml:space="preserve">Returns whether the @field_id is of a string type,
thus it can be used with e_contact_get_const().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Whether the @field_id is of a string type.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="field_name" c:identifier="e_contact_field_name">
<doc xml:space="preserve">Gets the string representation of @field_id.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The string representation of @field_id, or %NULL if it doesn't exist.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="field_type"
c:identifier="e_contact_field_type"
version="3.8">
<doc xml:space="preserve">Gets the #GType used for this contact field, this indicates
what kind of value can be passed to e_contact_set().</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The #GType used for @field_id, or %G_TYPE_INVALID if it doesn't exist.</doc>
<type name="GType" c:type="GType"/>
</return-value>
<parameters>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="pretty_name" c:identifier="e_contact_pretty_name">
<doc xml:space="preserve">Gets a human-readable, translated string representation
of @field_id.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The human-readable representation of @field_id, or %NULL if it doesn't exist.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="vcard_attribute"
c:identifier="e_contact_vcard_attribute">
<doc xml:space="preserve">Gets the vcard attribute corresponding to @field_id, as a string.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The vcard attribute corresponding to @field_id, or %NULL if it doesn't exist.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<method name="duplicate" c:identifier="e_contact_duplicate">
<doc xml:space="preserve">Creates a copy of @contact.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContact identical to @contact.</doc>
<type name="Contact" c:type="EContact*"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
</parameters>
</method>
<method name="get" c:identifier="e_contact_get">
<doc xml:space="preserve">Gets the value of @contact's field specified by @field_id.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">Depends on the field's type, owned by the caller. This may be %NULL if the field isn't set.</doc>
<type name="gpointer" c:type="gpointer"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</method>
<method name="get_attributes" c:identifier="e_contact_get_attributes">
<doc xml:space="preserve">Gets a list of the vcard attributes for @contact's @field_id.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A #GList of pointers
to #EVCardAttribute, owned by the caller.</doc>
<type name="GLib.List" c:type="GList*">
<type name="VCardAttribute"/>
</type>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</method>
<method name="get_const" c:identifier="e_contact_get_const">
<doc xml:space="preserve">Gets the value of @contact's field specified by @field_id, caching
the result so it can be freed later. Use e_contact_field_is_string()
to check whether the field can be used here.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">Depends on the field's type, owned by the
#EContact.</doc>
<type name="gpointer" c:type="gconstpointer"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</method>
<method name="inline_local_photos"
c:identifier="e_contact_inline_local_photos"
version="3.4"
throws="1">
<doc xml:space="preserve">Tries to modify any #EContactPhoto fields which are
stored on the local file system as type %E_CONTACT_PHOTO_TYPE_URI
to be inlined and stored as %E_CONTACT_PHOTO_TYPE_INLINED instead.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if there were no errors, upon error %FALSE is returned
and @error is set.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
</parameters>
</method>
<method name="set" c:identifier="e_contact_set">
<doc xml:space="preserve">Sets the value of @contact's field specified by @field_id to @value.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a value whose type depends on the @field_id</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
</method>
<method name="set_attributes" c:identifier="e_contact_set_attributes">
<doc xml:space="preserve">Sets the vcard attributes for @contact's @field_id.
Attributes are added to the contact in the same order as they are in @attributes.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="contact" transfer-ownership="none">
<doc xml:space="preserve">an #EContact</doc>
<type name="Contact" c:type="EContact*"/>
</instance-parameter>
<parameter name="field_id" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
<parameter name="attributes" transfer-ownership="none">
<doc xml:space="preserve">a #GList of pointers to #EVCardAttribute</doc>
<type name="GLib.List" c:type="GList*">
<type name="VCardAttribute"/>
</type>
</parameter>
</parameters>
</method>
<property name="Rev" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="address" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="address-home" writable="1" transfer-ownership="none">
<type name="ContactAddress"/>
</property>
<property name="address-label-home"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="address-label-other"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="address-label-work"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="address-other" writable="1" transfer-ownership="none">
<type name="ContactAddress"/>
</property>
<property name="address-work" writable="1" transfer-ownership="none">
<type name="ContactAddress"/>
</property>
<property name="anniversary" writable="1" transfer-ownership="none">
<type name="ContactDate"/>
</property>
<property name="assistant" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="assistant-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="birth-date" writable="1" transfer-ownership="none">
<type name="ContactDate"/>
</property>
<property name="blog-url" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="book-uid" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="business-fax" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="business-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="business-phone-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="callback-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="caluri" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="car-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="categories" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="category-list" writable="1" transfer-ownership="none">
<type name="gpointer" c:type="gpointer"/>
</property>
<property name="company-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="email" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="email-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="email-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="email-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="email-4" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="family-name" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="fburl" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="file-as" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="full-name" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="geo" writable="1" transfer-ownership="none">
<type name="ContactGeo"/>
</property>
<property name="given-name" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="home-fax" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="home-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="home-phone-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="homepage-url" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="icscalendar" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="id" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-aim-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-aim-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-gadugadu-home-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu-home-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu-home-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu-work-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu-work-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-gadugadu-work-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-google-talk-home-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk-home-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk-home-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk-work-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk-work-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-google-talk-work-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-groupwise-home-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise-home-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise-home-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise-work-1"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise-work-2"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-groupwise-work-3"
writable="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-icq-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-icq-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-jabber-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-jabber-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-msn-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-msn-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-skype-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-skype-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-twitter" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-yahoo" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="im-yahoo-home-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-yahoo-home-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-yahoo-home-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-yahoo-work-1" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-yahoo-work-2" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="im-yahoo-work-3" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="isdn-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="list" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="list-show-addresses"
writable="1"
transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="logo" writable="1" transfer-ownership="none">
<type name="ContactPhoto"/>
</property>
<property name="mailer" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="manager" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="mobile-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="name" writable="1" transfer-ownership="none">
<type name="ContactName"/>
</property>
<property name="name-or-org" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="nickname" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="note" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="office" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="org" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="org-unit" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="other-fax" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="other-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="pager" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="phone" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="photo" writable="1" transfer-ownership="none">
<type name="ContactPhoto"/>
</property>
<property name="primary-phone" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="radio" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="role" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="sip" writable="1" transfer-ownership="none">
<type name="ContactAttrList"/>
</property>
<property name="spouse" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="telex" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="title" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="tty" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="video-url" writable="1" transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="wants-html" writable="1" transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</property>
<property name="x509Cert" writable="1" transfer-ownership="none">
<type name="ContactCert"/>
</property>
<field name="parent">
<type name="VCard" c:type="EVCard"/>
</field>
<field name="priv" readable="0" private="1">
<type name="ContactPrivate" c:type="EContactPrivate*"/>
</field>
</class>
<record name="ContactAddress"
c:type="EContactAddress"
glib:type-name="EContactAddress"
glib:get-type="e_contact_address_get_type"
c:symbol-prefix="contact_address">
<field name="address_format" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="po" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="ext" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="street" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="locality" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="region" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="code" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="country" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<constructor name="new"
c:identifier="e_contact_address_new"
version="3.2">
<doc xml:space="preserve">Creates a new #EContactAddress struct.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactAddress struct.</doc>
<type name="ContactAddress" c:type="EContactAddress*"/>
</return-value>
</constructor>
<method name="free" c:identifier="e_contact_address_free">
<doc xml:space="preserve">Frees the @address struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="address" transfer-ownership="none">
<doc xml:space="preserve">an #EContactAddress</doc>
<type name="ContactAddress" c:type="EContactAddress*"/>
</instance-parameter>
</parameters>
</method>
</record>
<glib:boxed glib:name="ContactAttrList"
c:symbol-prefix="contact_attr_list"
glib:type-name="EContactAttrList"
glib:get-type="e_contact_attr_list_get_type">
<function name="copy"
c:identifier="e_contact_attr_list_copy"
version="3.8"
introspectable="0">
<doc xml:space="preserve">Copies a list of allocated strings, specifically
for the #EContactAttrList boxed type used for multi valued
contact fields.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A copy of @list</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</return-value>
<parameters>
<parameter name="list" transfer-ownership="none">
<doc xml:space="preserve">A #GList of strings</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</parameter>
</parameters>
</function>
<function name="free"
c:identifier="e_contact_attr_list_free"
version="3.8"
introspectable="0">
<doc xml:space="preserve">Frees a list of allocated strings, specifically
for the #EContactAttrList boxed type used for multi valued
contact fields.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<parameter name="list" transfer-ownership="none">
<doc xml:space="preserve">A #GList of strings</doc>
<type name="GLib.List" c:type="GList*">
<type name="gpointer" c:type="gpointer"/>
</type>
</parameter>
</parameters>
</function>
</glib:boxed>
<record name="ContactCert"
c:type="EContactCert"
glib:type-name="EContactCert"
glib:get-type="e_contact_cert_get_type"
c:symbol-prefix="contact_cert">
<field name="length" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="data" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<constructor name="new" c:identifier="e_contact_cert_new" version="3.8">
<doc xml:space="preserve">Creates an #EContactCert struct with all values set to 0.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactCert struct.</doc>
<type name="ContactCert" c:type="EContactCert*"/>
</return-value>
</constructor>
<method name="free" c:identifier="e_contact_cert_free">
<doc xml:space="preserve">Frees the @cert struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="cert" transfer-ownership="none">
<doc xml:space="preserve">an #EContactCert</doc>
<type name="ContactCert" c:type="EContactCert*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="ContactClass"
c:type="EContactClass"
glib:is-gtype-struct-for="Contact">
<field name="parent_class">
<type name="VCardClass" c:type="EVCardClass"/>
</field>
<field name="_ebook_reserved0" introspectable="0">
<callback name="_ebook_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved1" introspectable="0">
<callback name="_ebook_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved2" introspectable="0">
<callback name="_ebook_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved3" introspectable="0">
<callback name="_ebook_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved4" introspectable="0">
<callback name="_ebook_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<record name="ContactDate"
c:type="EContactDate"
glib:type-name="EContactDate"
glib:get-type="e_contact_date_get_type"
c:symbol-prefix="contact_date">
<field name="year" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="month" writable="1">
<type name="guint" c:type="guint"/>
</field>
<field name="day" writable="1">
<type name="guint" c:type="guint"/>
</field>
<constructor name="new" c:identifier="e_contact_date_new">
<doc xml:space="preserve">Creates a new #EContactDate struct.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactDate struct.</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</return-value>
</constructor>
<method name="equal" c:identifier="e_contact_date_equal">
<doc xml:space="preserve">Checks if @dt1 and @dt2 are the same date.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @dt1 and @dt2 are equal, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="dt1" transfer-ownership="none">
<doc xml:space="preserve">an #EContactDate</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</instance-parameter>
<parameter name="dt2" transfer-ownership="none">
<doc xml:space="preserve">an #EContactDate</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</parameter>
</parameters>
</method>
<method name="free" c:identifier="e_contact_date_free">
<doc xml:space="preserve">Frees the @date struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="date" transfer-ownership="none">
<doc xml:space="preserve">an #EContactDate</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</instance-parameter>
</parameters>
</method>
<method name="to_string" c:identifier="e_contact_date_to_string">
<doc xml:space="preserve">Generates a date string in the format YYYY-MM-DD based
on the values of @dt.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A date string, owned by the caller.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="dt" transfer-ownership="none">
<doc xml:space="preserve">an #EContactDate</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</instance-parameter>
</parameters>
</method>
<function name="from_string" c:identifier="e_contact_date_from_string">
<doc xml:space="preserve">Creates a new #EContactDate based on @str.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactDate struct.</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</return-value>
<parameters>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a date string in the format YYYY-MM-DD or YYYYMMDD</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</record>
<enumeration name="ContactField" c:type="EContactField">
<member name="uid" value="1" c:identifier="E_CONTACT_UID">
</member>
<member name="file_as" value="2" c:identifier="E_CONTACT_FILE_AS">
</member>
<member name="book_uid" value="3" c:identifier="E_CONTACT_BOOK_UID">
</member>
<member name="full_name" value="4" c:identifier="E_CONTACT_FULL_NAME">
</member>
<member name="given_name" value="5" c:identifier="E_CONTACT_GIVEN_NAME">
</member>
<member name="family_name"
value="6"
c:identifier="E_CONTACT_FAMILY_NAME">
</member>
<member name="nickname" value="7" c:identifier="E_CONTACT_NICKNAME">
</member>
<member name="email_1" value="8" c:identifier="E_CONTACT_EMAIL_1">
</member>
<member name="email_2" value="9" c:identifier="E_CONTACT_EMAIL_2">
</member>
<member name="email_3" value="10" c:identifier="E_CONTACT_EMAIL_3">
</member>
<member name="email_4" value="11" c:identifier="E_CONTACT_EMAIL_4">
</member>
<member name="mailer" value="12" c:identifier="E_CONTACT_MAILER">
</member>
<member name="address_label_home"
value="13"
c:identifier="E_CONTACT_ADDRESS_LABEL_HOME">
</member>
<member name="address_label_work"
value="14"
c:identifier="E_CONTACT_ADDRESS_LABEL_WORK">
</member>
<member name="address_label_other"
value="15"
c:identifier="E_CONTACT_ADDRESS_LABEL_OTHER">
</member>
<member name="phone_assistant"
value="16"
c:identifier="E_CONTACT_PHONE_ASSISTANT">
</member>
<member name="phone_business"
value="17"
c:identifier="E_CONTACT_PHONE_BUSINESS">
</member>
<member name="phone_business_2"
value="18"
c:identifier="E_CONTACT_PHONE_BUSINESS_2">
</member>
<member name="phone_business_fax"
value="19"
c:identifier="E_CONTACT_PHONE_BUSINESS_FAX">
</member>
<member name="phone_callback"
value="20"
c:identifier="E_CONTACT_PHONE_CALLBACK">
</member>
<member name="phone_car" value="21" c:identifier="E_CONTACT_PHONE_CAR">
</member>
<member name="phone_company"
value="22"
c:identifier="E_CONTACT_PHONE_COMPANY">
</member>
<member name="phone_home" value="23" c:identifier="E_CONTACT_PHONE_HOME">
</member>
<member name="phone_home_2"
value="24"
c:identifier="E_CONTACT_PHONE_HOME_2">
</member>
<member name="phone_home_fax"
value="25"
c:identifier="E_CONTACT_PHONE_HOME_FAX">
</member>
<member name="phone_isdn" value="26" c:identifier="E_CONTACT_PHONE_ISDN">
</member>
<member name="phone_mobile"
value="27"
c:identifier="E_CONTACT_PHONE_MOBILE">
</member>
<member name="phone_other"
value="28"
c:identifier="E_CONTACT_PHONE_OTHER">
</member>
<member name="phone_other_fax"
value="29"
c:identifier="E_CONTACT_PHONE_OTHER_FAX">
</member>
<member name="phone_pager"
value="30"
c:identifier="E_CONTACT_PHONE_PAGER">
</member>
<member name="phone_primary"
value="31"
c:identifier="E_CONTACT_PHONE_PRIMARY">
</member>
<member name="phone_radio"
value="32"
c:identifier="E_CONTACT_PHONE_RADIO">
</member>
<member name="phone_telex"
value="33"
c:identifier="E_CONTACT_PHONE_TELEX">
</member>
<member name="phone_ttytdd"
value="34"
c:identifier="E_CONTACT_PHONE_TTYTDD">
</member>
<member name="org" value="35" c:identifier="E_CONTACT_ORG">
</member>
<member name="org_unit" value="36" c:identifier="E_CONTACT_ORG_UNIT">
</member>
<member name="office" value="37" c:identifier="E_CONTACT_OFFICE">
</member>
<member name="title" value="38" c:identifier="E_CONTACT_TITLE">
</member>
<member name="role" value="39" c:identifier="E_CONTACT_ROLE">
</member>
<member name="manager" value="40" c:identifier="E_CONTACT_MANAGER">
</member>
<member name="assistant" value="41" c:identifier="E_CONTACT_ASSISTANT">
</member>
<member name="homepage_url"
value="42"
c:identifier="E_CONTACT_HOMEPAGE_URL">
</member>
<member name="blog_url" value="43" c:identifier="E_CONTACT_BLOG_URL">
</member>
<member name="categories" value="44" c:identifier="E_CONTACT_CATEGORIES">
</member>
<member name="calendar_uri"
value="45"
c:identifier="E_CONTACT_CALENDAR_URI">
</member>
<member name="freebusy_url"
value="46"
c:identifier="E_CONTACT_FREEBUSY_URL">
</member>
<member name="ics_calendar"
value="47"
c:identifier="E_CONTACT_ICS_CALENDAR">
</member>
<member name="video_url" value="48" c:identifier="E_CONTACT_VIDEO_URL">
</member>
<member name="spouse" value="49" c:identifier="E_CONTACT_SPOUSE">
</member>
<member name="note" value="50" c:identifier="E_CONTACT_NOTE">
</member>
<member name="im_aim_home_1"
value="51"
c:identifier="E_CONTACT_IM_AIM_HOME_1">
</member>
<member name="im_aim_home_2"
value="52"
c:identifier="E_CONTACT_IM_AIM_HOME_2">
</member>
<member name="im_aim_home_3"
value="53"
c:identifier="E_CONTACT_IM_AIM_HOME_3">
</member>
<member name="im_aim_work_1"
value="54"
c:identifier="E_CONTACT_IM_AIM_WORK_1">
</member>
<member name="im_aim_work_2"
value="55"
c:identifier="E_CONTACT_IM_AIM_WORK_2">
</member>
<member name="im_aim_work_3"
value="56"
c:identifier="E_CONTACT_IM_AIM_WORK_3">
</member>
<member name="im_groupwise_home_1"
value="57"
c:identifier="E_CONTACT_IM_GROUPWISE_HOME_1">
</member>
<member name="im_groupwise_home_2"
value="58"
c:identifier="E_CONTACT_IM_GROUPWISE_HOME_2">
</member>
<member name="im_groupwise_home_3"
value="59"
c:identifier="E_CONTACT_IM_GROUPWISE_HOME_3">
</member>
<member name="im_groupwise_work_1"
value="60"
c:identifier="E_CONTACT_IM_GROUPWISE_WORK_1">
</member>
<member name="im_groupwise_work_2"
value="61"
c:identifier="E_CONTACT_IM_GROUPWISE_WORK_2">
</member>
<member name="im_groupwise_work_3"
value="62"
c:identifier="E_CONTACT_IM_GROUPWISE_WORK_3">
</member>
<member name="im_jabber_home_1"
value="63"
c:identifier="E_CONTACT_IM_JABBER_HOME_1">
</member>
<member name="im_jabber_home_2"
value="64"
c:identifier="E_CONTACT_IM_JABBER_HOME_2">
</member>
<member name="im_jabber_home_3"
value="65"
c:identifier="E_CONTACT_IM_JABBER_HOME_3">
</member>
<member name="im_jabber_work_1"
value="66"
c:identifier="E_CONTACT_IM_JABBER_WORK_1">
</member>
<member name="im_jabber_work_2"
value="67"
c:identifier="E_CONTACT_IM_JABBER_WORK_2">
</member>
<member name="im_jabber_work_3"
value="68"
c:identifier="E_CONTACT_IM_JABBER_WORK_3">
</member>
<member name="im_yahoo_home_1"
value="69"
c:identifier="E_CONTACT_IM_YAHOO_HOME_1">
</member>
<member name="im_yahoo_home_2"
value="70"
c:identifier="E_CONTACT_IM_YAHOO_HOME_2">
</member>
<member name="im_yahoo_home_3"
value="71"
c:identifier="E_CONTACT_IM_YAHOO_HOME_3">
</member>
<member name="im_yahoo_work_1"
value="72"
c:identifier="E_CONTACT_IM_YAHOO_WORK_1">
</member>
<member name="im_yahoo_work_2"
value="73"
c:identifier="E_CONTACT_IM_YAHOO_WORK_2">
</member>
<member name="im_yahoo_work_3"
value="74"
c:identifier="E_CONTACT_IM_YAHOO_WORK_3">
</member>
<member name="im_msn_home_1"
value="75"
c:identifier="E_CONTACT_IM_MSN_HOME_1">
</member>
<member name="im_msn_home_2"
value="76"
c:identifier="E_CONTACT_IM_MSN_HOME_2">
</member>
<member name="im_msn_home_3"
value="77"
c:identifier="E_CONTACT_IM_MSN_HOME_3">
</member>
<member name="im_msn_work_1"
value="78"
c:identifier="E_CONTACT_IM_MSN_WORK_1">
</member>
<member name="im_msn_work_2"
value="79"
c:identifier="E_CONTACT_IM_MSN_WORK_2">
</member>
<member name="im_msn_work_3"
value="80"
c:identifier="E_CONTACT_IM_MSN_WORK_3">
</member>
<member name="im_icq_home_1"
value="81"
c:identifier="E_CONTACT_IM_ICQ_HOME_1">
</member>
<member name="im_icq_home_2"
value="82"
c:identifier="E_CONTACT_IM_ICQ_HOME_2">
</member>
<member name="im_icq_home_3"
value="83"
c:identifier="E_CONTACT_IM_ICQ_HOME_3">
</member>
<member name="im_icq_work_1"
value="84"
c:identifier="E_CONTACT_IM_ICQ_WORK_1">
</member>
<member name="im_icq_work_2"
value="85"
c:identifier="E_CONTACT_IM_ICQ_WORK_2">
</member>
<member name="im_icq_work_3"
value="86"
c:identifier="E_CONTACT_IM_ICQ_WORK_3">
</member>
<member name="rev" value="87" c:identifier="E_CONTACT_REV">
</member>
<member name="name_or_org"
value="88"
c:identifier="E_CONTACT_NAME_OR_ORG">
</member>
<member name="address" value="89" c:identifier="E_CONTACT_ADDRESS">
</member>
<member name="address_home"
value="90"
c:identifier="E_CONTACT_ADDRESS_HOME">
</member>
<member name="address_work"
value="91"
c:identifier="E_CONTACT_ADDRESS_WORK">
</member>
<member name="address_other"
value="92"
c:identifier="E_CONTACT_ADDRESS_OTHER">
</member>
<member name="category_list"
value="93"
c:identifier="E_CONTACT_CATEGORY_LIST">
</member>
<member name="photo" value="94" c:identifier="E_CONTACT_PHOTO">
</member>
<member name="logo" value="95" c:identifier="E_CONTACT_LOGO">
</member>
<member name="name" value="96" c:identifier="E_CONTACT_NAME">
</member>
<member name="email" value="97" c:identifier="E_CONTACT_EMAIL">
</member>
<member name="im_aim" value="98" c:identifier="E_CONTACT_IM_AIM">
</member>
<member name="im_groupwise"
value="99"
c:identifier="E_CONTACT_IM_GROUPWISE">
</member>
<member name="im_jabber" value="100" c:identifier="E_CONTACT_IM_JABBER">
</member>
<member name="im_yahoo" value="101" c:identifier="E_CONTACT_IM_YAHOO">
</member>
<member name="im_msn" value="102" c:identifier="E_CONTACT_IM_MSN">
</member>
<member name="im_icq" value="103" c:identifier="E_CONTACT_IM_ICQ">
</member>
<member name="wants_html"
value="104"
c:identifier="E_CONTACT_WANTS_HTML">
</member>
<member name="is_list" value="105" c:identifier="E_CONTACT_IS_LIST">
</member>
<member name="list_show_addresses"
value="106"
c:identifier="E_CONTACT_LIST_SHOW_ADDRESSES">
</member>
<member name="birth_date"
value="107"
c:identifier="E_CONTACT_BIRTH_DATE">
</member>
<member name="anniversary"
value="108"
c:identifier="E_CONTACT_ANNIVERSARY">
</member>
<member name="x509_cert" value="109" c:identifier="E_CONTACT_X509_CERT">
</member>
<member name="im_gadugadu_home_1"
value="110"
c:identifier="E_CONTACT_IM_GADUGADU_HOME_1">
</member>
<member name="im_gadugadu_home_2"
value="111"
c:identifier="E_CONTACT_IM_GADUGADU_HOME_2">
</member>
<member name="im_gadugadu_home_3"
value="112"
c:identifier="E_CONTACT_IM_GADUGADU_HOME_3">
</member>
<member name="im_gadugadu_work_1"
value="113"
c:identifier="E_CONTACT_IM_GADUGADU_WORK_1">
</member>
<member name="im_gadugadu_work_2"
value="114"
c:identifier="E_CONTACT_IM_GADUGADU_WORK_2">
</member>
<member name="im_gadugadu_work_3"
value="115"
c:identifier="E_CONTACT_IM_GADUGADU_WORK_3">
</member>
<member name="im_gadugadu"
value="116"
c:identifier="E_CONTACT_IM_GADUGADU">
</member>
<member name="geo" value="117" c:identifier="E_CONTACT_GEO">
</member>
<member name="tel" value="118" c:identifier="E_CONTACT_TEL">
</member>
<member name="im_skype_home_1"
value="119"
c:identifier="E_CONTACT_IM_SKYPE_HOME_1">
</member>
<member name="im_skype_home_2"
value="120"
c:identifier="E_CONTACT_IM_SKYPE_HOME_2">
</member>
<member name="im_skype_home_3"
value="121"
c:identifier="E_CONTACT_IM_SKYPE_HOME_3">
</member>
<member name="im_skype_work_1"
value="122"
c:identifier="E_CONTACT_IM_SKYPE_WORK_1">
</member>
<member name="im_skype_work_2"
value="123"
c:identifier="E_CONTACT_IM_SKYPE_WORK_2">
</member>
<member name="im_skype_work_3"
value="124"
c:identifier="E_CONTACT_IM_SKYPE_WORK_3">
</member>
<member name="im_skype" value="125" c:identifier="E_CONTACT_IM_SKYPE">
</member>
<member name="sip" value="126" c:identifier="E_CONTACT_SIP">
</member>
<member name="im_google_talk_home_1"
value="127"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_HOME_1">
</member>
<member name="im_google_talk_home_2"
value="128"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_HOME_2">
</member>
<member name="im_google_talk_home_3"
value="129"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_HOME_3">
</member>
<member name="im_google_talk_work_1"
value="130"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_WORK_1">
</member>
<member name="im_google_talk_work_2"
value="131"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_WORK_2">
</member>
<member name="im_google_talk_work_3"
value="132"
c:identifier="E_CONTACT_IM_GOOGLE_TALK_WORK_3">
</member>
<member name="im_google_talk"
value="133"
c:identifier="E_CONTACT_IM_GOOGLE_TALK">
</member>
<member name="im_twitter"
value="134"
c:identifier="E_CONTACT_IM_TWITTER">
</member>
<member name="field_last"
value="135"
c:identifier="E_CONTACT_FIELD_LAST">
</member>
<member name="field_first"
value="1"
c:identifier="E_CONTACT_FIELD_FIRST">
</member>
<member name="last_simple_string"
value="88"
c:identifier="E_CONTACT_LAST_SIMPLE_STRING">
</member>
<member name="first_phone_id"
value="16"
c:identifier="E_CONTACT_FIRST_PHONE_ID">
</member>
<member name="last_phone_id"
value="34"
c:identifier="E_CONTACT_LAST_PHONE_ID">
</member>
<member name="first_email_id"
value="8"
c:identifier="E_CONTACT_FIRST_EMAIL_ID">
</member>
<member name="last_email_id"
value="11"
c:identifier="E_CONTACT_LAST_EMAIL_ID">
</member>
<member name="first_address_id"
value="90"
c:identifier="E_CONTACT_FIRST_ADDRESS_ID">
</member>
<member name="last_address_id"
value="92"
c:identifier="E_CONTACT_LAST_ADDRESS_ID">
</member>
<member name="first_label_id"
value="13"
c:identifier="E_CONTACT_FIRST_LABEL_ID">
</member>
<member name="last_label_id"
value="15"
c:identifier="E_CONTACT_LAST_LABEL_ID">
</member>
</enumeration>
<record name="ContactGeo"
c:type="EContactGeo"
version="1.12"
glib:type-name="EContactGeo"
glib:get-type="e_contact_geo_get_type"
c:symbol-prefix="contact_geo">
<field name="latitude" writable="1">
<doc xml:space="preserve">latitude</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<field name="longitude" writable="1">
<doc xml:space="preserve">longitude</doc>
<type name="gdouble" c:type="gdouble"/>
</field>
<constructor name="new" c:identifier="e_contact_geo_new" version="3.8">
<doc xml:space="preserve">Creates an #EContactGeo struct with all coordinates set to 0.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactGeo struct.</doc>
<type name="ContactGeo" c:type="EContactGeo*"/>
</return-value>
</constructor>
<method name="free" c:identifier="e_contact_geo_free" version="1.12">
<doc xml:space="preserve">Frees the @geo struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="geo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactGeo</doc>
<type name="ContactGeo" c:type="EContactGeo*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="ContactName"
c:type="EContactName"
glib:type-name="EContactName"
glib:get-type="e_contact_name_get_type"
c:symbol-prefix="contact_name">
<field name="family" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="given" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="additional" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="prefixes" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="suffixes" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<constructor name="new" c:identifier="e_contact_name_new">
<doc xml:space="preserve">Creates a new #EContactName struct.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactName struct.</doc>
<type name="ContactName" c:type="EContactName*"/>
</return-value>
</constructor>
<method name="copy" c:identifier="e_contact_name_copy">
<doc xml:space="preserve">Creates a copy of @n.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactName identical to @n.</doc>
<type name="ContactName" c:type="EContactName*"/>
</return-value>
<parameters>
<instance-parameter name="n" transfer-ownership="none">
<doc xml:space="preserve">an #EContactName</doc>
<type name="ContactName" c:type="EContactName*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="e_contact_name_free">
<doc xml:space="preserve">Frees @name and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">an #EContactName</doc>
<type name="ContactName" c:type="EContactName*"/>
</instance-parameter>
</parameters>
</method>
<method name="to_string" c:identifier="e_contact_name_to_string">
<doc xml:space="preserve">Generates a string representation of @name.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The string representation of @name.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">an #EContactName</doc>
<type name="ContactName" c:type="const EContactName*"/>
</instance-parameter>
</parameters>
</method>
<function name="from_string" c:identifier="e_contact_name_from_string">
<doc xml:space="preserve">Creates a new #EContactName based on the parsed @name_str.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactName struct.</doc>
<type name="ContactName" c:type="EContactName*"/>
</return-value>
<parameters>
<parameter name="name_str" transfer-ownership="none">
<doc xml:space="preserve">a string representing a contact's full name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</record>
<record name="ContactPhoto"
c:type="EContactPhoto"
glib:type-name="EContactPhoto"
glib:get-type="e_contact_photo_get_type"
c:symbol-prefix="contact_photo">
<field name="type" writable="1">
<type name="ContactPhotoType" c:type="EContactPhotoType"/>
</field>
<union name="data" c:type="data">
<record name="inlined" c:type="inlined">
<field name="mime_type" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="length" writable="1">
<type name="gsize" c:type="gsize"/>
</field>
<field name="data" writable="1">
<type name="guint8" c:type="guchar*"/>
</field>
</record>
<field name="uri" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
</union>
<constructor name="new" c:identifier="e_contact_photo_new" version="3.2">
<doc xml:space="preserve">Creates a new #EContactPhoto struct.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactPhoto struct.</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</return-value>
</constructor>
<method name="copy" c:identifier="e_contact_photo_copy" version="3.8">
<doc xml:space="preserve">Creates a copy of @photo.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactPhoto struct identical to @photo.</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="e_contact_photo_free">
<doc xml:space="preserve">Frees the @photo struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto struct</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_inlined"
c:identifier="e_contact_photo_get_inlined"
version="3.2">
<doc xml:space="preserve">Gets the @photo's data.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the inlined image in the
#EContactPhoto, or %NULL if it has not been set.</doc>
<array length="0" zero-terminated="0" c:type="guchar*">
<type name="guint8" c:type="guchar"/>
</array>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
<parameter name="len"
direction="out"
caller-allocates="1"
transfer-ownership="full">
<doc xml:space="preserve">the length of the inlined data</doc>
<type name="gsize" c:type="gsize*"/>
</parameter>
</parameters>
</method>
<method name="get_mime_type"
c:identifier="e_contact_photo_get_mime_type"
version="3.2">
<doc xml:space="preserve">Gets the @photo's mime type.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the MIME type of the image, or %NULL if it has not been set.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uri"
c:identifier="e_contact_photo_get_uri"
version="3.2">
<doc xml:space="preserve">Gets the @photo's URI.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">the URI of the image, or %NULL if it has not been set</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
</parameters>
</method>
<method name="set_inlined"
c:identifier="e_contact_photo_set_inlined"
version="3.2">
<doc xml:space="preserve">Sets the @photo's inlined data.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve">the inlined image data</doc>
<array length="1" zero-terminated="0" c:type="guchar*">
<type name="guint8" c:type="guchar"/>
</array>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">the length of @data</doc>
<type name="gsize" c:type="gsize"/>
</parameter>
</parameters>
</method>
<method name="set_mime_type"
c:identifier="e_contact_photo_set_mime_type"
version="3.2">
<doc xml:space="preserve">Sets the @photo's mime type.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
<parameter name="mime_type" transfer-ownership="none">
<doc xml:space="preserve">the mime type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="set_uri"
c:identifier="e_contact_photo_set_uri"
version="3.2">
<doc xml:space="preserve">Sets the @photo's URI.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="photo" transfer-ownership="none">
<doc xml:space="preserve">an #EContactPhoto</doc>
<type name="ContactPhoto" c:type="EContactPhoto*"/>
</instance-parameter>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve">the @photo's URI</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
</record>
<enumeration name="ContactPhotoType" c:type="EContactPhotoType">
<member name="inlined"
value="0"
c:identifier="E_CONTACT_PHOTO_TYPE_INLINED">
</member>
<member name="uri" value="1" c:identifier="E_CONTACT_PHOTO_TYPE_URI">
</member>
</enumeration>
<record name="ContactPrivate" c:type="EContactPrivate" disguised="1">
</record>
<enumeration name="DataBookStatus"
version="3.6"
glib:type-name="EDataBookStatus"
glib:get-type="e_data_book_status_get_type"
c:type="EDataBookStatus">
<doc xml:space="preserve">Error codes for the #E_DATA_BOOK_ERROR domain, these are used
in the backend.</doc>
<member name="success"
value="0"
c:identifier="E_DATA_BOOK_STATUS_SUCCESS"
glib:nick="success">
<doc xml:space="preserve">No error</doc>
</member>
<member name="busy"
value="1"
c:identifier="E_DATA_BOOK_STATUS_BUSY"
glib:nick="busy">
<doc xml:space="preserve">Backend was busy</doc>
</member>
<member name="repository_offline"
value="2"
c:identifier="E_DATA_BOOK_STATUS_REPOSITORY_OFFLINE"
glib:nick="repository-offline">
<doc xml:space="preserve">Offsite repository was not online</doc>
</member>
<member name="permission_denied"
value="3"
c:identifier="E_DATA_BOOK_STATUS_PERMISSION_DENIED"
glib:nick="permission-denied">
<doc xml:space="preserve">Permission denied</doc>
</member>
<member name="contact_not_found"
value="4"
c:identifier="E_DATA_BOOK_STATUS_CONTACT_NOT_FOUND"
glib:nick="contact-not-found">
<doc xml:space="preserve">Contact referred to was not found</doc>
</member>
<member name="contactid_already_exists"
value="5"
c:identifier="E_DATA_BOOK_STATUS_CONTACTID_ALREADY_EXISTS"
glib:nick="contactid-already-exists">
<doc xml:space="preserve">Tried to add a contact which already exists</doc>
</member>
<member name="authentication_failed"
value="6"
c:identifier="E_DATA_BOOK_STATUS_AUTHENTICATION_FAILED"
glib:nick="authentication-failed">
<doc xml:space="preserve">Authentication failure</doc>
</member>
<member name="authentication_required"
value="7"
c:identifier="E_DATA_BOOK_STATUS_AUTHENTICATION_REQUIRED"
glib:nick="authentication-required">
<doc xml:space="preserve">Authentication required for this operation</doc>
</member>
<member name="unsupported_field"
value="8"
c:identifier="E_DATA_BOOK_STATUS_UNSUPPORTED_FIELD"
glib:nick="unsupported-field">
<doc xml:space="preserve">An unsupported #EContactField was specified for a given operation</doc>
</member>
<member name="unsupported_authentication_method"
value="9"
c:identifier="E_DATA_BOOK_STATUS_UNSUPPORTED_AUTHENTICATION_METHOD"
glib:nick="unsupported-authentication-method">
<doc xml:space="preserve">The authentication method is unsupported</doc>
</member>
<member name="tls_not_available"
value="10"
c:identifier="E_DATA_BOOK_STATUS_TLS_NOT_AVAILABLE"
glib:nick="tls-not-available">
<doc xml:space="preserve">TLS was not available</doc>
</member>
<member name="no_such_book"
value="11"
c:identifier="E_DATA_BOOK_STATUS_NO_SUCH_BOOK"
glib:nick="no-such-book">
<doc xml:space="preserve">Book did not exist</doc>
</member>
<member name="book_removed"
value="12"
c:identifier="E_DATA_BOOK_STATUS_BOOK_REMOVED"
glib:nick="book-removed">
<doc xml:space="preserve">Book was removed</doc>
</member>
<member name="offline_unavailable"
value="13"
c:identifier="E_DATA_BOOK_STATUS_OFFLINE_UNAVAILABLE"
glib:nick="offline-unavailable">
<doc xml:space="preserve">XXX Document me</doc>
</member>
<member name="search_size_limit_exceeded"
value="14"
c:identifier="E_DATA_BOOK_STATUS_SEARCH_SIZE_LIMIT_EXCEEDED"
glib:nick="search-size-limit-exceeded">
<doc xml:space="preserve">Exceeded limit of seach size</doc>
</member>
<member name="search_time_limit_exceeded"
value="15"
c:identifier="E_DATA_BOOK_STATUS_SEARCH_TIME_LIMIT_EXCEEDED"
glib:nick="search-time-limit-exceeded">
<doc xml:space="preserve">Exceeded time limit for seach</doc>
</member>
<member name="invalid_query"
value="16"
c:identifier="E_DATA_BOOK_STATUS_INVALID_QUERY"
glib:nick="invalid-query">
<doc xml:space="preserve">Given search espression is invalid</doc>
</member>
<member name="query_refused"
value="17"
c:identifier="E_DATA_BOOK_STATUS_QUERY_REFUSED"
glib:nick="query-refused">
<doc xml:space="preserve">Given search espression was refused</doc>
</member>
<member name="could_not_cancel"
value="18"
c:identifier="E_DATA_BOOK_STATUS_COULD_NOT_CANCEL"
glib:nick="could-not-cancel">
<doc xml:space="preserve">Unable to cancel an operation</doc>
</member>
<member name="other_error"
value="19"
c:identifier="E_DATA_BOOK_STATUS_OTHER_ERROR"
glib:nick="other-error">
<doc xml:space="preserve">An other error occurred</doc>
</member>
<member name="invalid_server_version"
value="20"
c:identifier="E_DATA_BOOK_STATUS_INVALID_SERVER_VERSION"
glib:nick="invalid-server-version">
<doc xml:space="preserve">Invalid server version</doc>
</member>
<member name="no_space"
value="21"
c:identifier="E_DATA_BOOK_STATUS_NO_SPACE"
glib:nick="no-space">
<doc xml:space="preserve">Disk space insufficient</doc>
</member>
<member name="invalid_arg"
value="22"
c:identifier="E_DATA_BOOK_STATUS_INVALID_ARG"
glib:nick="invalid-arg">
<doc xml:space="preserve">Invalid argument</doc>
</member>
<member name="not_supported"
value="23"
c:identifier="E_DATA_BOOK_STATUS_NOT_SUPPORTED"
glib:nick="not-supported">
<doc xml:space="preserve">Unsupported operation</doc>
</member>
<member name="not_opened"
value="24"
c:identifier="E_DATA_BOOK_STATUS_NOT_OPENED"
glib:nick="not-opened">
<doc xml:space="preserve">Tried to access a book which is not yet open</doc>
</member>
<member name="out_of_sync"
value="25"
c:identifier="E_DATA_BOOK_STATUS_OUT_OF_SYNC"
glib:nick="out-of-sync">
<doc xml:space="preserve">Out of sync state</doc>
</member>
</enumeration>
<record name="NameWestern" c:type="ENameWestern">
<field name="prefix" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="first" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="middle" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="nick" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="last" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="suffix" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<field name="full" writable="1">
<type name="utf8" c:type="gchar*"/>
</field>
<method name="free" c:identifier="e_name_western_free">
<doc xml:space="preserve">Frees the @w struct and its contents.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="w" transfer-ownership="none">
<doc xml:space="preserve">an #ENameWestern struct</doc>
<type name="NameWestern" c:type="ENameWestern*"/>
</instance-parameter>
</parameters>
</method>
<function name="parse"
c:identifier="e_name_western_parse"
introspectable="0">
<doc xml:space="preserve">Parses @full_name and returns an #ENameWestern struct filled with
the component parts of the name.</doc>
<return-value>
<doc xml:space="preserve">A new #ENameWestern struct.</doc>
<type name="NameWestern" c:type="ENameWestern*"/>
</return-value>
<parameters>
<parameter name="full_name" transfer-ownership="none">
<doc xml:space="preserve">A string containing a western name.</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
</record>
<record name="PhoneNumber"
c:type="EPhoneNumber"
version="3.8"
glib:type-name="EPhoneNumber"
glib:get-type="e_phone_number_get_type"
c:symbol-prefix="phone_number">
<doc xml:space="preserve">This opaque type describes a parsed phone number. It can be copied using
e_phone_number_copy(). To release it call e_phone_number_free().</doc>
<method name="compare"
c:identifier="e_phone_number_compare"
version="3.8">
<doc xml:space="preserve">Compares two phone numbers.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The quality of matching for the two phone numbers.</doc>
<type name="PhoneNumberMatch" c:type="EPhoneNumberMatch"/>
</return-value>
<parameters>
<instance-parameter name="first_number" transfer-ownership="none">
<doc xml:space="preserve">the first EPhoneNumber to compare</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</instance-parameter>
<parameter name="second_number" transfer-ownership="none">
<doc xml:space="preserve">the second EPhoneNumber to compare</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="e_phone_number_copy" version="3.8">
<doc xml:space="preserve">Makes a copy of @phone_number.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated EPhoneNumber instance.
Call e_phone_number_free() to release this instance.</doc>
<type name="PhoneNumber" c:type="EPhoneNumber*"/>
</return-value>
<parameters>
<instance-parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the EPhoneNumber to copy</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="e_phone_number_free" version="3.8">
<doc xml:space="preserve">Released the memory occupied by @phone_number.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the EPhoneNumber to free</doc>
<type name="PhoneNumber" c:type="EPhoneNumber*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_country_code"
c:identifier="e_phone_number_get_country_code"
version="3.8">
<doc xml:space="preserve">Queries the @phone_number's country calling code and optionally stores the country
calling code's origin in @source. For instance when parsing "+1-617-5423789" this
function would return one and assing E_PHONE_NUMBER_COUNTRY_FROM_FQTN to @source.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A valid country calling code, or zero if no code is known.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<instance-parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the phone number to query</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve">an optional location for storing the phone number's origin, or %NULL</doc>
<type name="PhoneNumberCountrySource"
c:type="EPhoneNumberCountrySource*"/>
</parameter>
</parameters>
</method>
<method name="get_national_number"
c:identifier="e_phone_number_get_national_number"
version="3.8">
<doc xml:space="preserve">Queries the national portion of @phone_number without any call-out
prefixes. For instance when parsing "+1-617-5423789" this function would
return the string "6175423789".</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The national portion of @phone_number.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the phone number to query</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</instance-parameter>
</parameters>
</method>
<method name="to_string"
c:identifier="e_phone_number_to_string"
version="3.8">
<doc xml:space="preserve">Describes the @phone_number according to the rules applying to @format.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A formatted string for @phone_number.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the phone number to format</doc>
<type name="PhoneNumber" c:type="const EPhoneNumber*"/>
</instance-parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve">the phone number format to apply</doc>
<type name="PhoneNumberFormat" c:type="EPhoneNumberFormat"/>
</parameter>
</parameters>
</method>
<function name="compare_strings"
c:identifier="e_phone_number_compare_strings"
version="3.8"
throws="1">
<doc xml:space="preserve">Compares two phone numbers.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The quality of matching for the two phone numbers.</doc>
<type name="PhoneNumberMatch" c:type="EPhoneNumberMatch"/>
</return-value>
<parameters>
<parameter name="first_number" transfer-ownership="none">
<doc xml:space="preserve">the first EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="second_number" transfer-ownership="none">
<doc xml:space="preserve">the second EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="compare_strings_with_region"
c:identifier="e_phone_number_compare_strings_with_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Compares two phone numbers within the context of @region_code.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The quality of matching for the two phone numbers.</doc>
<type name="PhoneNumberMatch" c:type="EPhoneNumberMatch"/>
</return-value>
<parameters>
<parameter name="first_number" transfer-ownership="none">
<doc xml:space="preserve">the first EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="second_number" transfer-ownership="none">
<doc xml:space="preserve">the second EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="error_quark" c:identifier="e_phone_number_error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="from_string"
c:identifier="e_phone_number_from_string"
version="3.8"
throws="1">
<doc xml:space="preserve">Parses the string passed in @phone_number. Note that no validation is
performed whether the recognized phone number is valid for a particular
region.
The two-letter country code passed in @region_code only is used if the
@phone_number is not written in international format. The application's
default region as returned by e_phone_number_get_default_region() is used
if @region_code is %NULL.
If the number is guaranteed to start with a '+' followed by the country
calling code, then "ZZ" can be passed for @region_code.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new EPhoneNumber instance on success,
or %NULL on error. Call e_phone_number_free() to release this instance.</doc>
<type name="PhoneNumber" c:type="EPhoneNumber*"/>
</return-value>
<parameters>
<parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the phone number to parse</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_country_code_for_region"
c:identifier="e_phone_number_get_country_code_for_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Retrieves the preferred country calling code for @region_code,
e.g. 358 for "fi" or 1 for "en_US@UTF-8".
If %NULL is passed for @region_code the default region as returned by
e_phone_number_get_default_region() is used.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a valid country calling code, or zero if an unknown region
code was passed.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, a locale name, or
%NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="get_default_region"
c:identifier="e_phone_number_get_default_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Retrieves the current two-letter country code that's used by default for
parsing phone numbers in e_phone_number_from_string(). It can be useful
to store this number before parsing a bigger number of phone numbers.
The result of this functions depends on the current setup of the
%LC_ADDRESS category: If that category provides a reasonable value
for %_NL_ADDRESS_COUNTRY_AB2 this value is returned. Otherwise the
locale name configured for %LC_ADDRESS is parsed.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly allocated string containing the
current locale's two-letter code for phone number parsing.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</function>
<function name="is_supported"
c:identifier="e_phone_number_is_supported"
version="3.8">
<doc xml:space="preserve">Checks if phone number support is available. It is recommended to call this
function before using any of the phone-utils functions to ensure that the
required functionality is available, and to pick alternative mechnisms if
needed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if phone number support is available.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
</record>
<enumeration name="PhoneNumberCountrySource"
version="3.8"
c:type="EPhoneNumberCountrySource">
<doc xml:space="preserve">The origin of a parsed EPhoneNumber's country calling code.</doc>
<member name="fqtn"
value="1"
c:identifier="E_PHONE_NUMBER_COUNTRY_FROM_FQTN">
<doc xml:space="preserve">the EPhoneNumber was build from a fully qualified telephone number
that contained a valid country calling code</doc>
</member>
<member name="idd"
value="5"
c:identifier="E_PHONE_NUMBER_COUNTRY_FROM_IDD">
<doc xml:space="preserve">the parsed phone number started with the current locale's international
call prefix, followed by a valid country calling code</doc>
</member>
<member name="default"
value="20"
c:identifier="E_PHONE_NUMBER_COUNTRY_FROM_DEFAULT">
<doc xml:space="preserve">the parsed phone didn't start with a (recognizable) country calling code,
the code was chosen by checking the current locale settings</doc>
</member>
</enumeration>
<enumeration name="PhoneNumberError"
version="3.8"
c:type="EPhoneNumberError"
glib:error-domain="e-phone-number-error-quark">
<doc xml:space="preserve">Numeric description of a phone number related error.</doc>
<member name="not_implemented"
value="0"
c:identifier="E_PHONE_NUMBER_ERROR_NOT_IMPLEMENTED">
<doc xml:space="preserve">the library was built without phone
number support</doc>
</member>
<member name="unknown"
value="1"
c:identifier="E_PHONE_NUMBER_ERROR_UNKNOWN">
<doc xml:space="preserve">the phone number parser reported an yet
unkown error code.</doc>
</member>
<member name="not_a_number"
value="2"
c:identifier="E_PHONE_NUMBER_ERROR_NOT_A_NUMBER">
<doc xml:space="preserve">the supplied text is not a phone number.</doc>
</member>
<member name="invalid_country_code"
value="3"
c:identifier="E_PHONE_NUMBER_ERROR_INVALID_COUNTRY_CODE">
<doc xml:space="preserve">the supplied phone number has an
invalid country calling code.</doc>
</member>
<member name="too_short_after_idd"
value="4"
c:identifier="E_PHONE_NUMBER_ERROR_TOO_SHORT_AFTER_IDD">
<doc xml:space="preserve">the remaining text after the
country calling code is to short for a phone number.</doc>
</member>
<member name="too_short"
value="5"
c:identifier="E_PHONE_NUMBER_ERROR_TOO_SHORT">
<doc xml:space="preserve">the text is too short for a phone number.</doc>
</member>
<member name="too_long"
value="6"
c:identifier="E_PHONE_NUMBER_ERROR_TOO_LONG">
<doc xml:space="preserve">the text is too long for a phone number.</doc>
</member>
</enumeration>
<enumeration name="PhoneNumberFormat"
version="3.8"
c:type="EPhoneNumberFormat">
<doc xml:space="preserve">The supported formatting rules for phone numbers.</doc>
<member name="e164" value="0" c:identifier="E_PHONE_NUMBER_FORMAT_E164">
<doc xml:space="preserve">format according E.164: "+493055667788".</doc>
</member>
<member name="international"
value="1"
c:identifier="E_PHONE_NUMBER_FORMAT_INTERNATIONAL">
<doc xml:space="preserve">a formatted phone number always
starting with the country calling code: "+49 30 55667788".</doc>
</member>
<member name="national"
value="2"
c:identifier="E_PHONE_NUMBER_FORMAT_NATIONAL">
<doc xml:space="preserve">a formatted phone number in national
scope, that is without country calling code: "(030) 55667788".</doc>
</member>
<member name="rfc3966"
value="3"
c:identifier="E_PHONE_NUMBER_FORMAT_RFC3966">
<doc xml:space="preserve">a tel: URL according to RFC 3966:
"tel:+49-30-55667788".</doc>
</member>
</enumeration>
<enumeration name="PhoneNumberMatch"
version="3.8"
c:type="EPhoneNumberMatch">
<doc xml:space="preserve">The strength of a phone number match.
<example>
<title>Some examples of phone number matches</title>
<para>
Let's consider the phone number "+1-221-5423789", then comparing with
"+1.221.542.3789" we have get E_PHONE_NUMBER_MATCH_EXACT because country
code, region code and local number are matching. Comparing with "2215423789"
will result in E_PHONE_NUMBER_MATCH_NATIONAL because the country calling code
is missing, but the national portion is matching. Finally comparing with
"5423789" gives E_PHONE_NUMBER_MATCH_SHORT. For more detail have a look at
the following table:
<informaltable border="1" align="center">
<colgroup>
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
</colgroup>
<tbody>
<tr>
<th></th>
<th align="center">+1-617-5423789</th>
<th align="center">+1-221-5423789</th>
<th align="center">221-5423789</th>
<th align="center">5423789</th>
</tr><tr>
<th align="right">+1-617-5423789</th>
<td align="center">exact</td>
<td align="center">none</td>
<td align="center">none</td>
<td align="center">short</td>
</tr><tr>
<th align="right">+1-221-5423789</th>
<td align="center">none</td>
<td align="center">exact</td>
<td align="center">national</td>
<td align="center">short</td>
</tr><tr>
<th align="right">221-5423789</th>
<td align="center">none</td>
<td align="center">national</td>
<td align="center">national</td>
<td align="center">short</td>
</tr><tr>
<th align="right">5423789</th>
<td align="center">short</td>
<td align="center">short</td>
<td align="center">short</td>
<td align="center">short</td>
</tr>
</tbody>
</informaltable>
</para>
</example></doc>
<member name="none" value="0" c:identifier="E_PHONE_NUMBER_MATCH_NONE">
<doc xml:space="preserve">The phone numbers did not match.</doc>
</member>
<member name="exact" value="1" c:identifier="E_PHONE_NUMBER_MATCH_EXACT">
<doc xml:space="preserve">The phone numbers matched exactly. Two phone number strings are an exact match
if the country code, national phone number, presence of a leading zero for Italian numbers and any
extension present are the same.</doc>
</member>
<member name="national"
value="1024"
c:identifier="E_PHONE_NUMBER_MATCH_NATIONAL">
<doc xml:space="preserve">The national phone number matched. Two phone number strings match at
this strength if either or both has no region specified, and the national phone number
and extensions are the same.</doc>
</member>
<member name="short"
value="2048"
c:identifier="E_PHONE_NUMBER_MATCH_SHORT">
<doc xml:space="preserve">The weakest sort of match. Two phone numbers match at
this strength if either or both has no region specified, or the region specified is the same, and one national
phone number could be a shorter version of the other number. This includes the case where one has an extension specified,
and the other does not.</doc>
</member>
</enumeration>
<constant name="SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP"
value="Backend Summary Setup"
c:type="E_SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP"
version="3.8">
<doc xml:space="preserve">Pass this extension name to e_source_get_extension() to access
#ESourceBackendSummarySetup. This is also used as a group name in key files.</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="SourceBackendSummarySetup"
c:symbol-prefix="source_backend_summary_setup"
c:type="ESourceBackendSummarySetup"
version="3.8"
parent="EDataServer.SourceExtension"
glib:type-name="ESourceBackendSummarySetup"
glib:get-type="e_source_backend_summary_setup_get_type"
glib:type-struct="SourceBackendSummarySetupClass">
<doc xml:space="preserve">Contains only private data that should be read and manipulated using the
functions below.</doc>
<method name="get_indexed_fields"
c:identifier="e_source_backend_summary_setup_get_indexed_fields"
version="3.8">
<doc xml:space="preserve">Fetches the #EContactFields configured to be indexed, with thier respective #EBookIndexTypes.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">The array of indexed #EContactFields.</doc>
<type name="ContactField" c:type="EContactField*"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="types"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">A return location for the set of #EBookIndexTypes corresponding
to each returned field, should be freed with g_free() when no longer needed.</doc>
<type name="BookIndexType" c:type="EBookIndexType**"/>
</parameter>
<parameter name="n_fields"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">The number of elements in the returned arrays.</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="get_summary_fields"
c:identifier="e_source_backend_summary_setup_get_summary_fields"
version="3.8">
<doc xml:space="preserve">Fetches the #EContactFields which are configured to be a part of the summary.
<note><para>If there are no configured summary fields, the default configuration is assumed</para></note></doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">An array of #EContactFields @n_fields long, should be freed with g_free() when done.</doc>
<type name="ContactField" c:type="EContactField*"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="n_fields"
direction="out"
caller-allocates="0"
transfer-ownership="full">
<doc xml:space="preserve">A return location for the number of #EContactFields in the returned array.</doc>
<type name="gint" c:type="gint*"/>
</parameter>
</parameters>
</method>
<method name="set_indexed_fields"
c:identifier="e_source_backend_summary_setup_set_indexed_fields"
version="3.8"
introspectable="0">
<doc xml:space="preserve">Like e_source_backend_summary_setup_set_indexed_fieldsv(), but takes a literal list of
of indexes.
To give the 'fullname' field an index for prefix and suffix searches:
|[
#include <libebook/libebook.h>
ESourceBackendSummarySetup *extension;
extension = e_source_get_extension (source, E_SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP);
e_source_backend_summary_setup_set_indexed_fields (extension,
E_CONTACT_FULL_NAME, E_BOOK_INDEX_PREFIX,
E_CONTACT_FULL_NAME, E_BOOK_INDEX_SUFFIX,
0);
]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">A list of #EContactFields, #EBookIndexType pairs terminated by 0.</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="set_indexed_fieldsv"
c:identifier="e_source_backend_summary_setup_set_indexed_fieldsv"
version="3.8">
<doc xml:space="preserve">Defines indexes for quick reference for the given given #EContactFields in the addressbook.
The same #EContactField may be specified multiple times to create multiple indexes
with different characteristics. If an #E_BOOK_INDEX_PREFIX index is created it will
be used for #E_BOOK_QUERY_BEGINS_WITH queries. A #E_BOOK_INDEX_SUFFIX index
will be constructed efficiently for suffix matching and will be used for
#E_BOOK_QUERY_ENDS_WITH queries. Similar a #E_BOOK_INDEX_PHONE index will optimize
#E_BOOK_QUERY_EQUALS_PHONE_NUMBER searches.
<note><para>The specified indexed fields must also be a part of the summary, any indexed fields
specified that are not already a part of the summary will be ignored.</para></note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="fields" transfer-ownership="none">
<doc xml:space="preserve">The array of #EContactFields to set indexes for</doc>
<type name="ContactField" c:type="EContactField*"/>
</parameter>
<parameter name="types" transfer-ownership="none">
<doc xml:space="preserve">The array of #EBookIndexTypes defining what types of indexes to create</doc>
<type name="BookIndexType" c:type="EBookIndexType*"/>
</parameter>
<parameter name="n_fields" transfer-ownership="none">
<doc xml:space="preserve">The number elements in the passed @fields, @rule_types and @rules arrays.</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="set_summary_fields"
c:identifier="e_source_backend_summary_setup_set_summary_fields"
version="3.8"
introspectable="0">
<doc xml:space="preserve">Like e_source_backend_summary_setup_set_summary_fieldsv(), but takes a literal
list of #EContactFields for convenience.
To configure the address book summary fields with main phone nubmer fields:
|[
#include <libebook/libebook.h>
ESourceBackendSummarySetup *extension;
extension = e_source_get_extension (source, E_SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP);
e_source_backend_summary_setup_set_summary_fields (extension, E_CONTACT_FULL_NAME, E_CONTACT_EMAIL, 0);
]|</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">A 0 terminated list of #EContactFields to set as summary fields</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="set_summary_fieldsv"
c:identifier="e_source_backend_summary_setup_set_summary_fieldsv"
version="3.8">
<doc xml:space="preserve">Sets the summary fields configured for the given addressbook.
The fields %E_CONTACT_UID and %E_CONTACT_REV are not optional,
they will be stored in the summary regardless of the configured summary.
An empty summary configuration is assumed to be the default summary
configuration.
<note><para>Only #EContactFields with the type #G_TYPE_STRING or #G_TYPE_BOOLEAN
are currently supported as summary fields.</para></note></doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="extension" transfer-ownership="none">
<doc xml:space="preserve">An #ESourceBackendSummarySetup</doc>
<type name="SourceBackendSummarySetup"
c:type="ESourceBackendSummarySetup*"/>
</instance-parameter>
<parameter name="fields" transfer-ownership="none">
<doc xml:space="preserve">The array of #EContactFields to set as summary fields</doc>
<type name="ContactField" c:type="EContactField*"/>
</parameter>
<parameter name="n_fields" transfer-ownership="none">
<doc xml:space="preserve">The number of #EContactFields in @fields</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<property name="indexed-fields"
writable="1"
construct="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<property name="summary-fields"
writable="1"
construct="1"
transfer-ownership="none">
<type name="utf8" c:type="gchar*"/>
</property>
<field name="parent">
<type name="EDataServer.SourceBackend" c:type="ESourceBackend"/>
</field>
<field name="priv">
<type name="SourceBackendSummarySetupPrivate"
c:type="ESourceBackendSummarySetupPrivate*"/>
</field>
</class>
<record name="SourceBackendSummarySetupClass"
c:type="ESourceBackendSummarySetupClass"
glib:is-gtype-struct-for="SourceBackendSummarySetup">
<field name="parent_class">
<type name="EDataServer.SourceBackendClass"
c:type="ESourceBackendClass"/>
</field>
</record>
<record name="SourceBackendSummarySetupPrivate"
c:type="ESourceBackendSummarySetupPrivate"
disguised="1">
</record>
<constant name="VCARD_21_VALID_PARAMETERS"
value="TYPE,VALUE,ENCODING,CHARSET,LANGUAGE,DOM,INTL,POSTAL,PARCEL,HOME,WORK,PREF,VOICE,FAX,MSG,CELL,PAGER,BBS,MODEM,CAR,ISDN,VIDEO,AOL,APPLELINK,ATTMAIL,CIS,EWORLD,INTERNET,IBMMAIL,MCIMAIL,POWERSHARE,PRODIGY,TLX,X400,GIF,CGM,WMF,BMP,MET,PMB,DIB,PICT,TIFF,PDF,PS,JPEG,QTIME,MPEG,MPEG2,AVI,WAVE,AIFF,PCM,X509,PGP"
c:type="E_VCARD_21_VALID_PARAMETERS"
version="3.4">
<doc xml:space="preserve">FIXME: Document me!</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="VCARD_21_VALID_PROPERTIES"
value="ADR,ORG,N,AGENT,LOGO,PHOTO,LABEL,FN,TITLE,SOUND,VERSION,TEL,EMAIL,TZ,GEO,NOTE,URL,BDAY,ROLE,REV,UID,KEY,MAILER"
c:type="E_VCARD_21_VALID_PROPERTIES"
version="3.4">
<doc xml:space="preserve">FIXME: Document me!</doc>
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="VCard"
c:symbol-prefix="vcard"
c:type="EVCard"
parent="GObject.Object"
glib:type-name="EVCard"
glib:get-type="e_vcard_get_type"
glib:type-struct="VCardClass">
<constructor name="new" c:identifier="e_vcard_new">
<doc xml:space="preserve">Creates a new, blank #EVCard.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new, blank #EVCard.</doc>
<type name="VCard" c:type="EVCard*"/>
</return-value>
</constructor>
<constructor name="new_from_string"
c:identifier="e_vcard_new_from_string">
<doc xml:space="preserve">Creates a new #EVCard from the passed-in string
representation.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EVCard.</doc>
<type name="VCard" c:type="EVCard*"/>
</return-value>
<parameters>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a string representation of the vcard to create</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<function name="escape_string" c:identifier="e_vcard_escape_string">
<doc xml:space="preserve">Escapes a string according to RFC2426, section 5.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated, escaped string.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="s" transfer-ownership="none">
<doc xml:space="preserve">the string to escape</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="unescape_string" c:identifier="e_vcard_unescape_string">
<doc xml:space="preserve">Unescapes a string according to RFC2426, section 5.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated, unescaped string.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="s" transfer-ownership="none">
<doc xml:space="preserve">the string to unescape</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<method name="add_attribute" c:identifier="e_vcard_add_attribute">
<doc xml:space="preserve">Prepends @attr to @evc. This takes ownership of @attr.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to add</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
</parameters>
</method>
<method name="add_attribute_with_value"
c:identifier="e_vcard_add_attribute_with_value">
<doc xml:space="preserve">Prepends @attr to @evcard, setting it to @value. This takes ownership of
@attr.
This is a convenience wrapper around e_vcard_attribute_add_value() and
e_vcard_add_attribute().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evcard" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to add</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a value to assign to the attribute</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_attribute_with_values"
c:identifier="e_vcard_add_attribute_with_values"
introspectable="0">
<doc xml:space="preserve">Prepends @attr to @evcard, assigning the list of values to it. This takes
ownership of @attr.
This is a convenience wrapper around e_vcard_attribute_add_value() and
e_vcard_add_attribute().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evcard" transfer-ownership="none">
<doc xml:space="preserve">an @EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to add</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of values to assign to the attribute</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="append_attribute"
c:identifier="e_vcard_append_attribute"
version="2.32">
<doc xml:space="preserve">Appends @attr to @evc to the end of a list of attributes. This takes
ownership of @attr.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to append</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
</parameters>
</method>
<method name="append_attribute_with_value"
c:identifier="e_vcard_append_attribute_with_value"
version="2.32">
<doc xml:space="preserve">Appends @attr to @evcard, setting it to @value. This takes ownership of
@attr.
This is a convenience wrapper around e_vcard_attribute_add_value() and
e_vcard_append_attribute().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evcard" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to append</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a value to assign to the attribute</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="append_attribute_with_values"
c:identifier="e_vcard_append_attribute_with_values"
version="2.32"
introspectable="0">
<doc xml:space="preserve">Appends @attr to @evcard, assigning the list of values to it. This takes
ownership of @attr.
This is a convenience wrapper around e_vcard_attribute_add_value() and
e_vcard_append_attribute().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evcard" transfer-ownership="none">
<doc xml:space="preserve">an @EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to append</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of values to assign to the attribute</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="construct" c:identifier="e_vcard_construct">
<doc xml:space="preserve">Constructs the existing #EVCard, @evc, setting its vCard data to @str.
This modifies @evc.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an existing #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a vCard string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="construct_full"
c:identifier="e_vcard_construct_full"
version="3.12">
<doc xml:space="preserve">Similar to e_vcard_construct_with_uid(), but can also
be used with an @str that is not %NULL terminated.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an existing #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a vCard string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">length of @str, or -1 if @str is %NULL terminated</doc>
<type name="gssize" c:type="gssize"/>
</parameter>
<parameter name="uid"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a unique ID string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="construct_with_uid"
c:identifier="e_vcard_construct_with_uid"
version="3.4">
<doc xml:space="preserve">Constructs the existing #EVCard, @evc, setting its vCard data to @str, and
adding a new UID attribute with the value given in @uid (if @uid is
non-%NULL).
This modifies @evc.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an existing #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a vCard string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="uid"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a unique ID string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="dump_structure" c:identifier="e_vcard_dump_structure">
<doc xml:space="preserve">Prints a dump of @evc's structure to stdout. Used for
debugging.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">the #EVCard to dump</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_attribute" c:identifier="e_vcard_get_attribute">
<doc xml:space="preserve">Get the attribute @name from @evc. The #EVCardAttribute is owned by
@evcard and should not be freed. If the attribute does not exist, %NULL is
returned.
<note><para>This will only return the <emphasis>first</emphasis> attribute
with the given @name. To get other attributes of that name (for example,
other <code>TEL</code> attributes if a contact has multiple telephone
numbers), use e_vcard_get_attributes() and iterate over the list searching
for matching attributes.</para>
<para>This method iterates over all attributes in the #EVCard, so should not
be called often. If extracting a large number of attributes from a vCard, it
is more efficient to iterate once over the list returned by
e_vcard_get_attributes().</para></note></doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">An #EVCardAttribute if found, or %NULL.</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the name of the attribute to get</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_attribute_if_parsed"
c:identifier="e_vcard_get_attribute_if_parsed"
version="3.4">
<doc xml:space="preserve">Similar to e_vcard_get_attribute() but this method will not attempt to
parse the vCard if it is not already parsed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">An #EVCardAttribute if found, or %NULL.</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the name of the attribute to get</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_attributes" c:identifier="e_vcard_get_attributes">
<doc xml:space="preserve">Gets the list of all attributes from @evcard. The list and its
contents are owned by @evcard, and must not be freed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of attributes
of type #EVCardAttribute.</doc>
<type name="GLib.List" c:type="GList*">
<type name="VCardAttribute"/>
</type>
</return-value>
<parameters>
<instance-parameter name="evcard" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
</parameters>
</method>
<method name="is_parsed" c:identifier="e_vcard_is_parsed" version="3.2">
<doc xml:space="preserve">Check if the @evc has been parsed already, as #EVCard implements lazy parsing
of its vCard data. Used for debugging.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if @evc has been parsed, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_attribute" c:identifier="e_vcard_remove_attribute">
<doc xml:space="preserve">Removes @attr from @evc and frees it. This takes ownership of @attr.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">an #EVCard</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttribute to remove</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</parameter>
</parameters>
</method>
<method name="remove_attributes"
c:identifier="e_vcard_remove_attributes">
<doc xml:space="preserve">Removes all the attributes with group name and attribute name equal to the
passed in values. If @attr_group is %NULL or an empty string,
it removes all the attributes with passed in name irrespective of
their group names.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">vcard object</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="attr_group"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">group name of attributes to be removed</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="attr_name" transfer-ownership="none">
<doc xml:space="preserve">name of the arributes to be removed</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="to_string" c:identifier="e_vcard_to_string">
<doc xml:space="preserve">Exports @evc to a string representation, specified
by the @format argument.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated string representing the vcard.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="evc" transfer-ownership="none">
<doc xml:space="preserve">the #EVCard to export</doc>
<type name="VCard" c:type="EVCard*"/>
</instance-parameter>
<parameter name="format" transfer-ownership="none">
<doc xml:space="preserve">the format to export to</doc>
<type name="VCardFormat" c:type="EVCardFormat"/>
</parameter>
</parameters>
</method>
<field name="parent">
<type name="GObject.Object" c:type="GObject"/>
</field>
<field name="priv" readable="0" private="1">
<type name="VCardPrivate" c:type="EVCardPrivate*"/>
</field>
</class>
<record name="VCardAttribute"
c:type="EVCardAttribute"
glib:type-name="EVCardAttribute"
glib:get-type="e_vcard_attribute_get_type"
c:symbol-prefix="vcard_attribute">
<constructor name="new" c:identifier="e_vcard_attribute_new">
<doc xml:space="preserve">Creates a new #EVCardAttribute with the specified group and
attribute names.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EVCardAttribute.</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</return-value>
<parameters>
<parameter name="attr_group"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a group name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="attr_name" transfer-ownership="none">
<doc xml:space="preserve">an attribute name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="add_param" c:identifier="e_vcard_attribute_add_param">
<doc xml:space="preserve">Prepends @param to @attr's list of parameters. This takes ownership of
@param (and all its values).
Duplicate parameters have their values merged, so that all parameter names
in @attr are unique. Values are also merged so that uniqueness is preserved.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="param" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttributeParam to add</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</parameter>
</parameters>
</method>
<method name="add_param_with_value"
c:identifier="e_vcard_attribute_add_param_with_value">
<doc xml:space="preserve">Appends @value to @param, then prepends @param to @attr. This takes ownership
of @param, but not of @value.
This is a convenience method for e_vcard_attribute_param_add_value() and
e_vcard_attribute_add_param().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="param" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a string value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_param_with_values"
c:identifier="e_vcard_attribute_add_param_with_values"
introspectable="0">
<doc xml:space="preserve">Appends the list of values to @param, then prepends @param to @attr. This
takes ownership of @param, but not of the list of values.
This is a convenience method for e_vcard_attribute_param_add_value() and
e_vcard_attribute_add_param().</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="param" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of strings</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="add_value" c:identifier="e_vcard_attribute_add_value">
<doc xml:space="preserve">Appends @value to @attr's list of values.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a string value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_value_decoded"
c:identifier="e_vcard_attribute_add_value_decoded">
<doc xml:space="preserve">Encodes @value according to the encoding used for @attr, and appends it to
@attr's list of values.
This should only be used if the #EVCardAttribute has a non-raw encoding (i.e.
if it’s encoded in base-64 or quoted-printable encoding).</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">an encoded value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="len" transfer-ownership="none">
<doc xml:space="preserve">the length of the encoded value, in bytes</doc>
<type name="gint" c:type="gint"/>
</parameter>
</parameters>
</method>
<method name="add_values"
c:identifier="e_vcard_attribute_add_values"
introspectable="0">
<doc xml:space="preserve">Appends a list of values to @attr.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of strings</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="e_vcard_attribute_copy">
<doc xml:space="preserve">Makes a copy of @attr.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EVCardAttribute identical to @attr.</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">attribute to copy</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="e_vcard_attribute_free">
<doc xml:space="preserve">Frees an attribute, its values and its parameters.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="full">
<doc xml:space="preserve">attribute to free</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_group" c:identifier="e_vcard_attribute_get_group">
<doc xml:space="preserve">Gets the group name of @attr.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The attribute's group name, or %NULL.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_name" c:identifier="e_vcard_attribute_get_name">
<doc xml:space="preserve">Gets the name of @attr.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The attribute's name.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_param" c:identifier="e_vcard_attribute_get_param">
<doc xml:space="preserve">Gets the list of values for the paramater @name from @attr. The list and its
contents are owned by @attr, and must not be freed. If no parameter with the
given @name exists, %NULL is returned.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of string
elements representing the parameter's values, or %NULL.</doc>
<type name="GLib.List" c:type="GList*">
<type name="utf8"/>
</type>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">a parameter name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="get_params" c:identifier="e_vcard_attribute_get_params">
<doc xml:space="preserve">Gets the list of parameters (of type #EVCardAttributeParam) from @attr. The
list and its contents are owned by @attr, and must not be freed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of
elements of type #EVCardAttributeParam.</doc>
<type name="GLib.List" c:type="GList*">
<type name="VCardAttributeParam"/>
</type>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_value" c:identifier="e_vcard_attribute_get_value">
<doc xml:space="preserve">Gets the value of a single-valued #EVCardAttribute, @attr.
For example, for a <code>FN</code> (full name) attribute, this will
return the contact’s full name as a single string.
This will print a warning if called on an #EVCardAttribute which is not
single-valued (i.e. for which e_vcard_attribute_is_single_valued() returns
%FALSE). Use e_vcard_attribute_get_values() in such cases instead.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated string representing
the value, or %NULL if the attribute has no value.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_value_decoded"
c:identifier="e_vcard_attribute_get_value_decoded">
<doc xml:space="preserve">Gets the value of a single-valued #EVCardAttribute, @attr, decoding
it if necessary according to the encoding given in the vCard’s
<code>ENCODING</code> attribute.
This will print a warning if called on an #EVCardAttribute which is not
single-valued (i.e. for which e_vcard_attribute_is_single_valued() returns
%FALSE). Use e_vcard_attribute_get_values_decoded() in such cases instead.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A newly allocated #GString
representing the value, or %NULL if the attribute has no value.</doc>
<type name="GLib.String" c:type="GString*"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_values" c:identifier="e_vcard_attribute_get_values">
<doc xml:space="preserve">Gets the ordered list of values from @attr. The list and its
contents are owned by @attr, and must not be freed.
For example, for an <code>ADR</code> (postal address) attribute, this will
return the components of the postal address.
This may be called on a single-valued attribute (i.e. one for which
e_vcard_attribute_is_single_valued() returns %TRUE) and will return a
one-element list in that case. Alternatively, use
e_vcard_attribute_get_value() in such cases.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of string values. They
will all be non-%NULL, but may be empty strings. The list itself may be
empty.</doc>
<type name="GLib.List" c:type="GList*">
<type name="utf8"/>
</type>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_values_decoded"
c:identifier="e_vcard_attribute_get_values_decoded">
<doc xml:space="preserve">Gets the ordered list of values from @attr, decoding them if
necessary according to the encoding given in the vCard’s
<code>ENCODING</code> attribute. The list and its contents are owned by
@attr, and must not be freed.
This may be called on a single-valued attribute (i.e. one for which
e_vcard_attribute_is_single_valued() returns %TRUE) and will return a
one-element list in that case. Alternatively, use
e_vcard_attribute_get_value_decoded() in such cases.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of values of type #GString.</doc>
<type name="GLib.List" c:type="GList*">
<type name="GLib.String"/>
</type>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="has_type" c:identifier="e_vcard_attribute_has_type">
<doc xml:space="preserve">Checks if @attr has an #EVCardAttributeParam with name %EVC_TYPE and @typestr
as one of its values.
For example, for the vCard attribute:
|[
TEL;TYPE=WORK,VOICE:(111) 555-1212
]|
the following holds true:
|[
g_assert (e_vcard_attribute_has_type (attr, "WORK") == TRUE);
g_assert (e_vcard_attribute_has_type (attr, "voice") == TRUE);
g_assert (e_vcard_attribute_has_type (attr, "HOME") == FALSE);
]|
Comparisons against @typestr are case-insensitive.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if such a parameter exists, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="typestr" transfer-ownership="none">
<doc xml:space="preserve">a string representing the type</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="is_single_valued"
c:identifier="e_vcard_attribute_is_single_valued">
<doc xml:space="preserve">Checks if @attr has a single value.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if the attribute has exactly one value, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_param"
c:identifier="e_vcard_attribute_remove_param"
version="1.12">
<doc xml:space="preserve">Removes and frees parameter @param_name from the attribute @attr. Parameter
names are guaranteed to be unique, so @attr is guaranteed to have no
parameters named @param_name after this function returns.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="param_name" transfer-ownership="none">
<doc xml:space="preserve">a parameter name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="remove_param_value"
c:identifier="e_vcard_attribute_remove_param_value">
<doc xml:space="preserve">Removes the value @s from the parameter @param_name on the attribute @attr.
If @s was the only value for parameter @param_name, that parameter is removed
entirely from @attr and freed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="param_name" transfer-ownership="none">
<doc xml:space="preserve">a parameter name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="s" transfer-ownership="none">
<doc xml:space="preserve">a value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="remove_params"
c:identifier="e_vcard_attribute_remove_params">
<doc xml:space="preserve">Removes and frees all parameters from @attr.
This also resets the #EVCardAttribute's encoding back to raw.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_value"
c:identifier="e_vcard_attribute_remove_value">
<doc xml:space="preserve">Removes value @s from the value list in @attr. The value @s is not freed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
<parameter name="s" transfer-ownership="none">
<doc xml:space="preserve">a value to remove</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="remove_values"
c:identifier="e_vcard_attribute_remove_values">
<doc xml:space="preserve">Removes and frees all values from @attr.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="attr" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttribute</doc>
<type name="VCardAttribute" c:type="EVCardAttribute*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="VCardAttributeParam"
c:type="EVCardAttributeParam"
glib:type-name="EVCardAttributeParam"
glib:get-type="e_vcard_attribute_param_get_type"
c:symbol-prefix="vcard_attribute_param">
<constructor name="new" c:identifier="e_vcard_attribute_param_new">
<doc xml:space="preserve">Creates a new parameter named @name.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EVCardAttributeParam.</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve">the name of the new parameter</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</constructor>
<method name="add_value"
c:identifier="e_vcard_attribute_param_add_value">
<doc xml:space="preserve">Appends @value to @param's list of values.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a string value to add</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</method>
<method name="add_values"
c:identifier="e_vcard_attribute_param_add_values"
introspectable="0">
<doc xml:space="preserve">Appends a list of values to @param.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve">a %NULL-terminated list of strings</doc>
<varargs/>
</parameter>
</parameters>
</method>
<method name="copy" c:identifier="e_vcard_attribute_param_copy">
<doc xml:space="preserve">Makes a copy of @param and all its values.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #EVCardAttributeParam identical to @param.</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
</parameters>
</method>
<method name="free" c:identifier="e_vcard_attribute_param_free">
<doc xml:space="preserve">Frees @param and its values.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="full">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_name" c:identifier="e_vcard_attribute_param_get_name">
<doc xml:space="preserve">Gets the name of @param.
For example, for the only parameter of the vCard attribute:
|[
TEL;TYPE=WORK,VOICE:(111) 555-1212
]|
this would return <code>TYPE</code> (which is string-equivalent to
%EVC_TYPE).</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The name of the parameter.</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_values"
c:identifier="e_vcard_attribute_param_get_values">
<doc xml:space="preserve">Gets the list of values from @param. The list and its
contents are owned by @param, and must not be freed.
For example, for the <code>TYPE</code> parameter of the vCard attribute:
|[
TEL;TYPE=WORK,VOICE:(111) 555-1212
]|
this would return the list <code>WORK</code>, <code>VOICE</code>.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">A list of string elements
representing the parameter's values.</doc>
<type name="GLib.List" c:type="GList*">
<type name="utf8"/>
</type>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
</parameters>
</method>
<method name="remove_values"
c:identifier="e_vcard_attribute_param_remove_values">
<doc xml:space="preserve">Removes and frees all values from @param.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameters>
<instance-parameter name="param" transfer-ownership="none">
<doc xml:space="preserve">an #EVCardAttributeParam</doc>
<type name="VCardAttributeParam" c:type="EVCardAttributeParam*"/>
</instance-parameter>
</parameters>
</method>
</record>
<record name="VCardClass"
c:type="EVCardClass"
glib:is-gtype-struct-for="VCard">
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="_ebook_reserved0" introspectable="0">
<callback name="_ebook_reserved0">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved1" introspectable="0">
<callback name="_ebook_reserved1">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved2" introspectable="0">
<callback name="_ebook_reserved2">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved3" introspectable="0">
<callback name="_ebook_reserved3">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
<field name="_ebook_reserved4" introspectable="0">
<callback name="_ebook_reserved4">
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</callback>
</field>
</record>
<enumeration name="VCardFormat" c:type="EVCardFormat">
<member name="21" value="0" c:identifier="EVC_FORMAT_VCARD_21">
</member>
<member name="30" value="1" c:identifier="EVC_FORMAT_VCARD_30">
</member>
</enumeration>
<record name="VCardPrivate" c:type="EVCardPrivate" disguised="1">
</record>
<function name="book_client_error_create"
c:identifier="e_book_client_error_create"
moved-to="BookClientError.create"
version="3.2"
deprecated="1"
deprecated-version="3.8">
<doc-deprecated xml:space="preserve">Just use the #GError API directly.</doc-deprecated>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new #GError containing an E_BOOK_CLIENT_ERROR of the given
@code. If the @custom_msg is NULL, then the error message is
the one returned from e_book_client_error_to_string() for the @code,
otherwise the given message is used.
Returned pointer should be freed with g_error_free().</doc>
<type name="GLib.Error" c:type="GError*"/>
</return-value>
<parameters>
<parameter name="code" transfer-ownership="none">
<doc xml:space="preserve">an #EBookClientError code to create</doc>
<type name="BookClientError" c:type="EBookClientError"/>
</parameter>
<parameter name="custom_msg" transfer-ownership="none">
<doc xml:space="preserve">custom message to use for the error; can be %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="book_client_error_quark"
c:identifier="e_book_client_error_quark"
moved-to="BookClientError.quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="book_client_error_to_string"
c:identifier="e_book_client_error_to_string"
moved-to="BookClientError.to_string"
version="3.2">
<doc xml:space="preserve">FIXME: Document me.</doc>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<parameter name="code" transfer-ownership="none">
<doc xml:space="preserve">an #EBookClientError code</doc>
<type name="BookClientError" c:type="EBookClientError"/>
</parameter>
</parameters>
</function>
<function name="book_query_and"
c:identifier="e_book_query_and"
moved-to="BookQuery.and">
<doc xml:space="preserve">Create a new #EBookQuery which is the logical AND of the queries in #qs.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="nqs" transfer-ownership="none">
<doc xml:space="preserve">the number of queries to AND</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="qs" transfer-ownership="none">
<doc xml:space="preserve">pointer to an array of #EBookQuery items</doc>
<type name="BookQuery" c:type="EBookQuery**"/>
</parameter>
<parameter name="unref" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE, the new query takes ownership of the existing queries</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<function name="book_query_any_field_contains"
c:identifier="e_book_query_any_field_contains"
moved-to="BookQuery.any_field_contains">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if any field contains @value.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">a value</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="book_query_field_exists"
c:identifier="e_book_query_field_exists"
moved-to="BookQuery.field_exists">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if the field @field exists.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a #EContactField</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
</parameters>
</function>
<function name="book_query_field_test"
c:identifier="e_book_query_field_test"
moved-to="BookQuery.field_test">
<doc xml:space="preserve">Creates a new #EBookQuery which tests @field for @value using the test @test.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">an #EContactField to test</doc>
<type name="ContactField" c:type="EContactField"/>
</parameter>
<parameter name="test" transfer-ownership="none">
<doc xml:space="preserve">the test to apply</doc>
<type name="BookQueryTest" c:type="EBookQueryTest"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value to test for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="book_query_from_string"
c:identifier="e_book_query_from_string"
moved-to="BookQuery.from_string">
<doc xml:space="preserve">Parse @query_string and return a new #EBookQuery representing it.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery.</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="query_string" transfer-ownership="none">
<doc xml:space="preserve">the query</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="book_query_or"
c:identifier="e_book_query_or"
moved-to="BookQuery.or">
<doc xml:space="preserve">Creates a new #EBookQuery which is the logical OR of the queries in #qs.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="nqs" transfer-ownership="none">
<doc xml:space="preserve">the number of queries to OR</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="qs" transfer-ownership="none">
<doc xml:space="preserve">pointer to an array of #EBookQuery items</doc>
<type name="BookQuery" c:type="EBookQuery**"/>
</parameter>
<parameter name="unref" transfer-ownership="none">
<doc xml:space="preserve">if %TRUE, the new query takes ownership of the existing queries</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
</function>
<function name="book_query_vcard_field_exists"
c:identifier="e_book_query_vcard_field_exists"
moved-to="BookQuery.vcard_field_exists">
<doc xml:space="preserve">Creates a new #EBookQuery which tests if the field @field exists. @field
should be a vCard field name, such as #FN or #X-MSN.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a field name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="book_query_vcard_field_test"
c:identifier="e_book_query_vcard_field_test"
moved-to="BookQuery.vcard_field_test"
version="2.22">
<doc xml:space="preserve">Creates a new #EBookQuery which tests @field for @value using the test @test.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">the new #EBookQuery</doc>
<type name="BookQuery" c:type="EBookQuery*"/>
</return-value>
<parameters>
<parameter name="field" transfer-ownership="none">
<doc xml:space="preserve">a EVCard field name to test</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="test" transfer-ownership="none">
<doc xml:space="preserve">the test to apply</doc>
<type name="BookQueryTest" c:type="EBookQueryTest"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve">the value to test for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="contact_date_from_string"
c:identifier="e_contact_date_from_string"
moved-to="ContactDate.from_string">
<doc xml:space="preserve">Creates a new #EContactDate based on @str.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactDate struct.</doc>
<type name="ContactDate" c:type="EContactDate*"/>
</return-value>
<parameters>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve">a date string in the format YYYY-MM-DD or YYYYMMDD</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="contact_name_from_string"
c:identifier="e_contact_name_from_string"
moved-to="ContactName.from_string">
<doc xml:space="preserve">Creates a new #EContactName based on the parsed @name_str.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">A new #EContactName struct.</doc>
<type name="ContactName" c:type="EContactName*"/>
</return-value>
<parameters>
<parameter name="name_str" transfer-ownership="none">
<doc xml:space="preserve">a string representing a contact's full name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="phone_number_compare_strings"
c:identifier="e_phone_number_compare_strings"
moved-to="PhoneNumber.compare_strings"
version="3.8"
throws="1">
<doc xml:space="preserve">Compares two phone numbers.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The quality of matching for the two phone numbers.</doc>
<type name="PhoneNumberMatch" c:type="EPhoneNumberMatch"/>
</return-value>
<parameters>
<parameter name="first_number" transfer-ownership="none">
<doc xml:space="preserve">the first EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="second_number" transfer-ownership="none">
<doc xml:space="preserve">the second EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="phone_number_compare_strings_with_region"
c:identifier="e_phone_number_compare_strings_with_region"
moved-to="PhoneNumber.compare_strings_with_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Compares two phone numbers within the context of @region_code.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">The quality of matching for the two phone numbers.</doc>
<type name="PhoneNumberMatch" c:type="EPhoneNumberMatch"/>
</return-value>
<parameters>
<parameter name="first_number" transfer-ownership="none">
<doc xml:space="preserve">the first EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="second_number" transfer-ownership="none">
<doc xml:space="preserve">the second EPhoneNumber to compare</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="phone_number_error_quark"
c:identifier="e_phone_number_error_quark"
moved-to="PhoneNumber.error_quark">
<return-value transfer-ownership="none">
<type name="GLib.Quark" c:type="GQuark"/>
</return-value>
</function>
<function name="phone_number_from_string"
c:identifier="e_phone_number_from_string"
moved-to="PhoneNumber.from_string"
version="3.8"
throws="1">
<doc xml:space="preserve">Parses the string passed in @phone_number. Note that no validation is
performed whether the recognized phone number is valid for a particular
region.
The two-letter country code passed in @region_code only is used if the
@phone_number is not written in international format. The application's
default region as returned by e_phone_number_get_default_region() is used
if @region_code is %NULL.
If the number is guaranteed to start with a '+' followed by the country
calling code, then "ZZ" can be passed for @region_code.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a new EPhoneNumber instance on success,
or %NULL on error. Call e_phone_number_free() to release this instance.</doc>
<type name="PhoneNumber" c:type="EPhoneNumber*"/>
</return-value>
<parameters>
<parameter name="phone_number" transfer-ownership="none">
<doc xml:space="preserve">the phone number to parse</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="phone_number_get_country_code_for_region"
c:identifier="e_phone_number_get_country_code_for_region"
moved-to="PhoneNumber.get_country_code_for_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Retrieves the preferred country calling code for @region_code,
e.g. 358 for "fi" or 1 for "en_US@UTF-8".
If %NULL is passed for @region_code the default region as returned by
e_phone_number_get_default_region() is used.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">a valid country calling code, or zero if an unknown region
code was passed.</doc>
<type name="gint" c:type="gint"/>
</return-value>
<parameters>
<parameter name="region_code"
transfer-ownership="none"
nullable="1"
allow-none="1">
<doc xml:space="preserve">a two-letter country code, a locale name, or
%NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
<function name="phone_number_get_default_region"
c:identifier="e_phone_number_get_default_region"
moved-to="PhoneNumber.get_default_region"
version="3.8"
throws="1">
<doc xml:space="preserve">Retrieves the current two-letter country code that's used by default for
parsing phone numbers in e_phone_number_from_string(). It can be useful
to store this number before parsing a bigger number of phone numbers.
The result of this functions depends on the current setup of the
%LC_ADDRESS category: If that category provides a reasonable value
for %_NL_ADDRESS_COUNTRY_AB2 this value is returned. Otherwise the
locale name configured for %LC_ADDRESS is parsed.</doc>
<return-value transfer-ownership="full">
<doc xml:space="preserve">a newly allocated string containing the
current locale's two-letter code for phone number parsing.</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
</function>
<function name="phone_number_is_supported"
c:identifier="e_phone_number_is_supported"
moved-to="PhoneNumber.is_supported"
version="3.8">
<doc xml:space="preserve">Checks if phone number support is available. It is recommended to call this
function before using any of the phone-utils functions to ensure that the
required functionality is available, and to pick alternative mechnisms if
needed.</doc>
<return-value transfer-ownership="none">
<doc xml:space="preserve">%TRUE if phone number support is available.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
</function>
</namespace>
</repository>
|