diff options
Diffstat (limited to 'src/include/gnunet_protocols.h')
-rw-r--r-- | src/include/gnunet_protocols.h | 41 |
1 files changed, 10 insertions, 31 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 1fb153673..b60fe65d4 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -1878,52 +1878,31 @@ extern "C" | |||
1878 | */ | 1878 | */ |
1879 | #define GNUNET_MESSAGE_TYPE_MULTICAST_REQUEST | 1879 | #define GNUNET_MESSAGE_TYPE_MULTICAST_REQUEST |
1880 | 1880 | ||
1881 | |||
1882 | /** | 1881 | /** |
1883 | * A peer wants to join the group. | 1882 | * A peer wants to join the group. |
1884 | * | 1883 | * |
1885 | * Unicast message to a group member. | 1884 | * Unicast message to the origin or another group member. |
1886 | */ | ||
1887 | #define GNUNET_MESSAGE_TYPE_MULTICAST_REQUEST_JOIN | ||
1888 | |||
1889 | /** | ||
1890 | * A join request was rejected. | ||
1891 | * | ||
1892 | * Unicast response to a join request. | ||
1893 | */ | 1885 | */ |
1894 | #define GNUNET_MESSAGE_TYPE_MULTICAST_REJECT_JOIN | 1886 | #define GNUNET_MESSAGE_TYPE_MULTICAST_JOIN_REQUEST |
1895 | 1887 | ||
1896 | /** | 1888 | /** |
1897 | * A peer joined the group. | 1889 | * Response to a join request. |
1898 | * | 1890 | * |
1899 | * Sent to all members by the origin. | 1891 | * Unicast message from a group member to the peer wanting to join. |
1900 | */ | ||
1901 | #define GNUNET_MESSAGE_TYPE_MULTICAST_NOTICE_JOIN | ||
1902 | |||
1903 | /** | ||
1904 | * A peer wants to leave the group. | ||
1905 | */ | ||
1906 | #define GNUNET_MESSAGE_TYPE_MULTICAST_REQUEST_LEAVE | ||
1907 | |||
1908 | /** | ||
1909 | * A peer left the group. | ||
1910 | */ | 1892 | */ |
1911 | #define GNUNET_MESSAGE_TYPE_MULTICAST_NOTICE_LEAVE | 1893 | #define GNUNET_MESSAGE_TYPE_MULTICAST_JOIN_DECISION |
1912 | 1894 | ||
1913 | /** | 1895 | /** |
1914 | * Ping request from a peer. | 1896 | * A peer wants to part the group. |
1915 | * | ||
1916 | * A ping is sent after a period of inactivity and contains the last received | ||
1917 | * message ID. | ||
1918 | */ | 1897 | */ |
1919 | #define GNUNET_MESSAGE_TYPE_MULTICAST_PEER_PING | 1898 | #define GNUNET_MESSAGE_TYPE_MULTICAST_PART_REQUEST |
1920 | 1899 | ||
1921 | /** | 1900 | /** |
1922 | * Response to a ping. | 1901 | * Acknowledgement sent in response to a part request. |
1923 | * | 1902 | * |
1924 | * Contains the last received message ID. | 1903 | * Unicast message from a group member to the peer wanting to part. |
1925 | */ | 1904 | */ |
1926 | #define GNUNET_MESSAGE_TYPE_MULTICAST_PEER_PONG | 1905 | #define GNUNET_MESSAGE_TYPE_MULTICAST_PART_ACK |
1927 | 1906 | ||
1928 | /** | 1907 | /** |
1929 | * Group terminated. | 1908 | * Group terminated. |