GNUnet  0.11.x
Macros | Functions | Variables
gnunet-messenger.c File Reference

Print information about messenger groups. More...

#include <stdio.h>
#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_messenger_service.h"
Include dependency graph for gnunet-messenger.c:

Go to the source code of this file.

Macros

#define MAX_BUFFER_SIZE   60000
 

Functions

void on_message (void *cls, struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Contact *sender, const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash, enum GNUNET_MESSENGER_MessageFlags flags)
 Function called whenever a message is received or sent. More...
 
static void shutdown_hook (void *cls)
 Task to shut down this application. More...
 
static void listen_stdio (void *cls)
 Wait for input on STDIO and send it out over the ch. More...
 
static int iterate_send_private_message (void *cls, struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Contact *contact)
 
static void read_stdio (void *cls)
 Task run in stdio mode, after some data is available at stdin. More...
 
static void idle (void *cls)
 Initial task to startup application. More...
 
static void on_identity (void *cls, struct GNUNET_MESSENGER_Handle *handle)
 Function called when an identity is retrieved. More...
 
static void run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
 Main function that will be run by the scheduler. More...
 
int main (int argc, char **argv)
 The main function to obtain messenger information. More...
 

Variables

struct GNUNET_MESSENGER_Handlemessenger
 
struct GNUNET_SCHEDULER_Taskread_task
 
int private_mode
 
char * door_id
 
char * ego_name
 
char * room_key
 
struct GNUNET_SCHEDULER_Taskshutdown_task
 

Detailed Description

Print information about messenger groups.

Author
Tobias Frisch

Definition in file gnunet-messenger.c.

Macro Definition Documentation

◆ MAX_BUFFER_SIZE

#define MAX_BUFFER_SIZE   60000

Definition at line 127 of file gnunet-messenger.c.

Function Documentation

◆ on_message()

void on_message ( void *  cls,
struct GNUNET_MESSENGER_Room room,
const struct GNUNET_MESSENGER_Contact sender,
const struct GNUNET_MESSENGER_Message message,
const struct GNUNET_HashCode hash,
enum GNUNET_MESSENGER_MessageFlags  flags 
)

Function called whenever a message is received or sent.

Parameters
[in/out]cls Closure
[in]roomRoom
[in]senderSender of message
[in]messageMessage
[in]hashHash of message
[in]flagsFlags of message

Definition at line 45 of file gnunet-messenger.c.

51 {
52  const char *sender_name = GNUNET_MESSENGER_contact_get_name (sender);
53 
54  if (!sender_name)
55  sender_name = "anonymous";
56 
57  printf ("[%s] ", GNUNET_sh2s(&(message->header.sender_id)));
58 
60  printf ("*");
61 
62  switch (message->header.kind)
63  {
65  {
66  printf ("* '%s' joined the room!\n", sender_name);
67  break;
68  }
70  {
71  printf ("* '%s' gets renamed to '%s'\n", sender_name, message->body.name.name);
72  break;
73  }
75  {
76  printf ("* '%s' leaves the room!\n", sender_name);
77  break;
78  }
80  {
81  printf ("* '%s' opened the room on: %s\n", sender_name, GNUNET_i2s_full (&(message->body.peer.peer)));
82  break;
83  }
85  {
86  if (flags & GNUNET_MESSENGER_FLAG_SENT)
87  printf (">");
88  else
89  printf ("<");
90 
91  printf (" '%s' says: \"%s\"\n", sender_name, message->body.text.text);
92  break;
93  }
94  default:
95  {
96  printf ("~ message: %s\n", GNUNET_MESSENGER_name_of_kind(message->header.kind));
97  break;
98  }
99  }
100 }
const char * GNUNET_sh2s(const struct GNUNET_ShortHashCode *shc)
Convert a short hash value to a string (for printing debug messages).
const char * GNUNET_i2s_full(const struct GNUNET_PeerIdentity *pid)
Convert a peer identity to a string (for printing debug messages).
const char * GNUNET_MESSENGER_contact_get_name(const struct GNUNET_MESSENGER_Contact *contact)
Get the name used by the contact.
const char * GNUNET_MESSENGER_name_of_kind(enum GNUNET_MESSENGER_MessageKind kind)
Get the name of a message kind.
Definition: messenger_api.c:35
@ GNUNET_MESSENGER_KIND_NAME
The name kind.
@ GNUNET_MESSENGER_KIND_LEAVE
The leave kind.
@ GNUNET_MESSENGER_KIND_PEER
The peer kind.
@ GNUNET_MESSENGER_KIND_TEXT
The text kind.
@ GNUNET_MESSENGER_KIND_JOIN
The join kind.
@ GNUNET_MESSENGER_FLAG_PRIVATE
The private flag.
@ GNUNET_MESSENGER_FLAG_SENT
The sent flag.
struct GNUNET_MESSENGER_MessageText text
struct GNUNET_MESSENGER_MessageName name
struct GNUNET_MESSENGER_MessagePeer peer
enum GNUNET_MESSENGER_MessageKind kind
The kind of the message.
struct GNUNET_ShortHashCode sender_id
The senders id inside of the room the message was sent in.
char * name
The new name which replaces the current senders name.
struct GNUNET_PeerIdentity peer
The peer identity of the sender opening a room.
char * text
The containing text.
struct GNUNET_MESSENGER_MessageHeader header
Header.
struct GNUNET_MESSENGER_MessageBody body
Body.

