DTNMA Reference Tools v2.0.0 - 9.gaff6489
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
|
Parameters for ARI text encoding. More...
#include <text.h>
Data Fields | |
enum cace_ari_text_scheme_prefix_e | scheme_prefix |
True if the scheme is present at the start of the text. | |
enum cace_ari_text_aritype_e | show_ari_type |
Determine how to show cace_ari_type_t values. | |
enum cace_ari_int_base_e | int_base |
Desired base of integer values. | |
char | float_form |
One of 'f', 'g', or 'e' for decimal format, or 'a' for hexadecimal. | |
bool | text_identity |
True if specific text can be left unquoted. | |
enum cace_ari_bstr_form_e | bstr_form |
Desired encoding form for byte string values. | |
bool | time_text |
True if time values should be in text form. | |
Parameters for ARI text encoding.
Use CACE_ARI_TEXT_ENC_OPTS_DEFAULT to initialize these contents.
enum cace_ari_bstr_form_e cace_ari_text_enc_opts_t::bstr_form |
Desired encoding form for byte string values.
This defaults to base-16 (hexadecimal strings).
enum cace_ari_int_base_e cace_ari_text_enc_opts_t::int_base |
Desired base of integer values.
This defaults to 10 (decimal).
enum cace_ari_text_scheme_prefix_e cace_ari_text_enc_opts_t::scheme_prefix |
True if the scheme is present at the start of the text.
This defaults to CACE_ARI_TEXT_SCHEME_FIRST.
enum cace_ari_text_aritype_e cace_ari_text_enc_opts_t::show_ari_type |
Determine how to show cace_ari_type_t values.
This defaults to CACE_ARI_TEXT_ARITYPE_TEXT.
bool cace_ari_text_enc_opts_t::time_text |
True if time values should be in text form.
False to use decimal fraction form.