|
DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
#include "ari.h"#include <cace/ari/text_util.h>#include <cace/ari/cbor.h>#include <cace/util/logging.h>#include <cace/util/defs.h>
Include dependency graph for ari.c:Functions | |
| int | test_util_ari_decode (cace_ari_t *ari, const char *inhex) |
| Decode an ARI from a hex-encoded text string. | |
| int | test_util_ari_encode (m_string_t outhex, const cace_ari_t *ari) |
| Encode an ARI to a hex-encoded text string. | |
| int test_util_ari_decode | ( | cace_ari_t * | ari, |
| const char * | inhex | ||
| ) |
Decode an ARI from a hex-encoded text string.
References cace_ari_cbor_decode(), cace_base16_decode(), cace_data_deinit(), cace_data_init(), CACE_LOG_ERR, and CHKERR1.
Referenced by check_execute(), check_produce(), TEST_CASE(), test_const_produce_noparam(), test_const_produce_param_one_int(), test_refda_adm_ietf_dtnma_agent_edd_produce(), test_refda_eval_target_failure(), test_refda_exec_state_based_rule(), test_refda_exec_state_based_rule_cond_false_then_true(), test_refda_exec_target(), test_refda_exec_time_based_rule(), and test_refda_reporting_target().
| int test_util_ari_encode | ( | m_string_t | outhex, |
| const cace_ari_t * | ari | ||
| ) |
Encode an ARI to a hex-encoded text string.
| [out] | outhex | An uninitialized string buffer. |
References cace_ari_cbor_encode(), cace_base16_encode(), cace_data_deinit(), cace_data_init(), CACE_LOG_ERR, and CHKERR1.
Referenced by test_refda_adm_ietf_dtnma_agent_edd_produce().