References GNUNET_MESSENGER_Message::body, GNUNET_i2s_full(), GNUNET_MESSENGER_contact_get_name(), GNUNET_MESSENGER_FLAG_PRIVATE, GNUNET_MESSENGER_FLAG_SENT, GNUNET_MESSENGER_KIND_JOIN, GNUNET_MESSENGER_KIND_LEAVE, GNUNET_MESSENGER_KIND_NAME, GNUNET_MESSENGER_KIND_PEER, GNUNET_MESSENGER_KIND_TEXT, GNUNET_MESSENGER_name_of_kind(), GNUNET_sh2s(), GNUNET_MESSENGER_Message::header, GNUNET_MESSENGER_MessageHeader::kind, GNUNET_MESSENGER_MessageName::name, GNUNET_MESSENGER_MessageBody::name, GNUNET_MESSENGER_MessagePeer::peer, GNUNET_MESSENGER_MessageBody::peer, GNUNET_MESSENGER_MessageHeader::sender_id, GNUNET_MESSENGER_MessageText::text, and GNUNET_MESSENGER_MessageBody::text.

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shutdown_hook()

static void shutdown_hook ( void *  cls)
static

Task to shut down this application.

Parameters
[in/out]cls Closure

Definition at line 110 of file gnunet-messenger.c.

111 {
112  struct GNUNET_MESSENGER_Room *room = cls;
113 
114  if (read_task)
116 
117  if (room)
119 
120  if (messenger)
122 }
struct GNUNET_MESSENGER_Handle * messenger
struct GNUNET_SCHEDULER_Task * read_task
void GNUNET_MESSENGER_disconnect(struct GNUNET_MESSENGER_Handle *handle)
Disconnect all of the messengers used services and clears up its used memory.
void GNUNET_MESSENGER_close_room(struct GNUNET_MESSENGER_Room *room)
Close a room which was entered, opened or both in various order and variety.
void * GNUNET_SCHEDULER_cancel(struct GNUNET_SCHEDULER_Task *task)
Cancel the task with the specified identifier.
Definition: scheduler.c:972

References GNUNET_MESSENGER_close_room(), GNUNET_MESSENGER_disconnect(), GNUNET_SCHEDULER_cancel(), messenger, and read_task.

Referenced by on_identity(), and run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ listen_stdio()

static void listen_stdio ( void *  cls)
static

Wait for input on STDIO and send it out over the ch.

Parameters
[in/out]cls Closure

Definition at line 190 of file gnunet-messenger.c.

191 {
192  read_task = NULL;
193 
195 
197 
200  NULL, &read_stdio, cls);
201 
203 }
static void read_stdio(void *cls)
Task run in stdio mode, after some data is available at stdin.
@ GNUNET_SCHEDULER_PRIORITY_DEFAULT
Run with the default priority (normal P2P operations).
struct GNUNET_NETWORK_FDSet * GNUNET_NETWORK_fdset_create(void)
Creates an fd set.
Definition: network.c:1245
void GNUNET_NETWORK_fdset_destroy(struct GNUNET_NETWORK_FDSet *fds)
Releases the associated memory of an fd set.
Definition: network.c:1261
void GNUNET_NETWORK_fdset_set_native(struct GNUNET_NETWORK_FDSet *to, int nfd)
Set a native fd in a set.
Definition: network.c:1132
struct GNUNET_SCHEDULER_Task * GNUNET_SCHEDULER_add_select(enum GNUNET_SCHEDULER_Priority prio, struct GNUNET_TIME_Relative delay, const struct GNUNET_NETWORK_FDSet *rs, const struct GNUNET_NETWORK_FDSet *ws, GNUNET_SCHEDULER_TaskCallback task, void *task_cls)
Schedule a new task to be run with a specified delay or when any of the specified file descriptor set...
Definition: scheduler.c:1841
#define GNUNET_TIME_UNIT_FOREVER_REL
Constant used to specify "forever".
collection of IO descriptors

References GNUNET_NETWORK_fdset_create(), GNUNET_NETWORK_fdset_destroy(), GNUNET_NETWORK_fdset_set_native(), GNUNET_SCHEDULER_add_select(), GNUNET_SCHEDULER_PRIORITY_DEFAULT, GNUNET_TIME_UNIT_FOREVER_REL, read_stdio(), and read_task.

Referenced by idle(), and read_stdio().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ iterate_send_private_message()

static int iterate_send_private_message ( void *  cls,
struct GNUNET_MESSENGER_Room room,
const struct GNUNET_MESSENGER_Contact contact 
)
static

Definition at line 130 of file gnunet-messenger.c.

133 {
134  struct GNUNET_MESSENGER_Message *message = cls;
135 
137  GNUNET_MESSENGER_send_message (room, message, contact);
138 
139  return GNUNET_YES;
140 }
@ GNUNET_YES
Definition: gnunet_common.h:97
const struct GNUNET_IDENTITY_PublicKey * GNUNET_MESSENGER_contact_get_key(const struct GNUNET_MESSENGER_Contact *contact)
Get the public key used by the contact or NULL if the anonymous key was used.
void GNUNET_MESSENGER_send_message(struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_MESSENGER_Contact *contact)
Send a message into a room.

References GNUNET_MESSENGER_contact_get_key(), GNUNET_MESSENGER_send_message(), and GNUNET_YES.

Referenced by read_stdio().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_stdio()

static void read_stdio ( void *  cls)
static

Task run in stdio mode, after some data is available at stdin.

Parameters
[in/out]cls Closure

Definition at line 150 of file gnunet-messenger.c.

151 {
152  read_task = NULL;
153 
154  char buffer[MAX_BUFFER_SIZE];
155  ssize_t length;
156 
157  length = read (0, buffer, MAX_BUFFER_SIZE);
158 
159  if ((length <= 0) || (length >= MAX_BUFFER_SIZE))
160  {
162  return;
163  }
164 
165  if (buffer[length - 1] == '\n')
166  buffer[length - 1] = '\0';
167  else
168  buffer[length] = '\0';
169 
170  struct GNUNET_MESSENGER_Room *room = cls;
171 
172  struct GNUNET_MESSENGER_Message message;
174  message.body.text.text = buffer;
175 
176  if (GNUNET_YES == private_mode)
178  else
179  GNUNET_MESSENGER_send_message (room, &message, NULL);
180 
182 }
static void listen_stdio(void *cls)
Wait for input on STDIO and send it out over the ch.
int private_mode
static int iterate_send_private_message(void *cls, struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Contact *contact)
#define MAX_BUFFER_SIZE
int GNUNET_MESSENGER_iterate_members(struct GNUNET_MESSENGER_Room *room, GNUNET_MESSENGER_MemberCallback callback, void *cls)
Iterates through all members of a given room and calls a selected callback for each of them with a pr...
void GNUNET_SCHEDULER_shutdown(void)
Request the shutdown of a scheduler.
Definition: scheduler.c:531
struct GNUNET_SCHEDULER_Task * GNUNET_SCHEDULER_add_now(GNUNET_SCHEDULER_TaskCallback task, void *task_cls)
Schedule a new task to be run as soon as possible.
Definition: scheduler.c:1296

References GNUNET_MESSENGER_Message::body, GNUNET_MESSENGER_iterate_members(), GNUNET_MESSENGER_KIND_TEXT, GNUNET_MESSENGER_send_message(), GNUNET_SCHEDULER_add_now(), GNUNET_SCHEDULER_shutdown(), GNUNET_YES, GNUNET_MESSENGER_Message::header, iterate_send_private_message(), GNUNET_MESSENGER_MessageHeader::kind, listen_stdio(), MAX_BUFFER_SIZE, private_mode, read_task, GNUNET_MESSENGER_MessageText::text, and GNUNET_MESSENGER_MessageBody::text.

Referenced by listen_stdio().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ idle()

static void idle ( void *  cls)
static

Initial task to startup application.

Parameters
[in/out]cls Closure

Definition at line 211 of file gnunet-messenger.c.

212 {
213  struct GNUNET_MESSENGER_Room *room = cls;
214 
215  printf ("* You joined the room.\n");
216 
218 }

References GNUNET_SCHEDULER_add_now(), listen_stdio(), and read_task.

Referenced by on_identity(), and updateUsage().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ on_identity()

static void on_identity ( void *  cls,
struct GNUNET_MESSENGER_Handle handle 
)
static

Function called when an identity is retrieved.

Parameters
[in/out]cls Closure
[in/out]handle Handle of messenger service

Definition at line 233 of file gnunet-messenger.c.

235 {
236  struct GNUNET_HashCode key;
237  memset (&key, 0, sizeof(key));
238 
239  if (room_key)
240  GNUNET_CRYPTO_hash (room_key, strlen (room_key), &key);
241 
242  struct GNUNET_PeerIdentity door_peer;
243  struct GNUNET_PeerIdentity *door = NULL;
244 
245  if ((door_id) &&
246  (GNUNET_OK == GNUNET_CRYPTO_eddsa_public_key_from_string (door_id, strlen (door_id), &(door_peer.public_key))))
247  door = &door_peer;
248 
249  const char *name = GNUNET_MESSENGER_get_name (handle);
250 
251  if (!name)
252  name = "anonymous";
253 
254  printf ("* Welcome to the messenger, '%s'!\n", name);
255 
256  struct GNUNET_MESSENGER_Room *room;
257 
258  if (door)
259  {
260  printf ("* You try to entry a room...\n");
261 
262  room = GNUNET_MESSENGER_enter_room (messenger, door, &key);
263  }
264  else
265  {
266  printf ("* You try to open a room...\n");
267 
269  }
270 
272 
274 
275  if (!room)
277  else
278  {
279  struct GNUNET_MESSENGER_Message message;
281  message.body.name.name = GNUNET_strdup(name);
282 
283  GNUNET_MESSENGER_send_message (room, &message, NULL);
284  GNUNET_free(message.body.name.name);
285 
287  room);
288  }
289 }
struct GNUNET_HashCode key
The key used in the DHT.
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
static void idle(void *cls)
Initial task to startup application.
char * door_id
struct GNUNET_SCHEDULER_Task * shutdown_task
char * room_key
static void shutdown_hook(void *cls)
Task to shut down this application.
@ GNUNET_SCHEDULER_PRIORITY_IDLE
Run when otherwise idle.
@ GNUNET_OK
Definition: gnunet_common.h:95
enum GNUNET_GenericReturnValue GNUNET_CRYPTO_eddsa_public_key_from_string(const char *enc, size_t enclen, struct GNUNET_CRYPTO_EddsaPublicKey *pub)
Convert a string representing a public key to a public key.
Definition: crypto_ecc.c:357
void GNUNET_CRYPTO_hash(const void *block, size_t size, struct GNUNET_HashCode *ret)
Compute hash of a given block.
Definition: crypto_hash.c:41
#define GNUNET_strdup(a)
Wrapper around GNUNET_xstrdup_.
#define GNUNET_free(ptr)
Wrapper around free.
const char * GNUNET_MESSENGER_get_name(const struct GNUNET_MESSENGER_Handle *handle)
Get the name (if specified, otherwise NULL) used by the messenger.
struct GNUNET_MESSENGER_Room * GNUNET_MESSENGER_enter_room(struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_PeerIdentity *door, const struct GNUNET_HashCode *key)
Enter a room to send and receive messages through a door opened using GNUNET_MESSENGER_open_room.
struct GNUNET_MESSENGER_Room * GNUNET_MESSENGER_open_room(struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key)
Open a room to send and receive messages.
struct GNUNET_SCHEDULER_Task * GNUNET_SCHEDULER_add_delayed_with_priority(struct GNUNET_TIME_Relative delay, enum GNUNET_SCHEDULER_Priority priority, GNUNET_SCHEDULER_TaskCallback task, void *task_cls)
Schedule a new task to be run with a specified delay.
Definition: scheduler.c:1199
struct GNUNET_SCHEDULER_Task * GNUNET_SCHEDULER_add_shutdown(GNUNET_SCHEDULER_TaskCallback task, void *task_cls)
Schedule a new task to be run on shutdown, that is when a CTRL-C signal is received,...
Definition: scheduler.c:1331
struct GNUNET_TIME_Relative GNUNET_TIME_relative_get_zero_(void)
Return relative time of 0ms.
Definition: time.c:100
const char * name
A 512-bit hashcode.
The identity of the host (wraps the signing key of the peer).

References GNUNET_MESSENGER_Message::body, door_id, GNUNET_CRYPTO_eddsa_public_key_from_string(), GNUNET_CRYPTO_hash(), GNUNET_free, GNUNET_MESSENGER_enter_room(), GNUNET_MESSENGER_get_name(), GNUNET_MESSENGER_KIND_NAME, GNUNET_MESSENGER_open_room(), GNUNET_MESSENGER_send_message(), GNUNET_OK, GNUNET_SCHEDULER_add_delayed_with_priority(), GNUNET_SCHEDULER_add_shutdown(), GNUNET_SCHEDULER_cancel(), GNUNET_SCHEDULER_PRIORITY_IDLE, GNUNET_SCHEDULER_shutdown(), GNUNET_strdup, GNUNET_TIME_relative_get_zero_(), handle, GNUNET_MESSENGER_Message::header, idle(), key, GNUNET_MESSENGER_MessageHeader::kind, messenger, name, GNUNET_MESSENGER_MessageName::name, GNUNET_MESSENGER_MessageBody::name, GNUNET_PeerIdentity::public_key, room_key, shutdown_hook(), and shutdown_task.

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

static void run ( void *  cls,
char *const *  args,
const char *  cfgfile,
const struct GNUNET_CONFIGURATION_Handle cfg 
)
static

Main function that will be run by the scheduler.

Parameters
[in/out]cls closure
[in]argsremaining command-line arguments
[in]cfgfilename of the configuration file used (for saving, can be NULL!)
[in]cfgconfiguration

Definition at line 300 of file gnunet-messenger.c.

304 {
306 
308 }
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
Definition: gnunet-abd.c:36
static void on_identity(void *cls, struct GNUNET_MESSENGER_Handle *handle)
Function called when an identity is retrieved.
void on_message(void *cls, struct GNUNET_MESSENGER_Room *room, const struct GNUNET_MESSENGER_Contact *sender, const struct GNUNET_MESSENGER_Message *message, const struct GNUNET_HashCode *hash, enum GNUNET_MESSENGER_MessageFlags flags)
Function called whenever a message is received or sent.
char * ego_name
struct GNUNET_MESSENGER_Handle * GNUNET_MESSENGER_connect(const struct GNUNET_CONFIGURATION_Handle *cfg, const char *name, GNUNET_MESSENGER_IdentityCallback identity_callback, void *identity_cls, GNUNET_MESSENGER_MessageCallback msg_callback, void *msg_cls)
Set up a handle for the messenger related functions and connects to all necessary services.

