/usr/share/gtk-doc/html/evolution-data-server/evolution-data-server-ECache.html is in evolution-data-server-doc 3.28.1-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ECache: Evolution-Data-Server Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="Evolution-Data-Server Reference Manual">
<link rel="up" href="ch06.html" title="Abstract Classes for Backends">
<link rel="prev" href="evolution-data-server-EBackendFactory.html" title="EBackendFactory">
<link rel="next" href="evolution-data-server-EDataFactory.html" title="EDataFactory">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#evolution-data-server-ECache.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="evolution-data-server-EBackendFactory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="evolution-data-server-EDataFactory.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="evolution-data-server-ECache"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="evolution-data-server-ECache.top_of_page"></a>ECache</span></h2>
<p>ECache — An SQLite data cache</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="evolution-data-server-ECache.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-error-quark" title="e_cache_error_quark ()">e_cache_error_quark</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ECacheColumnValues</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-new" title="e_cache_column_values_new ()">e_cache_column_values_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ECacheColumnValues</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-copy" title="e_cache_column_values_copy ()">e_cache_column_values_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-free" title="e_cache_column_values_free ()">e_cache_column_values_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-put" title="e_cache_column_values_put ()">e_cache_column_values_put</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-take-value" title="e_cache_column_values_take_value ()">e_cache_column_values_take_value</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-take" title="e_cache_column_values_take ()">e_cache_column_values_take</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-contains" title="e_cache_column_values_contains ()">e_cache_column_values_contains</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-remove" title="e_cache_column_values_remove ()">e_cache_column_values_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-remove-all" title="e_cache_column_values_remove_all ()">e_cache_column_values_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-lookup" title="e_cache_column_values_lookup ()">e_cache_column_values_lookup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-get-size" title="e_cache_column_values_get_size ()">e_cache_column_values_get_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-init-iter" title="e_cache_column_values_init_iter ()">e_cache_column_values_init_iter</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="returnvalue">ECacheOfflineChange</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-new" title="e_cache_offline_change_new ()">e_cache_offline_change_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="returnvalue">ECacheOfflineChange</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-copy" title="e_cache_offline_change_copy ()">e_cache_offline_change_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-free" title="e_cache_offline_change_free ()">e_cache_offline_change_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ECacheColumnInfo</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-new" title="e_cache_column_info_new ()">e_cache_column_info_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">ECacheColumnInfo</span> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-copy" title="e_cache_column_info_copy ()">e_cache_column_info_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-free" title="e_cache_column_info_free ()">e_cache_column_info_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="evolution-data-server-ECache.html#ECacheForeachFunc" title="ECacheForeachFunc ()">*ECacheForeachFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="evolution-data-server-ECache.html#ECacheUpdateFunc" title="ECacheUpdateFunc ()">*ECacheUpdateFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="evolution-data-server-ECache.html#ECacheSelectFunc" title="ECacheSelectFunc ()">*ECacheSelectFunc</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-initialize-sync" title="e_cache_initialize_sync ()">e_cache_initialize_sync</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-filename" title="e_cache_get_filename ()">e_cache_get_filename</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-version" title="e_cache_get_version ()">e_cache_get_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-set-version" title="e_cache_set_version ()">e_cache_set_version</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-dup-revision" title="e_cache_dup_revision ()">e_cache_dup_revision</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-set-revision" title="e_cache_set_revision ()">e_cache_set_revision</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-change-revision" title="e_cache_change_revision ()">e_cache_change_revision</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-freeze-revision-change" title="e_cache_freeze_revision_change ()">e_cache_freeze_revision_change</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-thaw-revision-change" title="e_cache_thaw_revision_change ()">e_cache_thaw_revision_change</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-is-revision-change-frozen" title="e_cache_is_revision_change_frozen ()">e_cache_is_revision_change_frozen</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-erase" title="e_cache_erase ()">e_cache_erase</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-contains" title="e_cache_contains ()">e_cache_contains</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get" title="e_cache_get ()">e_cache_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-put" title="e_cache_put ()">e_cache_put</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-remove" title="e_cache_remove ()">e_cache_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-remove-all" title="e_cache_remove_all ()">e_cache_remove_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-count" title="e_cache_get_count ()">e_cache_get_count</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-uids" title="e_cache_get_uids ()">e_cache_get_uids</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-objects" title="e_cache_get_objects ()">e_cache_get_objects</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-foreach" title="e_cache_foreach ()">e_cache_foreach</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-foreach-update" title="e_cache_foreach_update ()">e_cache_foreach_update</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="returnvalue">EOfflineState</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-offline-state" title="e_cache_get_offline_state ()">e_cache_get_offline_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-set-offline-state" title="e_cache_set_offline_state ()">e_cache_set_offline_state</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-offline-changes" title="e_cache_get_offline_changes ()">e_cache_get_offline_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-clear-offline-changes" title="e_cache_clear_offline_changes ()">e_cache_clear_offline_changes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-set-key" title="e_cache_set_key ()">e_cache_set_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-dup-key" title="e_cache_dup_key ()">e_cache_dup_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-set-key-int" title="e_cache_set_key_int ()">e_cache_set_key_int</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-key-int" title="e_cache_get_key_int ()">e_cache_get_key_int</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-lock" title="e_cache_lock ()">e_cache_lock</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-unlock" title="e_cache_unlock ()">e_cache_unlock</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-get-sqlitedb" title="e_cache_get_sqlitedb ()">e_cache_get_sqlitedb</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-exec" title="e_cache_sqlite_exec ()">e_cache_sqlite_exec</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-select" title="e_cache_sqlite_select ()">e_cache_sqlite_select</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-maybe-vacuum" title="e_cache_sqlite_maybe_vacuum ()">e_cache_sqlite_maybe_vacuum</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-stmt-append-printf" title="e_cache_sqlite_stmt_append_printf ()">e_cache_sqlite_stmt_append_printf</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-stmt-printf" title="e_cache_sqlite_stmt_printf ()">e_cache_sqlite_stmt_printf</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-stmt-free" title="e_cache_sqlite_stmt_free ()">e_cache_sqlite_stmt_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="evolution-data-server-ECache.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-TABLE-OBJECTS:CAPS" title="E_CACHE_TABLE_OBJECTS">E_CACHE_TABLE_OBJECTS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-TABLE-KEYS:CAPS" title="E_CACHE_TABLE_KEYS">E_CACHE_TABLE_KEYS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-COLUMN-UID:CAPS" title="E_CACHE_COLUMN_UID">E_CACHE_COLUMN_UID</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-COLUMN-REVISION:CAPS" title="E_CACHE_COLUMN_REVISION">E_CACHE_COLUMN_REVISION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-COLUMN-OBJECT:CAPS" title="E_CACHE_COLUMN_OBJECT">E_CACHE_COLUMN_OBJECT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-COLUMN-STATE:CAPS" title="E_CACHE_COLUMN_STATE">E_CACHE_COLUMN_STATE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#E-CACHE-ERROR:CAPS" title="E_CACHE_ERROR">E_CACHE_ERROR</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheError" title="enum ECacheError">ECacheError</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange">ECacheOfflineChange</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheLockType" title="enum ECacheLockType">ECacheLockType</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheUnlockAction" title="enum ECacheUnlockAction">ECacheUnlockAction</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag">ECacheDeletedFlag</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineFlag" title="enum ECacheOfflineFlag">ECacheOfflineFlag</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache">ECache</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="evolution-data-server-ECache.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include <libebackend/libebackend.h>
</pre>
</div>
<div class="refsect1">
<a name="evolution-data-server-ECache.description"></a><h2>Description</h2>
<p>The <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> is an abstract class which consists of the common
parts which can be used by its descendants. It also allows
storing offline state for the stored objects.</p>
<p>The API is thread safe, with special considerations to be made
around <a class="link" href="evolution-data-server-ECache.html#e-cache-lock" title="e_cache_lock ()"><code class="function">e_cache_lock()</code></a> and <a class="link" href="evolution-data-server-ECache.html#e-cache-unlock" title="e_cache_unlock ()"><code class="function">e_cache_unlock()</code></a> for
the sake of isolating transactions across threads.</p>
</div>
<div class="refsect1">
<a name="evolution-data-server-ECache.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="e-cache-error-quark"></a><h3>e_cache_error_quark ()</h3>
<pre class="programlisting"><a href="../glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a>
e_cache_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-new"></a><h3>e_cache_column_values_new ()</h3>
<pre class="programlisting"><span class="returnvalue">ECacheColumnValues</span> *
e_cache_column_values_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <span class="type">ECacheColumnValues</span> to store values for additional columns.
The column names are compared case insensitively.</p>
<div class="refsect3">
<a name="e-cache-column-values-new.returns"></a><h4>Returns</h4>
<p>a new <span class="type">ECacheColumnValues</span>. Free with <a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-free" title="e_cache_column_values_free ()"><code class="function">e_cache_column_values_free()</code></a>,
when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-copy"></a><h3>e_cache_column_values_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">ECacheColumnValues</span> *
e_cache_column_values_copy (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-column-values-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-values-copy.returns"></a><h4>Returns</h4>
<p>Copy of the <em class="parameter"><code>other_columns</code></em>
. Free with
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-free" title="e_cache_column_values_free ()"><code class="function">e_cache_column_values_free()</code></a>, when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-free"></a><h3>e_cache_column_values_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_free (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>);</pre>
<p>Frees previously allocated <em class="parameter"><code>other_columns</code></em>
with
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-new" title="e_cache_column_values_new ()"><code class="function">e_cache_column_values_new()</code></a> or <a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-copy" title="e_cache_column_values_copy ()"><code class="function">e_cache_column_values_copy()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-column-values-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-put"></a><h3>e_cache_column_values_put ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_put (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
<p>Puts the <em class="parameter"><code>value</code></em>
for column <em class="parameter"><code>name</code></em>
. If contains a value for the same
column, then it is replaced. This creates a copy of both <em class="parameter"><code>name</code></em>
and <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-column-values-put.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a column value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-take-value"></a><h3>e_cache_column_values_take_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_take_value (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
<p>Puts the <em class="parameter"><code>value</code></em>
for column <em class="parameter"><code>name</code></em>
. If contains a value for the same
column, then it is replaced. This creates a copy of the <em class="parameter"><code>name</code></em>
, but
takes owner ship of the <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-column-values-take-value.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a column value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-take"></a><h3>e_cache_column_values_take ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_take (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
<p>Puts the <em class="parameter"><code>value</code></em>
for column <em class="parameter"><code>name</code></em>
. If contains a value for the same
column, then it is replaced. This creates takes ownership of both
the <em class="parameter"><code>name</code></em>
and the <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-column-values-take.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a column value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Parameter for input. Default is transfer none."><span class="acronym">in</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-contains"></a><h3>e_cache_column_values_contains ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_column_values_contains (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-column-values-contains.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-values-contains.returns"></a><h4>Returns</h4>
<p> Whether <em class="parameter"><code>other_columns</code></em>
contains column named <em class="parameter"><code>name</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-remove"></a><h3>e_cache_column_values_remove ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_column_values_remove (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Removes value for the column named <em class="parameter"><code>name</code></em>
from <em class="parameter"><code>other_columns</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-column-values-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-values-remove.returns"></a><h4>Returns</h4>
<p> Whether such column existed and had been removed.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-remove-all"></a><h3>e_cache_column_values_remove_all ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_remove_all (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>);</pre>
<p>Removes all values from the <em class="parameter"><code>other_columns</code></em>
, leaving it empty.</p>
<div class="refsect3">
<a name="e-cache-column-values-remove-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-lookup"></a><h3>e_cache_column_values_lookup ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_column_values_lookup (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>);</pre>
<p>Looks up currently stored value for the column named <em class="parameter"><code>name</code></em>
.
As the values can be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> one cannot distinguish between
a column which doesn't have stored any value and a column
which has stored <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> value. Use <a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-contains" title="e_cache_column_values_contains ()"><code class="function">e_cache_column_values_contains()</code></a>
to check whether such column exitst in the <em class="parameter"><code>other_columns</code></em>
.
The returned pointer is owned by <em class="parameter"><code>other_columns</code></em>
and is valid until
the value is overwritten of the <em class="parameter"><code>other_columns</code></em>
freed.</p>
<div class="refsect3">
<a name="e-cache-column-values-lookup.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-values-lookup.returns"></a><h4>Returns</h4>
<p> Stored value for the column named <em class="parameter"><code>name</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, if
no such column values is stored.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-get-size"></a><h3>e_cache_column_values_get_size ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
e_cache_column_values_get_size (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-column-values-get-size.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-values-get-size.returns"></a><h4>Returns</h4>
<p> How many columns are stored in the <em class="parameter"><code>other_columns</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-values-init-iter"></a><h3>e_cache_column_values_init_iter ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_values_init_iter (<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code><a href="../glib/glib-Hash-Tables.html#GHashTableIter"><span class="type">GHashTableIter</span></a> *iter</code></em>);</pre>
<p>Initialized the <em class="parameter"><code>iter</code></em>
, thus the <em class="parameter"><code>other_columns</code></em>
can be traversed
with <a href="../glib/glib-Hash-Tables.html#g-hash-table-iter-next"><code class="function">g_hash_table_iter_next()</code></a>. The key is a column name and
the value is the corresponding column value.</p>
<div class="refsect3">
<a name="e-cache-column-values-init-iter.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>iter</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Hash-Tables.html#GHashTableIter"><span class="type">GHashTableIter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-offline-change-new"></a><h3>e_cache_offline_change_new ()</h3>
<pre class="programlisting"><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="returnvalue">ECacheOfflineChange</span></a> *
e_cache_offline_change_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *revision</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> state</code></em>);</pre>
<p>Creates a new <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a> with the offline <em class="parameter"><code>state</code></em>
information for the given <em class="parameter"><code>uid</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-offline-change-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique object identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>revision</p></td>
<td class="parameter_description"><p>a revision of the object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>object itself. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-offline-change-new.returns"></a><h4>Returns</h4>
<p>A new <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a>. Free it with
<a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-free" title="e_cache_offline_change_free ()"><code class="function">e_cache_offline_change_free()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-offline-change-copy"></a><h3>e_cache_offline_change_copy ()</h3>
<pre class="programlisting"><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="returnvalue">ECacheOfflineChange</span></a> *
e_cache_offline_change_copy (<em class="parameter"><code>const <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a> *change</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-offline-change-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>change</p></td>
<td class="parameter_description"><p>a source <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a> to copy, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-offline-change-copy.returns"></a><h4>Returns</h4>
<p>Copy of the given <em class="parameter"><code>change</code></em>
. Free it with
<a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-free" title="e_cache_offline_change_free ()"><code class="function">e_cache_offline_change_free()</code></a> when no longer needed.
If the <em class="parameter"><code>change</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as well. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-offline-change-free"></a><h3>e_cache_offline_change_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_offline_change_free (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> change</code></em>);</pre>
<p>Frees the <em class="parameter"><code>change</code></em>
structure, previously allocated with <a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-new" title="e_cache_offline_change_new ()"><code class="function">e_cache_offline_change_new()</code></a>
or <a class="link" href="evolution-data-server-ECache.html#e-cache-offline-change-copy" title="e_cache_offline_change_copy ()"><code class="function">e_cache_offline_change_copy()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-offline-change-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>change</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-info-new"></a><h3>e_cache_column_info_new ()</h3>
<pre class="programlisting"><span class="returnvalue">ECacheColumnInfo</span> *
e_cache_column_info_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *name</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *type</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *index_name</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-column-info-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>name</p></td>
<td class="parameter_description"><p>a column name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>a column type</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>index_name</p></td>
<td class="parameter_description"><p>an index name for this column, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-info-new.returns"></a><h4>Returns</h4>
<p>A new <span class="type">ECacheColumnInfo</span>. Free it with
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-free" title="e_cache_column_info_free ()"><code class="function">e_cache_column_info_free()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-info-copy"></a><h3>e_cache_column_info_copy ()</h3>
<pre class="programlisting"><span class="returnvalue">ECacheColumnInfo</span> *
e_cache_column_info_copy (<em class="parameter"><code>const <span class="type">ECacheColumnInfo</span> *info</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-column-info-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a source <span class="type">ECacheColumnInfo</span> to copy, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-column-info-copy.returns"></a><h4>Returns</h4>
<p>Copy of the given <em class="parameter"><code>info</code></em>
. Free it with
<a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-free" title="e_cache_column_info_free ()"><code class="function">e_cache_column_info_free()</code></a> when no longer needed.
If the <em class="parameter"><code>info</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> as well. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-column-info-free"></a><h3>e_cache_column_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_column_info_free (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> info</code></em>);</pre>
<p>Frees the <em class="parameter"><code>info</code></em>
structure, previously allocated with <a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-new" title="e_cache_column_info_new ()"><code class="function">e_cache_column_info_new()</code></a>
or <a class="link" href="evolution-data-server-ECache.html#e-cache-column-info-copy" title="e_cache_column_info_copy ()"><code class="function">e_cache_column_info_copy()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-column-info-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnInfo</span>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheForeachFunc"></a><h3>ECacheForeachFunc ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*ECacheForeachFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *revision</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> offline_state</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncols</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_names[]</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_values[]</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>A callback called for each object row when using <a class="link" href="evolution-data-server-ECache.html#e-cache-foreach" title="e_cache_foreach ()"><code class="function">e_cache_foreach()</code></a> function.</p>
<div class="refsect3">
<a name="ECacheForeachFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique object identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>revision</p></td>
<td class="parameter_description"><p>the object revision</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object itself</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>offline_state</p></td>
<td class="parameter_description"><p>objects offline state, one of <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ncols</p></td>
<td class="parameter_description"><p>count of columns, items in column_names and column_values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_names</p></td>
<td class="parameter_description"><p>column names</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_values</p></td>
<td class="parameter_description"><p>column values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data, as used in <a class="link" href="evolution-data-server-ECache.html#e-cache-foreach" title="e_cache_foreach ()"><code class="function">e_cache_foreach()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ECacheForeachFunc.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to continue, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to stop walk through.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheUpdateFunc"></a><h3>ECacheUpdateFunc ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*ECacheUpdateFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *revision</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> offline_state</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncols</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_names[]</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_values[]</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_revision</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_object</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> *out_offline_state</code></em>,
<em class="parameter"><code><span class="type">ECacheColumnValues</span> **out_other_columns</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>A callback called for each object row when using <a class="link" href="evolution-data-server-ECache.html#e-cache-foreach-update" title="e_cache_foreach_update ()"><code class="function">e_cache_foreach_update()</code></a> function.
When all out parameters are left untouched, then the row is not changed.</p>
<div class="refsect3">
<a name="ECacheUpdateFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique object identifier</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>revision</p></td>
<td class="parameter_description"><p>the object revision</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object itself</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>offline_state</p></td>
<td class="parameter_description"><p>objects offline state, one of <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ncols</p></td>
<td class="parameter_description"><p>count of columns, items in column_names and column_values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_names</p></td>
<td class="parameter_description"><p>column names</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_values</p></td>
<td class="parameter_description"><p>column values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_revision</p></td>
<td class="parameter_description"><p>the new object revision to set; keep it untouched to not change. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_object</p></td>
<td class="parameter_description"><p>the new object to set; keep it untouched to not change. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_offline_state</p></td>
<td class="parameter_description"><p>the offline state to set; the default is the same as <em class="parameter"><code>offline_state</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span> with other columns to set; keep it untouched to not change any. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data, as used in <a class="link" href="evolution-data-server-ECache.html#e-cache-foreach-update" title="e_cache_foreach_update ()"><code class="function">e_cache_foreach_update()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ECacheUpdateFunc.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to continue, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to stop walk through.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheSelectFunc"></a><h3>ECacheSelectFunc ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*ECacheSelectFunc<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> ncols</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_names[]</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *column_values[]</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>A callback called for each row of a SELECT statement executed
with <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-select" title="e_cache_sqlite_select ()"><code class="function">e_cache_sqlite_select()</code></a> function.</p>
<div class="refsect3">
<a name="ECacheSelectFunc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>ncols</p></td>
<td class="parameter_description"><p>count of columns, items in column_names and column_values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_names</p></td>
<td class="parameter_description"><p>column names</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>column_values</p></td>
<td class="parameter_description"><p>column values</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data, as used in <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-select" title="e_cache_sqlite_select ()"><code class="function">e_cache_sqlite_select()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="ECacheSelectFunc.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to continue, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to stop walk through.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-initialize-sync"></a><h3>e_cache_initialize_sync ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_initialize_sync (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *other_columns</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Initializes the <em class="parameter"><code>cache</code></em>
and opens the <em class="parameter"><code>filename</code></em>
database.
This should be called by the descendant.</p>
<p>The <em class="parameter"><code>other_columns</code></em>
are added to the objects table (<em class="parameter"><code>E_CACHE_TABLE_OBJECTS</code></em>
).
Values for these columns are returned by <a class="link" href="evolution-data-server-ECache.html#e-cache-get" title="e_cache_get ()"><code class="function">e_cache_get()</code></a>
and can be stored with <a class="link" href="evolution-data-server-ECache.html#e-cache-put" title="e_cache_put ()"><code class="function">e_cache_put()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-initialize-sync.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>filename</p></td>
<td class="parameter_description"><p>a filename of an SQLite database to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an optional
<a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> with additional columns to add to the objects table. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ECacheColumnInfo][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-initialize-sync.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-filename"></a><h3>e_cache_get_filename ()</h3>
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_get_filename (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-get-filename.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-filename.returns"></a><h4>Returns</h4>
<p> a filename of the <em class="parameter"><code>cache</code></em>
, with which it had been initialized.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-version"></a><h3>e_cache_get_version ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
e_cache_get_version (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-get-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-version.returns"></a><h4>Returns</h4>
<p> A cache data version. This is meant to be used by the descendants.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-set-version"></a><h3>e_cache_set_version ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_set_version (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> version</code></em>);</pre>
<p>Sets a cache data version. This is meant to be used by the descendants.
The <em class="parameter"><code>version</code></em>
should be greater than zero.</p>
<div class="refsect3">
<a name="e-cache-set-version.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>version</p></td>
<td class="parameter_description"><p>a cache data version to set</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-dup-revision"></a><h3>e_cache_dup_revision ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_dup_revision (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-dup-revision.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-dup-revision.returns"></a><h4>Returns</h4>
<p>A revision of the whole <em class="parameter"><code>cache</code></em>
. This is meant to be
used by the descendants. Free the returned pointer with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>, when no
longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-set-revision"></a><h3>e_cache_set_revision ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_set_revision (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *revision</code></em>);</pre>
<p>Sets the <em class="parameter"><code>revision</code></em>
of the whole <em class="parameter"><code>cache</code></em>
. This is not meant to be
used by the descendants, because the revision is updated automatically
when needed. The descendants can listen to "revision-changed" signal.</p>
<div class="refsect3">
<a name="e-cache-set-revision.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>revision</p></td>
<td class="parameter_description"><p>a revision to set; use <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-change-revision"></a><h3>e_cache_change_revision ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_change_revision (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<p>Instructs the <em class="parameter"><code>cache</code></em>
to change its revision. In case the revision
change is frozen with <a class="link" href="evolution-data-server-ECache.html#e-cache-freeze-revision-change" title="e_cache_freeze_revision_change ()"><code class="function">e_cache_freeze_revision_change()</code></a> it notes to
change the revision once the revision change is fully thaw.</p>
<div class="refsect3">
<a name="e-cache-change-revision.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-freeze-revision-change"></a><h3>e_cache_freeze_revision_change ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_freeze_revision_change (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<p>Freezes automatic revision change for the <em class="parameter"><code>cache</code></em>
. The function
can be called multiple times, but each such call requires its
pair function <a class="link" href="evolution-data-server-ECache.html#e-cache-thaw-revision-change" title="e_cache_thaw_revision_change ()"><code class="function">e_cache_thaw_revision_change()</code></a> call. See also
<a class="link" href="evolution-data-server-ECache.html#e-cache-change-revision" title="e_cache_change_revision ()"><code class="function">e_cache_change_revision()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-freeze-revision-change.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-thaw-revision-change"></a><h3>e_cache_thaw_revision_change ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_thaw_revision_change (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<p>Thaws automatic revision change for the <em class="parameter"><code>cache</code></em>
. It's the pair
function of <a class="link" href="evolution-data-server-ECache.html#e-cache-freeze-revision-change" title="e_cache_freeze_revision_change ()"><code class="function">e_cache_freeze_revision_change()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-thaw-revision-change.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-is-revision-change-frozen"></a><h3>e_cache_is_revision_change_frozen ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_is_revision_change_frozen (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-is-revision-change-frozen.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-is-revision-change-frozen.returns"></a><h4>Returns</h4>
<p> Whether automatic revision change for the <em class="parameter"><code>cache</code></em>
is currently frozen.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-erase"></a><h3>e_cache_erase ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_erase (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<p>Erases the cache and all of its content from the disk.
The only valid operation after this is to free the <em class="parameter"><code>cache</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-erase.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-contains"></a><h3>e_cache_contains ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_contains (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>);</pre>
<p>Checkes whether the <em class="parameter"><code>cache</code></em>
contains an object with
the given <em class="parameter"><code>uid</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-contains.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-contains.returns"></a><h4>Returns</h4>
<p> Whether the the object had been found.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get"></a><h3>e_cache_get ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_get (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **out_revision</code></em>,
<em class="parameter"><code><span class="type">ECacheColumnValues</span> **out_other_columns</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Returns an object with the given <em class="parameter"><code>uid</code></em>
. This function does not consider locally
deleted objects. The <em class="parameter"><code>out_revision</code></em>
is set to the object revision, if not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
Free it with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a> when no longer needed. Similarly the <em class="parameter"><code>out_other_columns</code></em>
contains a column name to column value strings for additional columns which had
been requested when calling <a class="link" href="evolution-data-server-ECache.html#e-cache-initialize-sync" title="e_cache_initialize_sync ()"><code class="function">e_cache_initialize_sync()</code></a>, if not <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
Free the returned <span class="type">ECacheColumnValues</span> with <a class="link" href="evolution-data-server-ECache.html#e-cache-column-values-free" title="e_cache_column_values_free ()"><code class="function">e_cache_column_values_free()</code></a>, when
no longer needed.</p>
<div class="refsect3">
<a name="e-cache-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_revision</p></td>
<td class="parameter_description"><p>an out variable for a revision
of the object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_other_columns</p></td>
<td class="parameter_description"><p>an out
variable for <span class="type">ECacheColumnValues</span> other columns, as defined when creating the <em class="parameter"><code>cache</code></em>
, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to ignore. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get.returns"></a><h4>Returns</h4>
<p>An object with the given <em class="parameter"><code>uid</code></em>
. Free it
with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>, when no longer needed. Returns <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on error, like when
the object could not be found. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-put"></a><h3>e_cache_put ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_put (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *revision</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object</code></em>,
<em class="parameter"><code><span class="type">ECacheColumnValues</span> *other_columns</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineFlag" title="enum ECacheOfflineFlag"><span class="type">ECacheOfflineFlag</span></a> offline_flag</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Stores an object into the cache. Depending on <em class="parameter"><code>offline_flag</code></em>
, this update
the object's offline state accordingly. When the <em class="parameter"><code>offline_flag</code></em>
is set
to <a class="link" href="evolution-data-server-ECache.html#E-CACHE-IS-ONLINE:CAPS"><code class="literal">E_CACHE_IS_ONLINE</code></a>, then it's set to <a class="link" href="evolution-data-server-e-backend-enums.html#E-OFFLINE-STATE-SYNCED:CAPS"><span class="type">E_OFFLINE_STATE_SYNCED</span></a>, like
to be fully synchronized with the server, regardless of its previous
offline state. Overwriting locally deleted object behaves like an addition
of a completely new object.</p>
<div class="refsect3">
<a name="e-cache-put.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>revision</p></td>
<td class="parameter_description"><p>a revision of the object. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>object</p></td>
<td class="parameter_description"><p>the object itself</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other_columns</p></td>
<td class="parameter_description"><p>an <span class="type">ECacheColumnValues</span> with other columns to set; can be <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>offline_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineFlag" title="enum ECacheOfflineFlag"><span class="type">ECacheOfflineFlag</span></a>, whether putting this object in offline</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-put.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-remove"></a><h3>e_cache_remove ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_remove (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheOfflineFlag" title="enum ECacheOfflineFlag"><span class="type">ECacheOfflineFlag</span></a> offline_flag</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Removes the object with the given <em class="parameter"><code>uid</code></em>
from the <em class="parameter"><code>cache</code></em>
. Based on the <em class="parameter"><code>offline_flag</code></em>
,
it can remove also any information about locally made offline changes. Removing
the object with <a class="link" href="evolution-data-server-ECache.html#E-CACHE-IS-OFFLINE:CAPS"><code class="literal">E_CACHE_IS_OFFLINE</code></a> will still remember it for later use
with <a class="link" href="evolution-data-server-ECache.html#e-cache-get-offline-changes" title="e_cache_get_offline_changes ()"><code class="function">e_cache_get_offline_changes()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>offline_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineFlag" title="enum ECacheOfflineFlag"><span class="type">ECacheOfflineFlag</span></a>, whether removing the object in offline</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-remove.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-remove-all"></a><h3>e_cache_remove_all ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_remove_all (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Removes all objects from the <em class="parameter"><code>cache</code></em>
in one call.</p>
<div class="refsect3">
<a name="e-cache-remove-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-remove-all.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-count"></a><h3>e_cache_get_count ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
e_cache_get_count (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-get-count.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-count.returns"></a><h4>Returns</h4>
<p> Count of objects stored in the <em class="parameter"><code>cache</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-uids"></a><h3>e_cache_get_uids ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_get_uids (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>,
<em class="parameter"><code><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **out_uids</code></em>,
<em class="parameter"><code><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **out_revisions</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Gets a list of unique object identifiers stored in the <em class="parameter"><code>cache</code></em>
, optionally
together with their revisions. The uids are not returned in any particular
order, but the position between <em class="parameter"><code>out_uids</code></em>
and <em class="parameter"><code>out_revisions</code></em>
matches
the same object.</p>
<p>Both <em class="parameter"><code>out_uids</code></em>
and <em class="parameter"><code>out_revisions</code></em>
contain newly allocated <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>, which
should be freed with g_slist_free_full (slist, g_free); when no longer needed.</p>
<div class="refsect3">
<a name="e-cache-get-uids.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_uids</p></td>
<td class="parameter_description"><p>a pointer to <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> to store the found uid to. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_revisions</p></td>
<td class="parameter_description"><p>a pointer to <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> to store
the found revisions to, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-uids.returns"></a><h4>Returns</h4>
<p> Whether succeeded. It doesn't necessarily mean that there was
any object stored in the <em class="parameter"><code>cache</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-objects"></a><h3>e_cache_get_objects ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_get_objects (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>,
<em class="parameter"><code><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **out_objects</code></em>,
<em class="parameter"><code><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> **out_revisions</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Gets a list of objects stored in the <em class="parameter"><code>cache</code></em>
, optionally together with
their revisions. The uids are not returned in any particular order,
but the position between <em class="parameter"><code>out_objects</code></em>
and <em class="parameter"><code>out_revisions</code></em>
matches
the same object.</p>
<p>Both <em class="parameter"><code>out_objects</code></em>
and <em class="parameter"><code>out_revisions</code></em>
contain newly allocated <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a>, which
should be freed with g_slist_free_full (slist, g_free); when no longer needed.</p>
<div class="refsect3">
<a name="e-cache-get-objects.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_objects</p></td>
<td class="parameter_description"><p>a pointer to <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> to store the found objects to. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>out_revisions</p></td>
<td class="parameter_description"><p>a pointer to <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> to store
the found revisions to, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8][<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-objects.returns"></a><h4>Returns</h4>
<p> Whether succeeded. It doesn't necessarily mean that there was
any object stored in the <em class="parameter"><code>cache</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-foreach"></a><h3>e_cache_foreach ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_foreach (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *where_clause</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheForeachFunc" title="ECacheForeachFunc ()"><span class="type">ECacheForeachFunc</span></a> func</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Calls <em class="parameter"><code>func</code></em>
for each found object, which satisfies the criteria
for both <em class="parameter"><code>deleted_flag</code></em>
and <em class="parameter"><code>where_clause</code></em>
.</p>
<p>Note the <em class="parameter"><code>func</code></em>
should not call any SQLite commands, because it's invoked
within a SELECT statement execution.</p>
<div class="refsect3">
<a name="e-cache-foreach.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>where_clause</p></td>
<td class="parameter_description"><p>an optional SQLite WHERE clause part, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheForeachFunc" title="ECacheForeachFunc ()"><span class="type">ECacheForeachFunc</span></a> function to call for each object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data for the <em class="parameter"><code>func</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-foreach.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-foreach-update"></a><h3>e_cache_foreach_update ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_foreach_update (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> deleted_flag</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *where_clause</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheUpdateFunc" title="ECacheUpdateFunc ()"><span class="type">ECacheUpdateFunc</span></a> func</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Calls <em class="parameter"><code>func</code></em>
for each found object, which satisfies the criteria for both
<em class="parameter"><code>deleted_flag</code></em>
and <em class="parameter"><code>where_clause</code></em>
, letting the caller update values where
necessary. The return value of <em class="parameter"><code>func</code></em>
is used to determine whether the call
was successful, not whether there are any changes to be saved. If anything
fails during the call then the all changes are reverted.</p>
<div class="refsect3">
<a name="e-cache-foreach-update.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>deleted_flag</p></td>
<td class="parameter_description"><p>one of <a class="link" href="evolution-data-server-ECache.html#ECacheDeletedFlag" title="enum ECacheDeletedFlag"><span class="type">ECacheDeletedFlag</span></a> enum</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>where_clause</p></td>
<td class="parameter_description"><p>an optional SQLite WHERE clause part, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheUpdateFunc" title="ECacheUpdateFunc ()"><span class="type">ECacheUpdateFunc</span></a> function to call for each object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data for the <em class="parameter"><code>func</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-foreach-update.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-offline-state"></a><h3>e_cache_get_offline_state ()</h3>
<pre class="programlisting"><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="returnvalue">EOfflineState</span></a>
e_cache_get_offline_state (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-get-offline-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-offline-state.returns"></a><h4>Returns</h4>
<p> Current offline state <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> for the given object.
It returns <a class="link" href="evolution-data-server-e-backend-enums.html#E-OFFLINE-STATE-UNKNOWN:CAPS"><code class="literal">E_OFFLINE_STATE_UNKNOWN</code></a> when the object could not be
found or other error happened.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-set-offline-state"></a><h3>e_cache_set_offline_state ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_set_offline_state (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uid</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> state</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Sets an offline <em class="parameter"><code>state</code></em>
for the object identified by <em class="parameter"><code>uid</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-set-offline-state.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>uid</p></td>
<td class="parameter_description"><p>a unique identifier of an object</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>state</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> to set</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-set-offline-state.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-offline-changes"></a><h3>e_cache_get_offline_changes ()</h3>
<pre class="programlisting"><a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="returnvalue">GSList</span></a> *
e_cache_get_offline_changes (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Gathers the list of all offline changes being done so far.
The returned <a href="../glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> contains <a class="link" href="evolution-data-server-ECache.html#ECacheOfflineChange" title="ECacheOfflineChange"><span class="type">ECacheOfflineChange</span></a> structure.
Use <a class="link" href="evolution-data-server-ECache.html#e-cache-clear-offline-changes" title="e_cache_clear_offline_changes ()"><code class="function">e_cache_clear_offline_changes()</code></a> to clear all offline
changes at once.</p>
<div class="refsect3">
<a name="e-cache-get-offline-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-offline-changes.returns"></a><h4>Returns</h4>
<p>A newly allocated list of all
offline changes. Free it with g_slist_free_full (slist, e_cache_offline_change_free);
when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> ECacheOfflineChange]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-clear-offline-changes"></a><h3>e_cache_clear_offline_changes ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_clear_offline_changes (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Marks all objects as being fully synchronized with the server and
removes those which are marked as locally deleted.</p>
<div class="refsect3">
<a name="e-cache-clear-offline-changes.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-clear-offline-changes.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-set-key"></a><h3>e_cache_set_key ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_set_key (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Sets a <em class="parameter"><code>value</code></em>
of the user <em class="parameter"><code>key</code></em>
, or deletes it, if the <em class="parameter"><code>value</code></em>
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
<div class="refsect3">
<a name="e-cache-set-key.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a key name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a value to set, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to delete the key. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-set-key.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-dup-key"></a><h3>e_cache_dup_key ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_dup_key (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-dup-key.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a key name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-dup-key.returns"></a><h4>Returns</h4>
<p>a value of the <em class="parameter"><code>key</code></em>
. Free the returned string
with <a href="../glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>, when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-set-key-int"></a><h3>e_cache_set_key_int ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_set_key_int (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Sets an integer <em class="parameter"><code>value</code></em>
for the user <em class="parameter"><code>key</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-set-key-int.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a key name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>an integer value to set</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-set-key-int.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-key-int"></a><h3>e_cache_get_key_int ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
e_cache_get_key_int (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Reads the user <em class="parameter"><code>key</code></em>
value as an integer.</p>
<div class="refsect3">
<a name="e-cache-get-key-int.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>a key name</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-key-int.returns"></a><h4>Returns</h4>
<p> The user <em class="parameter"><code>key</code></em>
value or -1 on error.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-lock"></a><h3>e_cache_lock ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_lock (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheLockType" title="enum ECacheLockType"><span class="type">ECacheLockType</span></a> lock_type</code></em>);</pre>
<p>Locks the <em class="parameter"><code>cache</code></em>
thus other threads cannot use it.
This can be called recursively within one thread.
Each call should have its pair <a class="link" href="evolution-data-server-ECache.html#e-cache-unlock" title="e_cache_unlock ()"><code class="function">e_cache_unlock()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-lock.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>lock_type</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheLockType" title="enum ECacheLockType"><span class="type">ECacheLockType</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-unlock"></a><h3>e_cache_unlock ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_unlock (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheUnlockAction" title="enum ECacheUnlockAction"><span class="type">ECacheUnlockAction</span></a> action</code></em>);</pre>
<p>Unlocks the cache which was previouly locked with <a class="link" href="evolution-data-server-ECache.html#e-cache-lock" title="e_cache_lock ()"><code class="function">e_cache_lock()</code></a>.
The cache locked with <a class="link" href="evolution-data-server-ECache.html#E-CACHE-LOCK-WRITE:CAPS"><span class="type">E_CACHE_LOCK_WRITE</span></a> should use either
<em class="parameter"><code>action</code></em>
<a class="link" href="evolution-data-server-ECache.html#E-CACHE-UNLOCK-COMMIT:CAPS"><span class="type">E_CACHE_UNLOCK_COMMIT</span></a> or <a class="link" href="evolution-data-server-ECache.html#E-CACHE-UNLOCK-ROLLBACK:CAPS"><span class="type">E_CACHE_UNLOCK_ROLLBACK</span></a>,
while the <a class="link" href="evolution-data-server-ECache.html#E-CACHE-LOCK-READ:CAPS"><span class="type">E_CACHE_LOCK_READ</span></a> should use <a class="link" href="evolution-data-server-ECache.html#E-CACHE-UNLOCK-NONE:CAPS"><span class="type">E_CACHE_UNLOCK_NONE</span></a> <em class="parameter"><code>action</code></em>
.</p>
<div class="refsect3">
<a name="e-cache-unlock.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>action</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheUnlockAction" title="enum ECacheUnlockAction"><span class="type">ECacheUnlockAction</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-get-sqlitedb"></a><h3>e_cache_get_sqlitedb ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a>
e_cache_get_sqlitedb (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>);</pre>
<div class="refsect3">
<a name="e-cache-get-sqlitedb.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-get-sqlitedb.returns"></a><h4>Returns</h4>
<p>An SQLite3 database pointer. It is owned by the <em class="parameter"><code>cache</code></em>
. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-exec"></a><h3>e_cache_sqlite_exec ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_sqlite_exec (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sql_stmt</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Executes an SQLite statement. Use <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-select" title="e_cache_sqlite_select ()"><code class="function">e_cache_sqlite_select()</code></a> for
SELECT statements.</p>
<div class="refsect3">
<a name="e-cache-sqlite-exec.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sql_stmt</p></td>
<td class="parameter_description"><p>an SQLite statement to execute</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-sqlite-exec.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-select"></a><h3>e_cache_sqlite_select ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_sqlite_select (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *sql_stmt</code></em>,
<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECacheSelectFunc" title="ECacheSelectFunc ()"><span class="type">ECacheSelectFunc</span></a> func</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Executes a SELECT statement <em class="parameter"><code>sql_stmt</code></em>
and calls <em class="parameter"><code>func</code></em>
for each row of the result.
Use <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-exec" title="e_cache_sqlite_exec ()"><code class="function">e_cache_sqlite_exec()</code></a> for statements which do not return row sets.</p>
<div class="refsect3">
<a name="e-cache-sqlite-select.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sql_stmt</p></td>
<td class="parameter_description"><p>an SQLite SELECT statement to execute</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECacheSelectFunc" title="ECacheSelectFunc ()"><span class="type">ECacheSelectFunc</span></a> function to call for each row</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data for <em class="parameter"><code>func</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-sqlite-select.returns"></a><h4>Returns</h4>
<p> Whether succeeded.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-maybe-vacuum"></a><h3>e_cache_sqlite_maybe_vacuum ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
e_cache_sqlite_maybe_vacuum (<em class="parameter"><code><a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> *cache</code></em>,
<em class="parameter"><code><a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> *cancellable</code></em>,
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Runs vacuum (compacts the database file), if needed.</p>
<div class="refsect3">
<a name="e-cache-sqlite-maybe-vacuum.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cache</p></td>
<td class="parameter_description"><p>an <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>cancellable</p></td>
<td class="parameter_description"><p>optional <a href="../gio/GCancellable.html#GCancellable-struct"><span class="type">GCancellable</span></a> object, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>return location for a <a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-sqlite-maybe-vacuum.returns"></a><h4>Returns</h4>
<p> Whether succeeded. It doesn't mean that the vacuum had been run,
only that no error happened during the call.</p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-stmt-append-printf"></a><h3>e_cache_sqlite_stmt_append_printf ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_sqlite_stmt_append_printf (<em class="parameter"><code><a href="../glib/glib-Strings.html#GString"><span class="type">GString</span></a> *stmt</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Appends an SQLite statement fragment based on the <em class="parameter"><code>format</code></em>
and
its arguments to the <em class="parameter"><code>stmt</code></em>
.
The <em class="parameter"><code>format</code></em>
can contain any values recognized by <code class="function">sqlite3_mprintf()</code>.</p>
<div class="refsect3">
<a name="e-cache-sqlite-stmt-append-printf.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-Strings.html#GString"><span class="type">GString</span></a> statement to append to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a printf-like format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>arguments for the <em class="parameter"><code>format</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-stmt-printf"></a><h3>e_cache_sqlite_stmt_printf ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
e_cache_sqlite_stmt_printf (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>,
<em class="parameter"><code>...</code></em>);</pre>
<p>Creates an SQLite statement based on the <em class="parameter"><code>format</code></em>
and its arguments.
The <em class="parameter"><code>format</code></em>
can contain any values recognized by <code class="function">sqlite3_mprintf()</code>.</p>
<div class="refsect3">
<a name="e-cache-sqlite-stmt-printf.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a printf-like format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>arguments for the <em class="parameter"><code>format</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="e-cache-sqlite-stmt-printf.returns"></a><h4>Returns</h4>
<p>A new SQLite statement. Free the returned
string with <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-stmt-free" title="e_cache_sqlite_stmt_free ()"><code class="function">e_cache_sqlite_stmt_free()</code></a> when no longer needed. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="e-cache-sqlite-stmt-free"></a><h3>e_cache_sqlite_stmt_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
e_cache_sqlite_stmt_free (<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *stmt</code></em>);</pre>
<p>Frees a statement previously constructed with <a class="link" href="evolution-data-server-ECache.html#e-cache-sqlite-stmt-printf" title="e_cache_sqlite_stmt_printf ()"><code class="function">e_cache_sqlite_stmt_printf()</code></a>.</p>
<div class="refsect3">
<a name="e-cache-sqlite-stmt-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stmt</p></td>
<td class="parameter_description"><p>a statement to free</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
</div>
<div class="refsect1">
<a name="evolution-data-server-ECache.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="E-CACHE-TABLE-OBJECTS:CAPS"></a><h3>E_CACHE_TABLE_OBJECTS</h3>
<pre class="programlisting">#define E_CACHE_TABLE_OBJECTS "ECacheObjects"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-TABLE-KEYS:CAPS"></a><h3>E_CACHE_TABLE_KEYS</h3>
<pre class="programlisting">#define E_CACHE_TABLE_KEYS "ECacheKeys"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-COLUMN-UID:CAPS"></a><h3>E_CACHE_COLUMN_UID</h3>
<pre class="programlisting">#define E_CACHE_COLUMN_UID "ECacheUID"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-COLUMN-REVISION:CAPS"></a><h3>E_CACHE_COLUMN_REVISION</h3>
<pre class="programlisting">#define E_CACHE_COLUMN_REVISION "ECacheREV"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-COLUMN-OBJECT:CAPS"></a><h3>E_CACHE_COLUMN_OBJECT</h3>
<pre class="programlisting">#define E_CACHE_COLUMN_OBJECT "ECacheOBJ"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-COLUMN-STATE:CAPS"></a><h3>E_CACHE_COLUMN_STATE</h3>
<pre class="programlisting">#define E_CACHE_COLUMN_STATE "ECacheState"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="E-CACHE-ERROR:CAPS"></a><h3>E_CACHE_ERROR</h3>
<pre class="programlisting">#define E_CACHE_ERROR (e_cache_error_quark ())
</pre>
<p>Error domain for <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a> operations.</p>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheError"></a><h3>enum ECacheError</h3>
<p>Defines the types of possible errors reported by the <a class="link" href="evolution-data-server-ECache.html#ECache" title="struct ECache"><span class="type">ECache</span></a></p>
<div class="refsect3">
<a name="ECacheError.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-ENGINE:CAPS"></a>E_CACHE_ERROR_ENGINE</p></td>
<td class="enum_member_description">
<p>An error was reported from the SQLite engine</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-CONSTRAINT:CAPS"></a>E_CACHE_ERROR_CONSTRAINT</p></td>
<td class="enum_member_description">
<p>The error occurred due to an explicit constraint, like
when attempting to add two objects with the same UID.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-NOT-FOUND:CAPS"></a>E_CACHE_ERROR_NOT_FOUND</p></td>
<td class="enum_member_description">
<p>An object was not found by UID (this is
different from a query that returns no results, which is not an error).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-INVALID-QUERY:CAPS"></a>E_CACHE_ERROR_INVALID_QUERY</p></td>
<td class="enum_member_description">
<p>A query was invalid.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-UNSUPPORTED-FIELD:CAPS"></a>E_CACHE_ERROR_UNSUPPORTED_FIELD</p></td>
<td class="enum_member_description">
<p>A field requested for inclusion in summary is not supported.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-UNSUPPORTED-QUERY:CAPS"></a>E_CACHE_ERROR_UNSUPPORTED_QUERY</p></td>
<td class="enum_member_description">
<p>A query was not supported.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-END-OF-LIST:CAPS"></a>E_CACHE_ERROR_END_OF_LIST</p></td>
<td class="enum_member_description">
<p>An attempt was made to fetch results past the end of a the list.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-ERROR-LOAD:CAPS"></a>E_CACHE_ERROR_LOAD</p></td>
<td class="enum_member_description">
<p>An error occured while loading or creating the database.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheOfflineChange"></a><h3>ECacheOfflineChange</h3>
<pre class="programlisting">typedef struct {
gchar *uid;
gchar *revision;
gchar *object;
EOfflineState state;
} ECacheOfflineChange;
</pre>
<p>Holds the information about offline change for one object.</p>
<div class="refsect3">
<a name="ECacheOfflineChange.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="ECacheOfflineChange.uid"></a>uid</code></em>;</p></td>
<td class="struct_member_description"><p>UID of the object</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="ECacheOfflineChange.revision"></a>revision</code></em>;</p></td>
<td class="struct_member_description"><p>stored revision of the object</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="ECacheOfflineChange.object"></a>object</code></em>;</p></td>
<td class="struct_member_description"><p>the object itself</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> <em class="structfield"><code><a name="ECacheOfflineChange.state"></a>state</code></em>;</p></td>
<td class="struct_member_description"><p>an <a class="link" href="evolution-data-server-e-backend-enums.html#EOfflineState" title="enum EOfflineState"><span class="type">EOfflineState</span></a> of the object</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheLockType"></a><h3>enum ECacheLockType</h3>
<p>Indicates the type of lock requested in <a class="link" href="evolution-data-server-ECache.html#e-cache-lock" title="e_cache_lock ()"><code class="function">e_cache_lock()</code></a>.</p>
<div class="refsect3">
<a name="ECacheLockType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-LOCK-READ:CAPS"></a>E_CACHE_LOCK_READ</p></td>
<td class="enum_member_description">
<p>Obtain a lock for reading.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-LOCK-WRITE:CAPS"></a>E_CACHE_LOCK_WRITE</p></td>
<td class="enum_member_description">
<p>Obtain a lock for writing. This also starts a transaction.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheUnlockAction"></a><h3>enum ECacheUnlockAction</h3>
<p>Indicates what type of action to take while unlocking the cache with <a class="link" href="evolution-data-server-ECache.html#e-cache-unlock" title="e_cache_unlock ()"><code class="function">e_cache_unlock()</code></a>.</p>
<div class="refsect3">
<a name="ECacheUnlockAction.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-UNLOCK-NONE:CAPS"></a>E_CACHE_UNLOCK_NONE</p></td>
<td class="enum_member_description">
<p>Just unlock, this is appropriate for locks which were obtained with <a class="link" href="evolution-data-server-ECache.html#E-CACHE-LOCK-READ:CAPS"><code class="literal">E_CACHE_LOCK_READ</code></a>.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-UNLOCK-COMMIT:CAPS"></a>E_CACHE_UNLOCK_COMMIT</p></td>
<td class="enum_member_description">
<p>Commit any modifications which were made while the lock was held.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-UNLOCK-ROLLBACK:CAPS"></a>E_CACHE_UNLOCK_ROLLBACK</p></td>
<td class="enum_member_description">
<p>Rollback any modifications which were made while the lock was held.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheDeletedFlag"></a><h3>enum ECacheDeletedFlag</h3>
<p>Declares whether to exclude or include locally deleted objects.</p>
<div class="refsect3">
<a name="ECacheDeletedFlag.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-EXCLUDE-DELETED:CAPS"></a>E_CACHE_EXCLUDE_DELETED</p></td>
<td class="enum_member_description">
<p>Do not include locally deleted objects</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-INCLUDE-DELETED:CAPS"></a>E_CACHE_INCLUDE_DELETED</p></td>
<td class="enum_member_description">
<p>Include locally deleted objects</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECacheOfflineFlag"></a><h3>enum ECacheOfflineFlag</h3>
<p>Declares whether the operation is done in online or offline.
This influences the offline state of the related objects.</p>
<div class="refsect3">
<a name="ECacheOfflineFlag.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-OFFLINE-UNKNOWN:CAPS"></a>E_CACHE_OFFLINE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>Do not know current online/offline state</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-IS-ONLINE:CAPS"></a>E_CACHE_IS_ONLINE</p></td>
<td class="enum_member_description">
<p>The operation is done in online</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="E-CACHE-IS-OFFLINE:CAPS"></a>E_CACHE_IS_OFFLINE</p></td>
<td class="enum_member_description">
<p>The operation is done in offline</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
<hr>
<div class="refsect2">
<a name="ECache"></a><h3>struct ECache</h3>
<pre class="programlisting">struct ECache {
};
</pre>
<p>Contains only private data that should be read and manipulated using the
functions below.</p>
<p class="since">Since: <a class="link" href="api-index-3-26.html#api-index-3.26">3.26</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|