OpenDNSSEC-signer
1.3.4
|
#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) |
#define SE_ADFILE_MAXLINE 65535 |
Adapter utilities.
Definition at line 42 of file adutil.h.
Referenced by adutil_lookup_soa_rr(), and adutil_readline_frm_file().
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.
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(), ods_log_error(), and SE_ADFILE_MAXLINE.
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().
int adutil_whitespace_line | ( | char * | line, |
int | line_len | ||
) |