References cfg, ego_name, GNUNET_MESSENGER_connect(), GNUNET_SCHEDULER_add_shutdown(), messenger, on_identity(), on_message(), shutdown_hook(), and shutdown_task.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char **  argv 
)

The main function to obtain messenger information.

Parameters
[in]argcnumber of arguments from the command line
[in]argvcommand line arguments
Returns
#EXIT_SUCCESS ok, #EXIT_FAILURE on error

Definition at line 318 of file gnunet-messenger.c.

320 {
321  const char *description = "Open and connect to rooms using the MESSENGER to chat.";
322 
324  {
325  GNUNET_GETOPT_option_string ('d', "door", "PEERIDENTITY", "peer identity to entry into the room", &door_id),
326  GNUNET_GETOPT_option_string ('e', "ego", "IDENTITY", "identity to use for messaging", &ego_name),
327  GNUNET_GETOPT_option_string ('r', "room", "ROOMKEY", "key of the room to connect to", &room_key),
328  GNUNET_GETOPT_option_flag ('p', "private", "flag to enable private mode", &private_mode),
330  };
331 
332  return (GNUNET_OK == GNUNET_PROGRAM_run (argc, argv, "gnunet-messenger\0", gettext_noop(description), options, &run,
333  NULL) ? EXIT_SUCCESS : EXIT_FAILURE);
334 }
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_OPTION_END
Definition: 002.c:13
struct GNUNET_GETOPT_CommandLineOption options[]
Definition: 002.c:5
#define gettext_noop(String)
Definition: gettext.h:69
static void run(void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
Main function that will be run by the scheduler.
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_flag(char shortName, const char *name, const char *description, int *val)
Allow user to specify a flag (which internally means setting an integer to 1/GNUNET_YES/GNUNET_OK.
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_string(char shortName, const char *name, const char *argumentHelp, const char *description, char **str)
Allow user to specify a string.
enum GNUNET_GenericReturnValue GNUNET_PROGRAM_run(int argc, char *const *argv, const char *binaryName, const char *binaryHelp, const struct GNUNET_GETOPT_CommandLineOption *options, GNUNET_PROGRAM_Main task, void *task_cls)
Run a standard GNUnet command startup sequence (initialize loggers and configuration,...
Definition: program.c:364
Definition of a command line option.
const char * description
Help text for the option (description)

References GNUNET_GETOPT_CommandLineOption::description, door_id, ego_name, gettext_noop, GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_flag(), GNUNET_GETOPT_option_string(), GNUNET_OK, GNUNET_PROGRAM_run(), options, private_mode, room_key, and run().

Here is the call graph for this function:

Variable Documentation

◆ messenger

struct GNUNET_MESSENGER_Handle* messenger

Definition at line 32 of file gnunet-messenger.c.

Referenced by on_identity(), run(), and shutdown_hook().

◆ read_task

struct GNUNET_SCHEDULER_Task* read_task

Definition at line 102 of file gnunet-messenger.c.

Referenced by idle(), listen_stdio(), read_stdio(), and shutdown_hook().

◆ private_mode

int private_mode

Definition at line 142 of file gnunet-messenger.c.

Referenced by main(), and read_stdio().

◆ door_id

char* door_id

Definition at line 220 of file gnunet-messenger.c.

Referenced by main(), and on_identity().

◆ ego_name

char* ego_name

Definition at line 221 of file gnunet-messenger.c.

Referenced by identity_zone_cb(), main(), and run().

◆ room_key

char* room_key

Definition at line 222 of file gnunet-messenger.c.

Referenced by main(), and on_identity().

◆ shutdown_task

struct GNUNET_SCHEDULER_Task* shutdown_task

Definition at line 224 of file gnunet-messenger.c.

Referenced by continuation_print(), on_identity(), and run().