#include "config.h"
#include <stdio.h>
#include <ldns/ldns.h>
Go to the source code of this file.
Defines | |
#define | SE_ADFILE_MAXLINE 65535 |
Functions | |
ldns_rr * | adutil_lookup_soa_rr (FILE *fd) |
int | adutil_readline_frm_file (FILE *fd, char *line, unsigned int *l) |
void | adutil_rtrim_line (char *line, int *line_len) |
int | adutil_whitespace_line (char *line, int line_len) |
ldns_rr* adutil_lookup_soa_rr | ( | FILE * | fd | ) |
Lookup SOA RR.
[in] | fd | file descriptor |
Lookup SOA RR.
Definition at line 49 of file adutil.c.
References adutil_readline_frm_file(), and adutil_rtrim_line().
Referenced by adfile_read().
int adutil_readline_frm_file | ( | FILE * | fd, | |
char * | line, | |||
unsigned int * | l | |||
) |
Read one line from file.
[in] | fd | file descriptor of zonefile |
[out] | line | the one line |
[out] | l | keeps track of line numbers |
Read one line from zone file.
Definition at line 84 of file adutil.c.
References ods_fgetc(), and ods_log_error().
Referenced by adutil_lookup_soa_rr().
void adutil_rtrim_line | ( | char * | line, | |
int * | line_len | |||
) |
Definition at line 193 of file adutil.c.
Referenced by adutil_lookup_soa_rr().