GNUnet debian-0.24.3-26-g2202bbd4d
ConnectNotifyMessage Struct Reference

Message sent by the service to clients to notify them about a peer connecting. More...

#include </home/buildbot/bb-worker/worker/gnunet_release/build/src/service/core/core.h>

Collaboration diagram for ConnectNotifyMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header with type GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT. More...
 
uint32_t reserved
 Always zero. More...
 
struct GNUNET_PeerIdentity peer
 Identity of the connecting peer. More...
 
enum GNUNET_CORE_PeerClass peer_class
 Class of the connecting peer TODO is it correct to send an enum like this? More...
 

Detailed Description

Message sent by the service to clients to notify them about a peer connecting.

Definition at line 128 of file core.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader ConnectNotifyMessage::header

Header with type GNUNET_MESSAGE_TYPE_CORE_NOTIFY_CONNECT.

Definition at line 133 of file core.h.

◆ reserved

uint32_t ConnectNotifyMessage::reserved

Always zero.

Definition at line 138 of file core.h.

Referenced by GSC_CLIENTS_notify_client_about_neighbour().

◆ peer

struct GNUNET_PeerIdentity ConnectNotifyMessage::peer

Identity of the connecting peer.

Definition at line 143 of file core.h.

Referenced by GSC_CLIENTS_notify_client_about_neighbour(), and handle_connect_notify().

◆ peer_class

enum GNUNET_CORE_PeerClass ConnectNotifyMessage::peer_class

Class of the connecting peer TODO is it correct to send an enum like this?

Definition at line 149 of file core.h.

Referenced by GSC_CLIENTS_notify_client_about_neighbour(), and handle_connect_notify().


The documentation for this struct was generated from the following file: