aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_protocols.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-16 20:46:39 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-16 20:46:39 +0200
commitbe0475f2a583d203465d3091ff933806a5ace613 (patch)
treecbb1ad1a27cd91a6ff1ccb8025595cbe4c15972a /src/include/gnunet_protocols.h
parentf1f40feb2beb5c036da0e2b93c433b09b920e0b4 (diff)
downloadgnunet-be0475f2a583d203465d3091ff933806a5ace613.tar.gz
gnunet-be0475f2a583d203465d3091ff933806a5ace613.zip
split of set union from set service (preliminary)
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r--src/include/gnunet_protocols.h132
1 files changed, 132 insertions, 0 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index 5af58664f..c3fcde0b9 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -1659,9 +1659,141 @@ 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 565
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 566
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 567
1729
1730/**
1731 * Tell the other peer which hashes match a
1732 * given IBF key.
1733 */
1734#define GNUNET_MESSAGE_TYPE_SETU_P2P_OFFER 568
1735
1736/**
1737 * Request a set union operation from a remote peer.
1738 */
1739#define GNUNET_MESSAGE_TYPE_SETU_P2P_OPERATION_REQUEST 581
1740
1741/**
1742 * Strata estimator.
1743 */
1744#define GNUNET_MESSAGE_TYPE_SETU_P2P_SE 582
1745
1746/**
1747 * Invertible bloom filter.
1748 */
1749#define GNUNET_MESSAGE_TYPE_SETU_P2P_IBF 583
1750
1751/**
1752 * Actual set elements.
1753 */
1754#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENTS 584
1755
1756/**
1757 * Requests for the elements with the given hashes.
1758 */
1759#define GNUNET_MESSAGE_TYPE_SETU_P2P_ELEMENT_REQUESTS 585
1760
1761/**
1762 * Set operation is done.
1763 */
1764#define GNUNET_MESSAGE_TYPE_SETU_P2P_DONE 586
1765
1766/**
1767 * Compressed strata estimator.
1768 */
1769#define GNUNET_MESSAGE_TYPE_SETU_P2P_SEC 590
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 597
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 598
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 599
1790
1791
1792/*******************************************************************************
1662 * SET message types 1793 * SET message types
1663 ******************************************************************************/ 1794 ******************************************************************************/
1664 1795
1796
1665/** 1797/**
1666 * Demand the whole element from the other 1798 * Demand the whole element from the other
1667 * peer, given only the hash code. 1799 * peer, given only the hash code.