Asterisk - The Open Source Telephony Project
18.5.0
|
DNS NAPTR Record Parsing API. More...
Go to the source code of this file.
Functions | |
const char * | ast_dns_naptr_get_flags (const struct ast_dns_record *record) |
Get the flags from a NAPTR record. More... | |
unsigned short | ast_dns_naptr_get_order (const struct ast_dns_record *record) |
Get the order from a NAPTR record. More... | |
unsigned short | ast_dns_naptr_get_preference (const struct ast_dns_record *record) |
Get the preference from a NAPTR record. More... | |
const char * | ast_dns_naptr_get_regexp (const struct ast_dns_record *record) |
Get the regular expression from a NAPTR record. More... | |
const char * | ast_dns_naptr_get_replacement (const struct ast_dns_record *record) |
Get the replacement value from a NAPTR record. More... | |
const char * | ast_dns_naptr_get_service (const struct ast_dns_record *record) |
Get the service from a NAPTR record. More... | |
DNS NAPTR Record Parsing API.
Definition in file dns_naptr.h.
const char* ast_dns_naptr_get_flags | ( | const struct ast_dns_record * | record | ) |
Get the flags from a NAPTR record.
record | The DNS record |
Definition at line 600 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::flags.
Referenced by AST_TEST_DEFINE(), and sip_resolve_handle_naptr().
unsigned short ast_dns_naptr_get_order | ( | const struct ast_dns_record * | record | ) |
Get the order from a NAPTR record.
record | The DNS record |
Definition at line 632 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::order.
Referenced by AST_TEST_DEFINE(), and sip_resolve_callback().
unsigned short ast_dns_naptr_get_preference | ( | const struct ast_dns_record * | record | ) |
Get the preference from a NAPTR record.
record | The DNS record |
Definition at line 640 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::preference.
Referenced by AST_TEST_DEFINE().
const char* ast_dns_naptr_get_regexp | ( | const struct ast_dns_record * | record | ) |
Get the regular expression from a NAPTR record.
record | The DNS record |
Definition at line 616 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::regexp.
Referenced by AST_TEST_DEFINE().
const char* ast_dns_naptr_get_replacement | ( | const struct ast_dns_record * | record | ) |
Get the replacement value from a NAPTR record.
record | The DNS record |
Definition at line 624 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::replacement.
Referenced by AST_TEST_DEFINE(), and sip_resolve_handle_naptr().
const char* ast_dns_naptr_get_service | ( | const struct ast_dns_record * | record | ) |
Get the service from a NAPTR record.
record | The DNS record |
Definition at line 608 of file dns_naptr.c.
References ast_assert, ast_dns_record_get_rr_type(), and ast_dns_naptr_record::service.
Referenced by AST_TEST_DEFINE(), and sip_resolve_handle_naptr().