cadet service; dealing with hello messages More...
Go to the source code of this file.
Functions | |
void | GCH_init (const struct GNUNET_CONFIGURATION_Handle *c) |
Initialize the hello subsystem. More... | |
void | GCH_shutdown (void) |
Shut down the hello subsystem. More... | |
const struct GNUNET_HELLO_Message * | GCH_get_mine (void) |
Get own hello message. More... | |
cadet service; dealing with hello messages
All functions in this file should use the prefix GCH (Gnunet Cadet Hello)
Definition in file gnunet-service-cadet_hello.h.
void GCH_init | ( | const struct GNUNET_CONFIGURATION_Handle * | c | ) |
Initialize the hello subsystem.
c | Configuration. |
Definition at line 103 of file gnunet-service-cadet_hello.c.
References GNUNET_assert, GNUNET_NO, GNUNET_PEERINFO_connect(), GNUNET_PEERINFO_notify(), got_hello(), nc, and peerinfo.
Referenced by run().
void GCH_shutdown | ( | void | ) |
Shut down the hello subsystem.
Definition at line 118 of file gnunet-service-cadet_hello.c.
References GNUNET_free, GNUNET_PEERINFO_disconnect(), GNUNET_PEERINFO_notify_cancel(), mine, nc, and peerinfo.
Referenced by shutdown_rest().
const struct GNUNET_HELLO_Message* GCH_get_mine | ( | void | ) |
Get own hello message.
Definition at line 144 of file gnunet-service-cadet_hello.c.
References mine.
Referenced by announce_id().