#include "gnunet_util_lib.h"
#include "gnunet_testing_lib.h"
#include "gnunet_messenger_service.h"
#include "messenger-testing-cmds.h"
Go to the source code of this file.
Data Structures | |
struct | GNUNET_MESSENGER_StopServiceState |
Functions | |
static enum GNUNET_GenericReturnValue | cleanup_rooms_cb (void *cls, const struct GNUNET_HashCode *key, void *value) |
static void | stop_service_run (void *cls, struct GNUNET_TESTING_Interpreter *is) |
static void | stop_service_cleanup (void *cls) |
struct GNUNET_TESTING_Command | GNUNET_MESSENGER_cmd_stop_service (const char *label, const char *service_label) |
|
static |
Definition at line 38 of file testing_messenger_cmd_stop_service.c.
References GNUNET_MESSENGER_destroy_room_state(), and GNUNET_YES.
Referenced by stop_service_run().
|
static |
Definition at line 49 of file testing_messenger_cmd_stop_service.c.
References cleanup_rooms_cb(), GNUNET_CONTAINER_multihashmap_destroy(), GNUNET_CONTAINER_multihashmap_iterate(), GNUNET_MESSENGER_disconnect(), GNUNET_MESSENGER_get_trait_state(), GNUNET_TESTING_interpreter_lookup_command(), is, GNUNET_MESSENGER_StartServiceState::msg, and GNUNET_MESSENGER_StartServiceState::rooms.
Referenced by GNUNET_MESSENGER_cmd_stop_service().
|
static |
Definition at line 72 of file testing_messenger_cmd_stop_service.c.
References GNUNET_free, and GNUNET_MESSENGER_StopServiceState::service_label.
Referenced by GNUNET_MESSENGER_cmd_stop_service().
struct GNUNET_TESTING_Command GNUNET_MESSENGER_cmd_stop_service | ( | const char * | label, |
const char * | service_label | ||
) |
Definition at line 82 of file testing_messenger_cmd_stop_service.c.
References GNUNET_new, GNUNET_strdup, GNUNET_TESTING_command_new, GNUNET_MESSENGER_StopServiceState::service_label, stop_service_cleanup(), and stop_service_run().