/usr/share/gtk-doc/html/libinfinity-0.5/InfcBrowser.html is in libinfinity-0.5-doc 0.5.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 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 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>InfcBrowser</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="libinfinity-0.5 Reference Manual">
<link rel="up" href="ch04.html" title="Libinfinity client side API">
<link rel="prev" href="ch04.html" title="Libinfinity client side API">
<link rel="next" href="InfcBrowserIter.html" title="InfcBrowserIter">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="ch04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinfinity-0.5 Reference Manual</th>
<td><a accesskey="n" href="InfcBrowserIter.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#InfcBrowser.synopsis" class="shortcut">Top</a>
|
<a href="#InfcBrowser.description" class="shortcut">Description</a>
|
<a href="#InfcBrowser.object-hierarchy" class="shortcut">Object Hierarchy</a>
|
<a href="#InfcBrowser.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
|
<a href="#InfcBrowser.properties" class="shortcut">Properties</a>
|
<a href="#InfcBrowser.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry">
<a name="InfcBrowser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="InfcBrowser.top_of_page"></a>InfcBrowser</span></h2>
<p>InfcBrowser — Browse remote directories</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="InfcBrowser.stability-level"></a><h2>Stability Level</h2>
Unstable, unless otherwise indicated
</div>
<div class="refsynopsisdiv">
<a name="InfcBrowser.synopsis"></a><h2>Synopsis</h2>
<a name="InfcBrowserStatus"></a><pre class="synopsis">
#include <libinfinity/client/infc-browser.h>
enum <a class="link" href="InfcBrowser.html#InfcBrowserStatus-enum" title="enum InfcBrowserStatus">InfcBrowserStatus</a>;
<a class="link" href="InfcBrowser.html#InfcBrowser-struct" title="InfcBrowser">InfcBrowser</a>;
struct <a class="link" href="InfcBrowser.html#InfcBrowserClass" title="struct InfcBrowserClass">InfcBrowserClass</a>;
<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="returnvalue">InfcBrowser</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-new" title="infc_browser_new ()">infc_browser_new</a> (<em class="parameter"><code><a class="link" href="InfIo.html" title="InfIo"><span class="type">InfIo</span></a> *io</code></em>,
<em class="parameter"><code><a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a> *comm_manager</code></em>,
<em class="parameter"><code><a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> *connection</code></em>);
<a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="returnvalue">InfCommunicationManager</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-get-communication-manager" title="infc_browser_get_communication_manager ()">infc_browser_get_communication_manager</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
<a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="returnvalue">InfXmlConnection</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-get-connection" title="infc_browser_get_connection ()">infc_browser_get_connection</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
<a class="link" href="InfcBrowser.html#InfcBrowserStatus"><span class="returnvalue">InfcBrowserStatus</span></a> <a class="link" href="InfcBrowser.html#infc-browser-get-status" title="infc_browser_get_status ()">infc_browser_get_status</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-add-plugin" title="infc_browser_add_plugin ()">infc_browser_add_plugin</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>);
const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="returnvalue">InfcNotePlugin</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-lookup-plugin" title="infc_browser_lookup_plugin ()">infc_browser_lookup_plugin</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *note_type</code></em>);
<span class="returnvalue">void</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-root" title="infc_browser_iter_get_root ()">infc_browser_iter_get_root</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-next" title="infc_browser_iter_get_next ()">infc_browser_iter_get_next</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-prev" title="infc_browser_iter_get_prev ()">infc_browser_iter_get_prev</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-parent" title="infc_browser_iter_get_parent ()">infc_browser_iter_get_parent</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-explored" title="infc_browser_iter_get_explored ()">infc_browser_iter_get_explored</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-get-child" title="infc_browser_iter_get_child ()">infc_browser_iter_get_child</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="returnvalue">InfcExploreRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-explore" title="infc_browser_iter_explore ()">infc_browser_iter_explore</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-name" title="infc_browser_iter_get_name ()">infc_browser_iter_get_name</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gchar</span> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-path" title="infc_browser_iter_get_path ()">infc_browser_iter_get_path</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-is-subdirectory" title="infc_browser_iter_is_subdirectory ()">infc_browser_iter_is_subdirectory</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-add-subdirectory" title="infc_browser_add_subdirectory ()">infc_browser_add_subdirectory</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-add-note" title="infc_browser_add_note ()">infc_browser_add_note</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> initial_subscribe</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-add-note-with-content" title="infc_browser_add_note_with_content ()">infc_browser_add_note_with_content</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="InfSession.html" title="InfSession"><span class="type">InfSession</span></a> *session</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> initial_subscribe</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-remove-node" title="infc_browser_remove_node ()">infc_browser_remove_node</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
const <span class="returnvalue">gchar</span> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-note-type" title="infc_browser_iter_get_note_type ()">infc_browser_iter_get_note_type</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="returnvalue">InfcNotePlugin</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-plugin" title="infc_browser_iter_get_plugin ()">infc_browser_iter_get_plugin</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-subscribe-session" title="infc_browser_iter_subscribe_session ()">infc_browser_iter_subscribe_session</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-save-session" title="infc_browser_iter_save_session ()">infc_browser_iter_save_session</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()">infc_browser_iter_get_session</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-sync-in" title="infc_browser_iter_get_sync_in ()">infc_browser_iter_get_sync_in</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-subscribe-request" title="infc_browser_iter_get_subscribe_request ()">infc_browser_iter_get_subscribe_request</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="returnvalue">InfcExploreRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-explore-request" title="infc_browser_iter_get_explore_request ()">infc_browser_iter_get_explore_request</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">GSList</span> * <a class="link" href="InfcBrowser.html#infc-browser-iter-get-sync-in-requests" title="infc_browser_iter_get_sync_in_requests ()">infc_browser_iter_get_sync_in_requests</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-from-node-request" title="infc_browser_iter_from_node_request ()">infc_browser_iter_from_node_request</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> *request</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-from-explore-request" title="infc_browser_iter_from_explore_request ()">infc_browser_iter_from_explore_request</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> *request</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<span class="returnvalue">gboolean</span> <a class="link" href="InfcBrowser.html#infc-browser-iter-is-valid" title="infc_browser_iter_is_valid ()">infc_browser_iter_is_valid</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-subscribe-chat" title="infc_browser_subscribe_chat ()">infc_browser_subscribe_chat</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-get-subscribe-chat-request" title="infc_browser_get_subscribe_chat_request ()">infc_browser_get_subscribe_chat_request</a>
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
<a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * <a class="link" href="InfcBrowser.html#infc-browser-get-chat-session" title="infc_browser_get_chat_session ()">infc_browser_get_chat_session</a> (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="InfcBrowser.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GEnum
+----InfcBrowserStatus
</pre>
<pre class="synopsis">
GObject
+----InfcBrowser
</pre>
</div>
<div class="refsect1">
<a name="InfcBrowser.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
InfcBrowser implements
<a class="link" href="InfCommunicationObject.html" title="InfCommunicationObject">InfCommunicationObject</a>.</p>
</div>
<div class="refsect1">
<a name="InfcBrowser.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="InfcBrowser.html#InfcBrowser--chat-session" title='The "chat-session" property'>chat-session</a>" <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a>* : Read
"<a class="link" href="InfcBrowser.html#InfcBrowser--communication-manager" title='The "communication-manager" property'>communication-manager</a>" <a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a>* : Read / Write / Construct Only
"<a class="link" href="InfcBrowser.html#InfcBrowser--connection" title='The "connection" property'>connection</a>" <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a>* : Read / Write / Construct Only
"<a class="link" href="InfcBrowser.html#InfcBrowser--io" title='The "io" property'>io</a>" <a class="link" href="InfIo.html" title="InfIo"><span class="type">InfIo</span></a>* : Read / Write / Construct Only
"<a class="link" href="InfcBrowser.html#InfcBrowser--status" title='The "status" property'>status</a>" <a class="link" href="InfcBrowser.html#InfcBrowserStatus"><span class="type">InfcBrowserStatus</span></a> : Read
</pre>
</div>
<div class="refsect1">
<a name="InfcBrowser.signals"></a><h2>Signals</h2>
<pre class="synopsis">
"<a class="link" href="InfcBrowser.html#InfcBrowser-begin-explore" title='The "begin-explore" signal'>begin-explore</a>" : <code class="literal">Run Last</code>
"<a class="link" href="InfcBrowser.html#InfcBrowser-begin-subscribe" title='The "begin-subscribe" signal'>begin-subscribe</a>" : <code class="literal">Run Last</code>
"<a class="link" href="InfcBrowser.html#InfcBrowser-error" title='The "error" signal'>error</a>" : <code class="literal">Run Last</code>
"<a class="link" href="InfcBrowser.html#InfcBrowser-node-added" title='The "node-added" signal'>node-added</a>" : <code class="literal">Run Last</code>
"<a class="link" href="InfcBrowser.html#InfcBrowser-node-removed" title='The "node-removed" signal'>node-removed</a>" : <code class="literal">Run Last</code>
"<a class="link" href="InfcBrowser.html#InfcBrowser-subscribe-session" title='The "subscribe-session" signal'>subscribe-session</a>" : <code class="literal">Run Last</code>
</pre>
</div>
<div class="refsect1">
<a name="InfcBrowser.description"></a><h2>Description</h2>
<p>
The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> is used to browse a remote directory and can be used
to subscribe to sessions.
</p>
</div>
<div class="refsect1">
<a name="InfcBrowser.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="InfcBrowserStatus-enum"></a><h3>enum InfcBrowserStatus</h3>
<pre class="programlisting">typedef enum {
INFC_BROWSER_DISCONNECTED,
INFC_BROWSER_CONNECTING,
INFC_BROWSER_CONNECTED
} InfcBrowserStatus;
</pre>
<p>
This enumeration contains possible connection status values for
<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>. Several operations, such as exploring a node or subscribing
to a session can only be performed when the browser is connected to a
remote infinote server.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><a name="INFC-BROWSER-DISCONNECTED:CAPS"></a><span class="term"><code class="literal">INFC_BROWSER_DISCONNECTED</code></span></p></td>
<td>The browser is currently not connected to a
server.
</td>
</tr>
<tr>
<td><p><a name="INFC-BROWSER-CONNECTING:CAPS"></a><span class="term"><code class="literal">INFC_BROWSER_CONNECTING</code></span></p></td>
<td>The browser is currently establishing a
connection to a remote server, but the connection is not yet fully
established.
</td>
</tr>
<tr>
<td><p><a name="INFC-BROWSER-CONNECTED:CAPS"></a><span class="term"><code class="literal">INFC_BROWSER_CONNECTED</code></span></p></td>
<td>The browser is connected to a remote server.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-struct"></a><h3>InfcBrowser</h3>
<pre class="programlisting">typedef struct _InfcBrowser InfcBrowser;</pre>
<p>
<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> is an opaque data type. You should only access it via the
public API functions.
</p>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowserClass"></a><h3>struct InfcBrowserClass</h3>
<pre class="programlisting">struct InfcBrowserClass {
void (*error)(InfcBrowser* browser,
const GError* error);
void (*node_added)(InfcBrowser* browser,
InfcBrowserIter* iter);
void (*node_removed)(InfcBrowser* browser,
InfcBrowserIter* iter);
void (*subscribe_session)(InfcBrowser* browser,
InfcBrowserIter* iter,
InfcSessionProxy* proxy);
void (*begin_explore)(InfcBrowser* browser,
InfcBrowserIter* iter,
InfcExploreRequest* request);
void (*begin_subscribe)(InfcBrowser* browser,
InfcBrowserIter* iter,
InfcNodeRequest* request);
};
</pre>
<p>
Signals for the <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> class.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.error"></a>error</code></em> ()</span></p></td>
<td>Default signal handler for the <a class="link" href="InfcBrowser.html#InfcBrowser-error" title='The "error" signal'><span class="type">"error"</span></a> signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.node-added"></a>node_added</code></em> ()</span></p></td>
<td>Default signal handler for the <a class="link" href="InfcBrowser.html#InfcBrowser-node-added" title='The "node-added" signal'><span class="type">"node_added"</span></a>
signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.node-removed"></a>node_removed</code></em> ()</span></p></td>
<td>Default signal handler for the <a class="link" href="InfcBrowser.html#InfcBrowser-node-removed" title='The "node-removed" signal'><span class="type">"node_removed"</span></a>
signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.subscribe-session"></a>subscribe_session</code></em> ()</span></p></td>
<td>Default signal handler for the
<a class="link" href="InfcBrowser.html#InfcBrowser-subscribe-session" title='The "subscribe-session" signal'><span class="type">"subscribe_session"</span></a> signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.begin-explore"></a>begin_explore</code></em> ()</span></p></td>
<td>Default signal handler for the
<a class="link" href="InfcBrowser.html#InfcBrowser-begin-explore" title='The "begin-explore" signal'><span class="type">"begin_explore"</span></a> signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="structfield"><code><a name="InfcBrowserClass.begin-subscribe"></a>begin_subscribe</code></em> ()</span></p></td>
<td>Default signal handler for the
<a class="link" href="InfcBrowser.html#InfcBrowser-begin-subscribe" title='The "begin-subscribe" signal'><span class="type">"begin_subscribe"</span></a> signal.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-new"></a><h3>infc_browser_new ()</h3>
<pre class="programlisting"><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="returnvalue">InfcBrowser</span></a> * infc_browser_new (<em class="parameter"><code><a class="link" href="InfIo.html" title="InfIo"><span class="type">InfIo</span></a> *io</code></em>,
<em class="parameter"><code><a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a> *comm_manager</code></em>,
<em class="parameter"><code><a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> *connection</code></em>);</pre>
<p>
Creates a new <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>io</code></em> :</span></p></td>
<td>A <a class="link" href="InfIo.html" title="InfIo"><span class="type">InfIo</span></a> object used to schedule timeouts.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>comm_manager</code></em> :</span></p></td>
<td>A <a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a> to register the server connection
and which forwards incoming data to the browser or running sessions.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
<td>Connection to the server.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A new <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-get-communication-manager"></a><h3>infc_browser_get_communication_manager ()</h3>
<pre class="programlisting"><a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="returnvalue">InfCommunicationManager</span></a> * infc_browser_get_communication_manager
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Returns the communication manager of this browser.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-get-connection"></a><h3>infc_browser_get_connection ()</h3>
<pre class="programlisting"><a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="returnvalue">InfXmlConnection</span></a> * infc_browser_get_connection (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Returns the connection to the server.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-get-status"></a><h3>infc_browser_get_status ()</h3>
<pre class="programlisting"><a class="link" href="InfcBrowser.html#InfcBrowserStatus"><span class="returnvalue">InfcBrowserStatus</span></a> infc_browser_get_status (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Returns the browser's status. Note that the browser status can be
<a class="link" href="InfcBrowser.html#INFC-BROWSER-DISCONNECTED:CAPS"><code class="literal">INFC_BROWSER_DISCONNECTED</code></a> even if browser's connection is still open. This
can happen if a fatal error on the browser layer happens, for example when
it does not understand the server's messages.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The browser's status.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-add-plugin"></a><h3>infc_browser_add_plugin ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_add_plugin (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>);</pre>
<p>
Adds <em class="parameter"><code>plugin</code></em> to <em class="parameter"><code>browser</code></em>. This allows the browser to create sessions of
the plugin's type. Only one plugin of each type can be added to the
directory.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td>A <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether the plugin was added successfully.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-lookup-plugin"></a><h3>infc_browser_lookup_plugin ()</h3>
<pre class="programlisting">const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="returnvalue">InfcNotePlugin</span></a> * infc_browser_lookup_plugin (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *note_type</code></em>);</pre>
<p>
Returns a previously registered plugin (see <a class="link" href="InfcBrowser.html#infc-browser-add-plugin" title="infc_browser_add_plugin ()"><code class="function">infc_browser_add_plugin()</code></a>) for
the given note type, or <code class="literal">NULL</code> if there is no such plugin.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>note_type</code></em> :</span></p></td>
<td>A note type, such as "InfText".</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-root"></a><h3>infc_browser_iter_get_root ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> infc_browser_iter_get_root (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the root node of the browser tree.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>An uninitialized <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-next"></a><h3>infc_browser_iter_get_next ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_get_next (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the next node within the same subdirectory. If
<em class="parameter"><code>iter</code></em> already points to the last node, <em class="parameter"><code>iter</code></em> is left untouched and
<code class="literal">FALSE</code> is returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if iter was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-prev"></a><h3>infc_browser_iter_get_prev ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_get_prev (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the provious node within the same subdirectory. If
<em class="parameter"><code>iter</code></em> already points to the first node, <em class="parameter"><code>iter</code></em> is left untouched and
<code class="literal">FALSE</code> is returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if iter was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-parent"></a><h3>infc_browser_iter_get_parent ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_get_parent (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the parent node. If <em class="parameter"><code>iter</code></em> already points to the
root node, <em class="parameter"><code>iter</code></em> is left untouched and the function returns <code class="literal">FALSE</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if iter was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-explored"></a><h3>infc_browser_iter_get_explored ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_get_explored (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns whether the subdirectory node <em class="parameter"><code>iter</code></em> points to has been explored.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a subdirectory node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if the subdirectory has been explored and <code class="literal">FALSE</code>
otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-child"></a><h3>infc_browser_iter_get_child ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_get_child (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the first child of the subdirectory it is currently
pointing to. The subdirectory must already have been explored. If the
subdirectory has no children, <em class="parameter"><code>iter</code></em> is left untouched and <code class="literal">FALSE</code> is
returned.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a subdirectory node in <em class="parameter"><code>brwoser</code></em> that
has already been explored.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-explore"></a><h3>infc_browser_iter_explore ()</h3>
<pre class="programlisting"><a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="returnvalue">InfcExploreRequest</span></a> * infc_browser_iter_explore (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Explores the given subdirectory node. The returned request may be used
to get informed about exploration progress and completion. When the
exploration has been initiated, <a class="link" href="InfcBrowser.html#infc-browser-iter-get-child" title="infc_browser_iter_get_child ()"><code class="function">infc_browser_iter_get_child()</code></a> may be called
to get the content that has been explored so far. When the request has
finished, all content is available.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a subdirectory node in <em class="parameter"><code>browser</code></em> that
has not yet been explored.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> to watch the exploration process.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-name"></a><h3>infc_browser_iter_get_name ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * infc_browser_iter_get_name (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the name of the node <em class="parameter"><code>iter</code></em> points to.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The node's name. The returned string must not be freed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-path"></a><h3>infc_browser_iter_get_path ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> * infc_browser_iter_get_path (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the complete path to the node <em class="parameter"><code>iter</code></em> points to. The path to a node
is the name of the node and the name of all parent nodes separated by '/',
as a filesystem path on Unix.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The node's path. Free with <code class="function">g_free()</code> when no longer in use.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-is-subdirectory"></a><h3>infc_browser_iter_is_subdirectory ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_is_subdirectory (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>iter</code></em> points to a subdirectory node or not.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether the node <em class="parameter"><code>iter</code></em> points to is a subdirectory node.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-add-subdirectory"></a><h3>infc_browser_add_subdirectory ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_add_subdirectory (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>);</pre>
<p>
Creates a new request that asks the server to create a new subdirectory.
Note that the parent subdirectory must already have been explored.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to an explored subdirectory in which
to create the new subdirectory.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>The name for the new subdirectory.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> to be notified when the request
finishes or fails.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-add-note"></a><h3>infc_browser_add_note ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_add_note (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> initial_subscribe</code></em>);</pre>
<p>
Asks the server to create a new note with the given type. The returned
request may be used to be notified when the request finishes or fails.
</p>
<p>
If <em class="parameter"><code>initial_subscribe</code></em> is set, then, when the returned request finishes,
you might call <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a> on the resulting
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>. However, that function is not guaranteed to return
non-<code class="literal">NULL</code> in this case since the node might have been created, but the
subscription could have failed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to an explored subdirectory.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name for the new node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td>Type of the new node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>initial_subscribe</code></em> :</span></p></td>
<td>Whether to automatically subscribe to the newly created
node.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-add-note-with-content"></a><h3>infc_browser_add_note_with_content ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_add_note_with_content (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *parent</code></em>,
<em class="parameter"><code>const <span class="type">gchar</span> *name</code></em>,
<em class="parameter"><code>const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> *plugin</code></em>,
<em class="parameter"><code><a class="link" href="InfSession.html" title="InfSession"><span class="type">InfSession</span></a> *session</code></em>,
<em class="parameter"><code><span class="type">gboolean</span> initial_subscribe</code></em>);</pre>
<p>
Asks the server to create a new note with the given type. The returned
request may be used to be notified when the request finishes or fails.
</p>
<p>
The returned request finishes as soon as the server acknowledges the
creation of the node, which is before the content is transmitted. If,
during transmission, an error occurs, then the node is removed again. To
get notified when the transmission fails, finishes or changes in progress,
you can connect to the InfSession::synchronization-failed,
InfSession::synchronization-complete and
InfSession::synchronization-progress signals. Note that a single session
might be synchronized to multiple servers at the same time, you will have
to check the connection parameter in the signal hander to find out to
which server the session is synchronized.
</p>
<p>
You can safely unref session after having called this function. If the
request or the synchronization fails, the session will be discarded in
that case. When the returned request finishes, you can use
<a class="link" href="InfcBrowser.html#infc-browser-iter-get-sync-in" title="infc_browser_iter_get_sync_in ()"><code class="function">infc_browser_iter_get_sync_in()</code></a> to get the session again.
</p>
<p>
If <em class="parameter"><code>initial_subscribe</code></em> is set, then, when the returned request finishes,
you might call <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a> on the resulting
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>. However, that function is not guaranteed to return
non-<code class="literal">NULL</code> in this case since the node might have been created, but the
subscription could have failed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to an explored subdirectory.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td>
<td>Name for the new node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>plugin</code></em> :</span></p></td>
<td>Type of the new node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>session</code></em> :</span></p></td>
<td>A session that is copied to the server and used as initial
content for the new node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>initial_subscribe</code></em> :</span></p></td>
<td>Whether to automatically subscribe to the newly created
node.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-remove-node"></a><h3>infc_browser_remove_node ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_remove_node (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Asks the server to remove the node <em class="parameter"><code>iter</code></em> points to.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that may be used to get notified when
the request finishes or fails.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-note-type"></a><h3>infc_browser_iter_get_note_type ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> * infc_browser_iter_get_note_type (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the type of the note <em class="parameter"><code>iter</code></em> points to. This must not be a
subdirectory node.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note inside <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>The note's type.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-plugin"></a><h3>infc_browser_iter_get_plugin ()</h3>
<pre class="programlisting">const <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="returnvalue">InfcNotePlugin</span></a> * infc_browser_iter_get_plugin (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a> that is used for subscriptions to the note
<em class="parameter"><code>iter</code></em> points to, or <code class="literal">NULL</code> if no plugin for the note's type has been
registered.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note inside <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="libinfinity-0.5-InfcNotePlugin.html#InfcNotePlugin" title="struct InfcNotePlugin"><span class="type">InfcNotePlugin</span></a>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-subscribe-session"></a><h3>infc_browser_iter_subscribe_session ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_iter_subscribe_session (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Subscribes to the given note. When the request has finished (which does
not mean that the subscription has finished, but the server is ready to
perform the subscription), <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a> can be used
to access the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> object representing the subscription.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note inside <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that may be used to get notified when
the request finishes or fails.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-save-session"></a><h3>infc_browser_iter_save_session ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_iter_save_session (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Requests that the server saves the note pointed to by <em class="parameter"><code>iter</code></em> into its
background storage. Normally, the server only does this when it is either
shut down or when the there are no more subscriptions to the note. Note that
this is merely a request and the server might decide not to save the
session for whatever reason.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that may be used to get notified when
the request finishes or fails.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-session"></a><h3>infc_browser_iter_get_session ()</h3>
<pre class="programlisting"><a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * infc_browser_iter_get_session (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> representing the subscription to the given
note, if the client is subscribed, and <code class="literal">NULL</code> otherwise.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a>, or <code class="literal">NULL</code> if not subscribed.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-sync-in"></a><h3>infc_browser_iter_get_sync_in ()</h3>
<pre class="programlisting"><a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * infc_browser_iter_get_sync_in (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> that is used to synchronize the note <em class="parameter"><code>iter</code></em>
points to to the server. Such a node is created by
<a class="link" href="InfcBrowser.html#infc-browser-add-note-with-content" title="infc_browser_add_note_with_content ()"><code class="function">infc_browser_add_note_with_content()</code></a>. If the client is subscribed to
this note, then this returns the same session as
<a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a>. However, it is possible that we
synchronize this node to the server without being subscribed to it. In
this case, this function returns the session that does the synchronization,
while <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a> would return <code class="literal">NULL</code>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a>, or <code class="literal">NULL</code> if we are currently not
synchronizing this node to the server.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-subscribe-request"></a><h3>infc_browser_iter_get_subscribe_request ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_iter_get_subscribe_request
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that represents the subscription request sent
for the note <em class="parameter"><code>iter</code></em> points to. Returns <code class="literal">NULL</code> if we are already subscribed
to that node, or no subscription request has been sent. In the former
case <a class="link" href="InfcBrowser.html#infc-browser-iter-get-session" title="infc_browser_iter_get_session ()"><code class="function">infc_browser_iter_get_session()</code></a> will return the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> for
the subscription.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a note in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-explore-request"></a><h3>infc_browser_iter_get_explore_request ()</h3>
<pre class="programlisting"><a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="returnvalue">InfcExploreRequest</span></a> * infc_browser_iter_get_explore_request
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> with which the node <em class="parameter"><code>iter</code></em> points to is
currenty explored. Returns <code class="literal">NULL</code> if that node is already explored or is
not currently explored.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a subdirectory node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-get-sync-in-requests"></a><h3>infc_browser_iter_get_sync_in_requests ()</h3>
<pre class="programlisting"><span class="returnvalue">GSList</span> * infc_browser_iter_get_sync_in_requests
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns a list of all <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> created with
<a class="link" href="InfcBrowser.html#infc-browser-add-note-with-content" title="infc_browser_add_note_with_content ()"><code class="function">infc_browser_add_note_with_content()</code></a> with the node <em class="parameter"><code>iter</code></em> points to as
parent. Such requests begin a synchronization to the server when they
have finished.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to a subdirectory node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A list of <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a>s. Free with <code class="function">g_slist_free()</code>
when done.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-from-node-request"></a><h3>infc_browser_iter_from_node_request ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_from_node_request (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> *request</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to point to the node <em class="parameter"><code>request</code></em> is related to. If there is no such
node (someone could have deleted it while the request is still running),
the function returns <code class="literal">FALSE</code> and <em class="parameter"><code>iter</code></em> is unchanged.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> issued by <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-from-explore-request"></a><h3>infc_browser_iter_from_explore_request ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_from_explore_request
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code><a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> *request</code></em>,
<em class="parameter"><code><a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Sets <em class="parameter"><code>iter</code></em> to the node <em class="parameter"><code>request</code></em> is currently exploring. If there is no such
node (someone could have deleted it while exploring), the function returns
<code class="literal">FALSE</code> and lets <em class="parameter"><code>iter</code></em> untouched.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> exploring a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
<code class="literal">TRUE</code> if <em class="parameter"><code>iter</code></em> was set, <code class="literal">FALSE</code> otherwise.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-iter-is-valid"></a><h3>infc_browser_iter_is_valid ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span> infc_browser_iter_is_valid (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>,
<em class="parameter"><code>const <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter</code></em>);</pre>
<p>
Returns whether <em class="parameter"><code>iter</code></em> points to a valid node in <em class="parameter"><code>browser</code></em>. This is
generally the case for any <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> returned by one of the
InfcBrowser functions, it gets invalid however as soon as the node it
points to is removed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>Whether <em class="parameter"><code>iter</code></em> points to a node in <em class="parameter"><code>browser</code></em>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-subscribe-chat"></a><h3>infc_browser_subscribe_chat ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_subscribe_chat (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Attempts to subscribe to the server's chat. When the operation finishes
<a class="link" href="InfcBrowser.html#infc-browser-get-chat-session" title="infc_browser_get_chat_session ()"><code class="function">infc_browser_get_chat_session()</code></a> will return a <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a>
representing the chat session. It can be used to read the chat's content.
The request can fail in case the server chat is disabled.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that may be used to get notified when
the request finishes or fails.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-get-subscribe-chat-request"></a><h3>infc_browser_get_subscribe_chat_request ()</h3>
<pre class="programlisting"><a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="returnvalue">InfcNodeRequest</span></a> * infc_browser_get_subscribe_chat_request
(<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> that represests the request sent to the server
which attempts to subscribe to its chat. If there is no such request
running, then the function returns <code class="literal">NULL</code>. After such a request finishes,
call <a class="link" href="InfcBrowser.html#infc-browser-get-chat-session" title="infc_browser_get_chat_session ()"><code class="function">infc_browser_get_chat_session()</code></a> to get the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> for the
chat session. To initiate the request, call <a class="link" href="InfcBrowser.html#infc-browser-subscribe-chat" title="infc_browser_subscribe_chat ()"><code class="function">infc_browser_subscribe_chat()</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a>, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="infc-browser-get-chat-session"></a><h3>infc_browser_get_chat_session ()</h3>
<pre class="programlisting"><a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="returnvalue">InfcSessionProxy</span></a> * infc_browser_get_chat_session (<em class="parameter"><code><a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser</code></em>);</pre>
<p>
Returns the <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> representing the running chat session if the
local client is subscribed to it, or <code class="literal">NULL</code> otherwise.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a>.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>A <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> for the chat, or <code class="literal">NULL</code>.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="InfcBrowser.property-details"></a><h2>Property Details</h2>
<div class="refsect2">
<a name="InfcBrowser--chat-session"></a><h3>The <code class="literal">"chat-session"</code> property</h3>
<pre class="programlisting"> "chat-session" <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a>* : Read</pre>
<p>Active chat session.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser--communication-manager"></a><h3>The <code class="literal">"communication-manager"</code> property</h3>
<pre class="programlisting"> "communication-manager" <a class="link" href="InfCommunicationManager.html" title="InfCommunicationManager"><span class="type">InfCommunicationManager</span></a>* : Read / Write / Construct Only</pre>
<p>The communication manager for the browser.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser--connection"></a><h3>The <code class="literal">"connection"</code> property</h3>
<pre class="programlisting"> "connection" <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a>* : Read / Write / Construct Only</pre>
<p>Connection to the server exposing the directory to browse.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser--io"></a><h3>The <code class="literal">"io"</code> property</h3>
<pre class="programlisting"> "io" <a class="link" href="InfIo.html" title="InfIo"><span class="type">InfIo</span></a>* : Read / Write / Construct Only</pre>
<p>The InfIo to schedule timeouts.</p>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser--status"></a><h3>The <code class="literal">"status"</code> property</h3>
<pre class="programlisting"> "status" <a class="link" href="InfcBrowser.html#InfcBrowserStatus"><span class="type">InfcBrowserStatus</span></a> : Read</pre>
<p>The current connectivity status of the browser.</p>
<p>Default value: INFC_BROWSER_DISCONNECTED</p>
</div>
</div>
<div class="refsect1">
<a name="InfcBrowser.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="InfcBrowser-begin-explore"></a><h3>The <code class="literal">"begin-explore"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter,
<a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> *request,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
This signal is emitted when a subdirectory is started to be explored.
<em class="parameter"><code>request</code></em> can be used to get notified when the exploration was finished.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the siganl.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to the node being explored.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcExploreRequest.html" title="InfcExploreRequest"><span class="type">InfcExploreRequest</span></a> for the operation.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-begin-subscribe"></a><h3>The <code class="literal">"begin-subscribe"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter,
<a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> *request,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
This signal is emitted whenever a subscription request for a
(non-subdirectory) node is made. Note that the subscription may still
fail (connect to <a class="link" href="InfcNodeRequest.html#InfcNodeRequest-finished" title='The "finished" signal'><span class="type">"finished"</span></a> and <a class="link" href="InfcRequest.html#InfcRequest-failed" title='The "failed" signal'><span class="type">"failed"</span></a>
to be notified).
</p>
<p>
If <em class="parameter"><code>iter</code></em> is <code class="literal">NULL</code> the signal refers to the chat session, otherwise it
points to the node to whose session the client requested a subscription.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to the node to which the subscription
starts, or <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>request</code></em> :</span></p></td>
<td>A <a class="link" href="InfcNodeRequest.html" title="InfcNodeRequest"><span class="type">InfcNodeRequest</span></a> for the operation.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-error"></a><h3>The <code class="literal">"error"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<span class="type">gpointer</span> error,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
This signal is emitted whenever an error occured. If the browser's
underlying <a class="link" href="InfXmlConnection.html" title="InfXmlConnection"><span class="type">InfXmlConnection</span></a> produces emits <a class="link" href="InfXmlConnection.html#InfXmlConnection-error" title='The "error" signal'><span class="type">"error"</span></a>,
then this signal will be emitted with the corresponding error as well.
Also, if another error occurs on the browser level this signal is
emitted. It may or may not be fatal. If it is fatal then the browser's
status will change to <a class="link" href="InfcBrowser.html#INFC-BROWSER-DISCONNECTED:CAPS"><code class="literal">INFC_BROWSER_DISCONNECTED</code></a>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the signal.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td>A <em class="parameter"><code>GError</code></em>* saying what's wrong.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-node-added"></a><h3>The <code class="literal">"node-added"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
Emitted when a new node was added in the browser. This can happen either
while exploring a subdirectory, or when a new node was added on the
server. In the latter case the signal is only emitted when the
parent directory of the newly created node is already explored.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the siganl.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to the created node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-node-removed"></a><h3>The <code class="literal">"node-removed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
This signal is emitted every time a node is removed from the browser.
This happens when the corresponding node is removed at the server. The
signal is emitted only when the parent directory of the removed node
is already explored. The signal can also be emitted on non-empty
subdirectory nodes in which case all children are also removed.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the siganl.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to the removed node.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="InfcBrowser-subscribe-session"></a><h3>The <code class="literal">"subscribe-session"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> *browser,
<a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> *iter,
<a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> *proxy,
<span class="type">gpointer</span> user_data) : <code class="literal">Run Last</code></pre>
<p>
Emitted when subscribed to a session. The subscription was successful,
but the synchronization (the server sending the initial session state)
might still fail. Use <a class="link" href="InfSession.html#InfSession-synchronization-complete" title='The "synchronization-complete" signal'><span class="type">"synchronization-complete"</span></a> and
<a class="link" href="InfSession.html#InfSession-synchronization-failed" title='The "synchronization-failed" signal'><span class="type">"synchronization-failed"</span></a> to be notified.
</p>
<p>
If <em class="parameter"><code>iter</code></em> is <code class="literal">NULL</code> this is a subscription to the chat. This guarantees
<em class="parameter"><code>proxy</code></em>'s session to be a <a class="link" href="InfChatSession.html" title="InfChatSession"><span class="type">InfChatSession</span></a>. If <em class="parameter"><code>iter</code></em> is non-<code class="literal">NULL</code> this is a
subscription to the session of the node pointed to by <em class="parameter"><code>iter</code></em>.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>browser</code></em> :</span></p></td>
<td>The <a class="link" href="InfcBrowser.html" title="InfcBrowser"><span class="type">InfcBrowser</span></a> emitting the siganl.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td>A <a class="link" href="InfcBrowserIter.html" title="InfcBrowserIter"><span class="type">InfcBrowserIter</span></a> pointing to the subscribed node, or <code class="literal">NULL</code>.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
<td>A <a class="link" href="InfcSessionProxy.html" title="InfcSessionProxy"><span class="type">InfcSessionProxy</span></a> for the subscribed session.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1">
<a name="InfcBrowser.see-also"></a><h2>See Also</h2>
<a class="link" href="InfdDirectory.html" title="InfdDirectory"><span class="type">InfdDirectory</span></a>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
</body>
</html>
|