dns_tlsa.c File Reference

DNS TLSA Record Support. More...

#include "asterisk.h"
#include "asterisk/dns_core.h"
#include "asterisk/dns_tlsa.h"

Include dependency graph for dns_tlsa.c:

Go to the source code of this file.

Functions

const char * ast_dns_tlsa_get_association_data (const struct ast_dns_record *record)
 Get the certificate association data from a TLSA record.
unsigned int ast_dns_tlsa_get_matching_type (const struct ast_dns_record *record)
 Get the matching type field from a TLSA record.
unsigned int ast_dns_tlsa_get_selector (const struct ast_dns_record *record)
 Get the selector field from a TLSA record.
unsigned int ast_dns_tlsa_get_usage (const struct ast_dns_record *record)
 Get the certificate usage field from a TLSA record.


Detailed Description

DNS TLSA Record Support.

Author:
Joshua Colp <jcolp@digium.com>

Definition in file dns_tlsa.c.


Function Documentation

const char* ast_dns_tlsa_get_association_data ( const struct ast_dns_record record  ) 

Get the certificate association data from a TLSA record.

Parameters:
record The DNS record
Returns:
the certificate association data

Definition at line 52 of file dns_tlsa.c.

References NULL.

00053 {
00054    return NULL;
00055 }

unsigned int ast_dns_tlsa_get_matching_type ( const struct ast_dns_record record  ) 

Get the matching type field from a TLSA record.

Parameters:
record The DNS record
Returns:
the matching type field

Definition at line 47 of file dns_tlsa.c.

00048 {
00049    return 0;
00050 }

unsigned int ast_dns_tlsa_get_selector ( const struct ast_dns_record record  ) 

Get the selector field from a TLSA record.

Parameters:
record The DNS record
Returns:
the selector field

Definition at line 42 of file dns_tlsa.c.

00043 {
00044    return 0;
00045 }

unsigned int ast_dns_tlsa_get_usage ( const struct ast_dns_record record  ) 

Get the certificate usage field from a TLSA record.

Parameters:
record The DNS record
Returns:
the certificate usage field

Definition at line 37 of file dns_tlsa.c.

00038 {
00039    return 0;
00040 }


Generated on Thu Apr 16 06:30:45 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6