aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_protocols.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r--src/include/gnunet_protocols.h94
1 files changed, 80 insertions, 14 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index c3fcde0b9..e9a2b1c0e 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1713,80 +1713,146 @@ extern "C" {
1713 * Demand the whole element from the other 1713 * Demand the whole element from the other
1714 * peer, given only the hash code. 1714 * peer, given only the hash code.
1715 */ 1715 */
1716#define GNUNET_MESSAGE_TYPE_SETU_P2P_REQUEST_FULL 565 1716#define GNUNET_MESSAGE_TYPE_SETU_P2P_REQUEST_FULL 559
1717 1717
1718/** 1718/**
1719 * Demand the whole element from the other 1719 * Demand the whole element from the other
1720 * peer, given only the hash code. 1720 * peer, given only the hash code.
1721 */ 1721 */
1722#define GNUNET_MESSAGE_TYPE_SETU_P2P_DEMAND 566 1722#define GNUNET_MESSAGE_TYPE_SETU_P2P_DEMAND 560
1723 1723
1724/** 1724/**
1725 * Tell the other peer to send us a list of 1725 * Tell the other peer to send us a list of
1726 * hashes that match an IBF key. 1726 * hashes that match an IBF key.
1727 */ 1727 */
1728#define GNUNET_MESSAGE_TYPE_SETU_P2P_INQUIRY 567 1728#define GNUNET_MESSAGE_TYPE_SETU_P2P_INQUIRY 561
1729 1729
1730/** 1730/**
1731 * Tell the other peer which hashes match a 1731 * Tell the other peer which hashes match a
1732 * given IBF key. 1732 * given IBF key.
1733 */ 1733 */
1734#define GNUNET_MESSAGE_TYPE_SETU_P2P_OFFER 568 1734#define GNUNET_MESSAGE_TYPE_SETU_P2P_OFFER 562
1735 1735
1736/** 1736/**
1737 * Request a set union operation from a remote peer. 1737 * Request a set union operation from a remote peer.
1738 */ 1738 */
1739#define GNUNET_MESSAGE_TYPE_SETU_P2P_OPERATION_REQUEST 581 1739#define GNUNET_MESSAGE_TYPE_SETU_P2P_OPERATION_REQUEST 563
1740 1740
1741/** 1741/**
1742 * Strata estimator. 1742 * Strata estimator.
1743 */ 1743 */
1744#define GNUNET_MESSAGE_TYPE_SETU_P2P_SE 582 1744#define GNUNET_MESSAGE_TYPE_SETU_P2P_SE 564
1745 1745
1746/** 1746/**
1747 * Invertible bloom filter. 1747 * Invertible bloom filter.
1748 */ 1748 */
1749#define GNUNET_MESSAGE_TYPE_SETU_P2P_IBF 583 1749#define GNUNET_MESSAGE_TYPE_SETU_P2P_IBF 565
1750 1750
1751/** 1751/**
1752 * Actual set elements. 1752 * Actual set elements.
1753 */ 1753 */
1754#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENTS 584 1754#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENTS 566
1755 1755
1756/** 1756/**
1757 * Requests for the elements with the given hashes. 1757 * Requests for the elements with the given hashes.
1758 */ 1758 */
1759#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENT_REQUESTS 585 1759#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENT_REQUESTS 567
1760 1760
1761/** 1761/**
1762 * Set operation is done. 1762 * Set operation is done.
1763 */ 1763 */
1764#define GNUNET_MESSAGE_TYPE_SETU_P2P_DONE 586 1764#define GNUNET_MESSAGE_TYPE_SETU_P2P_DONE 568
1765 1765
1766/** 1766/**
1767 * Compressed strata estimator. 1767 * Compressed strata estimator.
1768 */ 1768 */
1769#define GNUNET_MESSAGE_TYPE_SETU_P2P_SEC 590 1769#define GNUNET_MESSAGE_TYPE_SETU_P2P_SEC 569
1770 1770
1771/** 1771/**
1772 * Request all missing elements from the other peer, 1772 * Request all missing elements from the other peer,
1773 * based on their sets and the elements we previously sent 1773 * based on their sets and the elements we previously sent
1774 * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS. 1774 * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS.
1775 */ 1775 */
1776#define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_DONE 597 1776#define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_DONE 570
1777 1777
1778/** 1778/**
1779 * Send a set element, not as response to a demand but because 1779 * Send a set element, not as response to a demand but because
1780 * we're sending the full set. 1780 * we're sending the full set.
1781 */ 1781 */
1782#define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_ELEMENT 598 1782#define GNUNET_MESSAGE_TYPE_SETU_P2P_FULL_ELEMENT 571
1783 1783
1784/** 1784/**
1785 * Request all missing elements from the other peer, 1785 * Request all missing elements from the other peer,
1786 * based on their sets and the elements we previously sent 1786 * based on their sets and the elements we previously sent
1787 * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS. 1787 * with #GNUNET_MESSAGE_TYPE_SET_P2P_ELEMENTS.
1788 */ 1788 */
1789#define GNUNET_MESSAGE_TYPE_SETU_P2P_OVER 599 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
1790 1856
1791 1857
1792/******************************************************************************* 1858/*******************************************************************************