diff options
author | t3sserakt <t3ss@posteo.de> | 2020-08-28 17:57:44 +0200 |
---|---|---|
committer | t3sserakt <t3ss@posteo.de> | 2020-08-28 17:57:53 +0200 |
commit | 2b552a5f5e85fab1c14af73735c0de61b46cc3dc (patch) | |
tree | 1ed739ddb116d77a7f2dfcc69c013f0eb9f731e7 /src/include/gnunet_protocols.h | |
parent | 03f6a0233f72c2c4c3925f0d6f6f7a81987c6530 (diff) | |
parent | bbf9540c93da3c6b950920ee7eaae479c95403c5 (diff) | |
download | gnunet-2b552a5f5e85fab1c14af73735c0de61b46cc3dc.tar.gz gnunet-2b552a5f5e85fab1c14af73735c0de61b46cc3dc.zip |
Merge branch 'master' of ssh://gnunet.org/gnunet
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 215 |
1 files changed, 209 insertions, 6 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 5af58664f..d9821ffe8 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -1659,9 +1659,212 @@ extern "C" { | |||
1659 | 1659 | ||
1660 | 1660 | ||
1661 | /******************************************************************************* | 1661 | /******************************************************************************* |
1662 | * SETU message types | ||
1663 | ******************************************************************************/ | ||
1664 | |||
1665 | |||
1666 | /** | ||
1667 | * Cancel a set operation | ||
1668 | */ | ||
1669 | #define GNUNET_MESSAGE_TYPE_SETU_CANCEL 550 | ||
1670 | |||
1671 | /** | ||
1672 | * Add element to set | ||
1673 | */ | ||
1674 | #define GNUNET_MESSAGE_TYPE_SETU_ADD 551 | ||
1675 | |||
1676 | /** | ||
1677 | * Create a new local set | ||
1678 | */ | ||
1679 | #define GNUNET_MESSAGE_TYPE_SETU_CREATE 552 | ||
1680 | |||
1681 | /** | ||
1682 | * Handle result message from operation | ||
1683 | */ | ||
1684 | #define GNUNET_MESSAGE_TYPE_SETU_RESULT 553 | ||
1685 | |||
1686 | /** | ||
1687 | * Evaluate a set operation | ||
1688 | */ | ||
1689 | #define GNUNET_MESSAGE_TYPE_SETU_EVALUATE 554 | ||
1690 | |||
1691 | /** | ||
1692 | * Listen for operation requests | ||
1693 | */ | ||
1694 | #define GNUNET_MESSAGE_TYPE_SETU_LISTEN 555 | ||
1695 | |||
1696 | /** | ||
1697 | * Reject a set request. | ||
1698 | */ | ||
1699 | #define GNUNET_MESSAGE_TYPE_SETU_REJECT 556 | ||
1700 | |||
1701 | /** | ||
1702 | * Accept an incoming set request | ||
1703 | */ | ||
1704 | #define GNUNET_MESSAGE_TYPE_SETU_ACCEPT 557 | ||
1705 | |||
1706 | /** | ||
1707 | * Notify the client of an incoming request from a remote peer | ||
1708 | */ | ||
1709 | #define GNUNET_MESSAGE_TYPE_SETU_REQUEST 558 | ||
1710 | |||
1711 | |||
1712 | /** | ||
1713 | * Demand the whole element from the other | ||
1714 | * peer, given only the hash code. | ||
1715 | */ | ||
1716 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_REQUEST_FULL 559 | ||
1717 | |||
1718 | /** | ||
1719 | * Demand the whole element from the other | ||
1720 | * peer, given only the hash code. | ||
1721 | */ | ||
1722 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_DEMAND 560 | ||
1723 | |||
1724 | /** | ||
1725 | * Tell the other peer to send us a list of | ||
1726 | * hashes that match an IBF key. | ||
1727 | */ | ||
1728 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_INQUIRY 561 | ||
1729 | |||
1730 | /** | ||
1731 | * Tell the other peer which hashes match a | ||
1732 | * given IBF key. | ||
1733 | */ | ||
1734 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_OFFER 562 | ||
1735 | |||
1736 | /** | ||
1737 | * Request a set union operation from a remote peer. | ||
1738 | */ | ||
1739 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_OPERATION_REQUEST 563 | ||
1740 | |||
1741 | /** | ||
1742 | * Strata estimator. | ||
1743 | */ | ||
1744 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_SE 564 | ||
1745 | |||
1746 | /** | ||
1747 | * Invertible bloom filter. | ||
1748 | */ | ||
1749 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_IBF 565 | ||
1750 | |||
1751 | /** | ||
1752 | * Actual set elements. | ||
1753 | */ | ||
1754 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENTS 566 | ||
1755 | |||
1756 | /** | ||
1757 | * Requests for the elements with the given hashes. | ||
1758 | */ | ||
1759 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENT_REQUESTS 567 | ||
1760 | |||
1761 | /** | ||
1762 | * Set operation is done. | ||
1763 | */ | ||
1764 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_DONE 568 | ||
1765 | |||
1766 | /** | ||
1767 | * Compressed strata estimator. | ||
1768 | */ | ||
1769 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_SEC 569 | ||
1770 | |||
1771 | /** | ||
1772 | * Request all missing elements from the other peer, | ||
1773 | * based on their sets and the elements we previously sent | ||
1774 | * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS. | ||
1775 | */ | ||
1776 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_DONE 570 | ||
1777 | |||
1778 | /** | ||
1779 | * Send a set element, not as response to a demand but because | ||
1780 | * we're sending the full set. | ||
1781 | */ | ||
1782 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_ELEMENT 571 | ||
1783 | |||
1784 | /** | ||
1785 | * Request all missing elements from the other peer, | ||
1786 | * based on their sets and the elements we previously sent | ||
1787 | * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS. | ||
1788 | */ | ||
1789 | #define GNUNET_MESSAGE_TYPE_SETU_P2P_OVER 572 | ||
1790 | |||
1791 | |||
1792 | /******************************************************************************* | ||
1793 | * SETI message types | ||
1794 | ******************************************************************************/ | ||
1795 | |||
1796 | |||
1797 | /** | ||
1798 | * Cancel a set operation | ||
1799 | */ | ||
1800 | #define GNUNET_MESSAGE_TYPE_SETI_CANCEL 580 | ||
1801 | |||
1802 | /** | ||
1803 | * Add element to set. | ||
1804 | */ | ||
1805 | #define GNUNET_MESSAGE_TYPE_SETI_ADD 581 | ||
1806 | |||
1807 | /** | ||
1808 | * Create a new local set | ||
1809 | */ | ||
1810 | #define GNUNET_MESSAGE_TYPE_SETI_CREATE 582 | ||
1811 | |||
1812 | /** | ||
1813 | * Handle result message from operation | ||
1814 | */ | ||
1815 | #define GNUNET_MESSAGE_TYPE_SETI_RESULT 583 | ||
1816 | |||
1817 | /** | ||
1818 | * Evaluate a set operation | ||
1819 | */ | ||
1820 | #define GNUNET_MESSAGE_TYPE_SETI_EVALUATE 584 | ||
1821 | |||
1822 | /** | ||
1823 | * Listen for operation requests | ||
1824 | */ | ||
1825 | #define GNUNET_MESSAGE_TYPE_SETI_LISTEN 585 | ||
1826 | |||
1827 | /** | ||
1828 | * Reject a set request. | ||
1829 | */ | ||
1830 | #define GNUNET_MESSAGE_TYPE_SETI_REJECT 586 | ||
1831 | |||
1832 | /** | ||
1833 | * Accept an incoming set request | ||
1834 | */ | ||
1835 | #define GNUNET_MESSAGE_TYPE_SETI_ACCEPT 587 | ||
1836 | |||
1837 | /** | ||
1838 | * Notify the client of an incoming request from a remote peer | ||
1839 | */ | ||
1840 | #define GNUNET_MESSAGE_TYPE_SETI_REQUEST 588 | ||
1841 | |||
1842 | /** | ||
1843 | * Information about the element count for intersection | ||
1844 | */ | ||
1845 | #define GNUNET_MESSAGE_TYPE_SETI_P2P_ELEMENT_INFO 591 | ||
1846 | |||
1847 | /** | ||
1848 | * Bloom filter message for intersection exchange started by Bob. | ||
1849 | */ | ||
1850 | #define GNUNET_MESSAGE_TYPE_SETI_P2P_BF 592 | ||
1851 | |||
1852 | /** | ||
1853 | * Intersection operation is done. | ||
1854 | */ | ||
1855 | #define GNUNET_MESSAGE_TYPE_SETI_P2P_DONE 593 | ||
1856 | |||
1857 | /** | ||
1858 | * Request to begin set intersection operation. | ||
1859 | */ | ||
1860 | #define GNUNET_MESSAGE_TYPE_SETI_P2P_OPERATION_REQUEST 594 | ||
1861 | |||
1862 | |||
1863 | /******************************************************************************* | ||
1662 | * SET message types | 1864 | * SET message types |
1663 | ******************************************************************************/ | 1865 | ******************************************************************************/ |
1664 | 1866 | ||
1867 | |||
1665 | /** | 1868 | /** |
1666 | * Demand the whole element from the other | 1869 | * Demand the whole element from the other |
1667 | * peer, given only the hash code. | 1870 | * peer, given only the hash code. |
@@ -2697,17 +2900,17 @@ extern "C" { | |||
2697 | 2900 | ||
2698 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_DELETE 976 | 2901 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTRIBUTE_DELETE 976 |
2699 | 2902 | ||
2700 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_STORE 977 | 2903 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_STORE 977 |
2701 | 2904 | ||
2702 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_DELETE 978 | 2905 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_DELETE 978 |
2703 | 2906 | ||
2704 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_RESULT 979 | 2907 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_RESULT 979 |
2705 | 2908 | ||
2706 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_ITERATION_START 980 | 2909 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_ITERATION_START 980 |
2707 | 2910 | ||
2708 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_ITERATION_STOP 981 | 2911 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_ITERATION_STOP 981 |
2709 | 2912 | ||
2710 | #define GNUNET_MESSAGE_TYPE_RECLAIM_ATTESTATION_ITERATION_NEXT 982 | 2913 | #define GNUNET_MESSAGE_TYPE_RECLAIM_CREDENTIAL_ITERATION_NEXT 982 |
2711 | 2914 | ||
2712 | 2915 | ||
2713 | /************************************************** | 2916 | /************************************************** |