GNUnet  0.17.6
Functions
transport_api_traits.c File Reference
#include "platform.h"
#include "gnunet_testing_ng_lib.h"
#include "gnunet_testing_netjail_lib.h"
#include "transport-testing-cmds.h"
#include "gnunet_util_lib.h"
Include dependency graph for transport_api_traits.c:

Go to the source code of this file.

Functions

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_peer_id (const struct GNUNET_TESTING_Command *cmd, const struct GNUNET_PeerIdentity **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_peer_id (const struct GNUNET_PeerIdentity *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_connected_peers_map (const struct GNUNET_TESTING_Command *cmd, const struct GNUNET_CONTAINER_MultiShortmap **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_connected_peers_map (const struct GNUNET_CONTAINER_MultiShortmap *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_hello_size (const struct GNUNET_TESTING_Command *cmd, const size_t **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_hello_size (const size_t *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_hello (const struct GNUNET_TESTING_Command *cmd, const char **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_hello (const char *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_application_handle (const struct GNUNET_TESTING_Command *cmd, const struct GNUNET_TRANSPORT_ApplicationHandle **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_application_handle (const struct GNUNET_TRANSPORT_ApplicationHandle *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_connect_peer_state (const struct GNUNET_TESTING_Command *cmd, const struct ConnectPeersState **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_connect_peer_state (const struct ConnectPeersState *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_state (const struct GNUNET_TESTING_Command *cmd, const struct StartPeerState **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_state (const struct StartPeerState *value)
 
enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_broadcast (const struct GNUNET_TESTING_Command *cmd, const enum GNUNET_GenericReturnValue **ret)
 
struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_broadcast (const enum GNUNET_GenericReturnValue *value)
 

Function Documentation

◆ GNUNET_TRANSPORT_get_trait_peer_id()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_peer_id ( const struct GNUNET_TESTING_Command cmd,
const struct GNUNET_PeerIdentity **  ret 
)

Definition at line 1 of file transport_api_traits.c.

◆ GNUNET_TRANSPORT_make_trait_peer_id()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_peer_id ( const struct GNUNET_PeerIdentity value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_connected_peers_map()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_connected_peers_map ( const struct GNUNET_TESTING_Command cmd,
const struct GNUNET_CONTAINER_MultiShortmap **  ret 
)

Definition at line 1 of file transport_api_traits.c.

Referenced by send_simple_run().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_make_trait_connected_peers_map()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_connected_peers_map ( const struct GNUNET_CONTAINER_MultiShortmap value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_hello_size()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_hello_size ( const struct GNUNET_TESTING_Command cmd,
const size_t **  ret 
)

Definition at line 1 of file transport_api_traits.c.

◆ GNUNET_TRANSPORT_make_trait_hello_size()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_hello_size ( const size_t *  value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_hello()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_hello ( const struct GNUNET_TESTING_Command cmd,
const char **  ret 
)

Definition at line 1 of file transport_api_traits.c.

◆ GNUNET_TRANSPORT_make_trait_hello()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_hello ( const char *  value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_application_handle()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_application_handle ( const struct GNUNET_TESTING_Command cmd,
const struct GNUNET_TRANSPORT_ApplicationHandle **  ret 
)

Definition at line 1 of file transport_api_traits.c.

Referenced by backchannel_check_run(), and connect_peers_run().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_make_trait_application_handle()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_application_handle ( const struct GNUNET_TRANSPORT_ApplicationHandle value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_connect_peer_state()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_connect_peer_state ( const struct GNUNET_TESTING_Command cmd,
const struct ConnectPeersState **  ret 
)

Definition at line 1 of file transport_api_traits.c.

◆ GNUNET_TRANSPORT_make_trait_connect_peer_state()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_connect_peer_state ( const struct ConnectPeersState value)

Definition at line 1 of file transport_api_traits.c.

◆ GNUNET_TRANSPORT_get_trait_state()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_state ( const struct GNUNET_TESTING_Command cmd,
const struct StartPeerState **  ret 
)

Definition at line 1 of file transport_api_traits.c.

Referenced by stop_peer_run().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_make_trait_state()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_state ( const struct StartPeerState value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_get_trait_broadcast()

enum GNUNET_GenericReturnValue GNUNET_TRANSPORT_get_trait_broadcast ( const struct GNUNET_TESTING_Command cmd,
const enum GNUNET_GenericReturnValue **  ret 
)

Definition at line 1 of file transport_api_traits.c.

Referenced by connect_peers_run().

Here is the caller graph for this function:

◆ GNUNET_TRANSPORT_make_trait_broadcast()

struct GNUNET_TESTING_Trait GNUNET_TRANSPORT_make_trait_broadcast ( const enum GNUNET_GenericReturnValue value)

Definition at line 1 of file transport_api_traits.c.

Referenced by start_peer_traits().

Here is the caller graph for this function: