Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
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, and ast_dns_record_get_rr_type().
Referenced by AST_TEST_DEFINE().
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 naptr::order.
Referenced by AST_TEST_DEFINE().
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, and ast_dns_record_get_rr_type().
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, and ast_dns_record_get_rr_type().
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, and ast_dns_record_get_rr_type().
Referenced by AST_TEST_DEFINE().
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, and ast_dns_record_get_rr_type().
Referenced by AST_TEST_DEFINE().