DTNMA Reference Tools v2.1.0 - 13.gc5c0bac
Delay-Tolerant Networking Management Architecture (DTNMA) Tool Suite
Loading...
Searching...
No Matches
endpoint.h File Reference

Manage logic for endpoints and endpoint pattern matching. More...

#include "agent.h"
#include "cace/ari/base.h"
#include <stdint.h>
+ Include dependency graph for endpoint.h:
+ This graph shows which files directly or indirectly include this file:

Functions

bool refda_endpoint_pat_match (const refda_agent_t *agent, const cace_ari_t *endpoint, const refda_amm_ident_base_t *pat)
 Match a specific endpoint value against a pattern reference.
 

Detailed Description

Manage logic for endpoints and endpoint pattern matching.

Function Documentation

◆ refda_endpoint_pat_match()

bool refda_endpoint_pat_match ( const refda_agent_t agent,
const cace_ari_t endpoint,
const refda_amm_ident_base_t pat 
)

Match a specific endpoint value against a pattern reference.

Parameters
[in]agentThe agent state for reference lookup.
[in]endpointThe endpoint to match.
[inpat The pattern reference to match with.
Returns
True if the endpoint matches the pattern.

References agent, cace_amm_lookup_t::aparams, cace_amm_lookup_deref(), cace_ari_cget_bstr(), cace_ari_cget_tstr_cstr(), cace_ari_get_uint(), CACE_ARI_TYPE_IDENT, CACE_LOG_DEBUG, CACE_LOG_ERR, refda_amm_ident_base_t::deref, cace_amm_idseg_val_t::intenum, cace_amm_obj_ns_t::model_id, cace_amm_lookup_t::ns, cace_amm_lookup_t::obj, cace_amm_obj_desc_t::obj_id, cace_amm_lookup_t::obj_type, refda_agent_t::objs, cace_ari_itemized_t::ordered, and cace_amm_obj_ns_t::org_id.

Referenced by refda_acl_search_endpoint().