OpenDNSSEC-signer
1.4.1
|
#include "config.h"
#include <stdio.h>
#include <ldns/ldns.h>
Go to the source code of this file.
Macros | |
#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, int keep_comments) |
void | adutil_rtrim_line (char *line, int *line_len) |
int | adutil_whitespace_line (char *line, int line_len) |
#define SE_ADFILE_MAXLINE 65535 |
Adapter utilities.
Definition at line 42 of file adutil.h.
Referenced by adutil_lookup_soa_rr(), adutil_readline_frm_file(), axfr(), backup_read_ixfr(), backup_read_namedb(), and ixfr().
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(), adutil_rtrim_line(), and SE_ADFILE_MAXLINE.
int adutil_readline_frm_file | ( | FILE * | fd, |
char * | line, | ||
unsigned int * | l, | ||
int | keep_comments | ||
) |
Read one line from file.
[in] | fd | file descriptor of zonefile |
[out] | line | the one line |
[out] | l | keeps track of line numbers |
[in] | keep_comments | if true, keep comments |
Read one line from zone file.
Definition at line 84 of file adutil.c.
References ods_fgetc(), ods_log_error(), and SE_ADFILE_MAXLINE.
Referenced by addns_read_rr(), and adutil_lookup_soa_rr().
void adutil_rtrim_line | ( | char * | line, |
int * | line_len | ||
) |
Definition at line 194 of file adutil.c.
Referenced by addns_read_rr(), and adutil_lookup_soa_rr().
int adutil_whitespace_line | ( | char * | line, |
int | line_len | ||
) |
Check for white space.
[in] | line | line to be checked |
[in] | line_len | line length |
Check for white space.
Definition at line 224 of file adutil.c.
Referenced by addns_read_rr().