|
DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
Include dependency graph for msg_if.h:
This graph shows which files directly or indirectly include this file:Data Structures | |
| struct | cace_amm_msg_if_metadata_t |
| struct | cace_amm_msg_if_t |
| This message interface structure captures state necessary to use an ARI transport. More... | |
Macros | |
| #define | CACE_AMM_MSG_IF_RECV_END 2 |
| Status to indicate end-of-input. | |
Typedefs | |
| typedef int(* | cace_amm_msg_if_send_f) (const cace_ari_list_t data, const cace_amm_msg_if_metadata_t *meta, void *ctx) |
| Message sending function. | |
| typedef int(* | cace_amm_msg_if_recv_f) (cace_ari_list_t data, cace_amm_msg_if_metadata_t *meta, cace_daemon_run_t *running, void *ctx) |
| Message receiving function. | |
Functions | |
| void | cace_amm_msg_if_metadata_init (cace_amm_msg_if_metadata_t *meta) |
| void | cace_amm_msg_if_metadata_deinit (cace_amm_msg_if_metadata_t *meta) |
| #define CACE_AMM_MSG_IF_RECV_END 2 |
Status to indicate end-of-input.
| typedef int(* cace_amm_msg_if_recv_f) (cace_ari_list_t data, cace_amm_msg_if_metadata_t *meta, cace_daemon_run_t *running, void *ctx) |
Message receiving function.
| [out] | data | An empty list of ARIs to receive into. |
| [out] | meta | Pointer to reception metadata, which is never NULL. |
| [in] | running | Pointer to the daemon run state, which can be checked to know when to shut down the reading thread. |
| [in] | ctx | The user context, which may be NULL. |
data). | typedef int(* cace_amm_msg_if_send_f) (const cace_ari_list_t data, const cace_amm_msg_if_metadata_t *meta, void *ctx) |
Message sending function.
| [in] | data | The list of ARIs to send. |
| [in] | meta | The destination endpoint. |
| [in] | ctx | The user context, which may be NULL. |
| void cace_amm_msg_if_metadata_deinit | ( | cace_amm_msg_if_metadata_t * | meta | ) |
| void cace_amm_msg_if_metadata_init | ( | cace_amm_msg_if_metadata_t * | meta | ) |