djbdnscurve6
38
djbdnscurve6
|
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "uint_t.h"
#include "str.h"
#include "byte.h"
#include "fmt.h"
#include "ip.h"
#include "exit.h"
#include "case.h"
#include "scan.h"
#include "buffer.h"
#include "logmsg.h"
#include "getln.h"
#include "cdbmake.h"
#include "stralloc.h"
#include "open.h"
#include "dns.h"
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | TTL_NS 259200 |
#define | TTL_POSITIVE 86400 |
#define | TTL_NEGATIVE 2560 |
#define | WHO "tinydns-data" |
#define | NUMFIELDS 15 |
Functions | |
int | rename (const char *, const char *) |
void | die_datatmp (void) |
void | nomem (void) |
void | ttdparse (stralloc *sa, char ttd[8]) |
void | locparse (stralloc *sa, char loc[2]) |
void | ipprefix_cat (stralloc *out, char *s) |
void | hexparse (stralloc *sa) |
void | txtparse (stralloc *sa) |
void | textparse (stralloc *sa) |
void | defaultsoa_init (int fd) |
void | rr_add (const char *buf, unsigned int len) |
void | rr_addname (const char *d) |
void | rr_start (const char type[2], unsigned long ttl, const char ttd[8], const char loc[2]) |
void | rr_finish (const char *owner) |
void | syntaxerror (const char *why) |
int | main () |
Variables | |
char | defaultsoa [20] |
int | fdcdb |
struct cdb_make | cdb |
buffer | b |
char | bspace [1024] |
int | match = 1 |
unsigned long | linenum = 0 |
char | d4ptr [DNS_NAME4_DOMAIN] |
char | d6ptr [DNS_NAME6_DOMAIN] |
char | strnum [FMT_ULONG] |
#define NUMFIELDS 15 |
Definition at line 219 of file tinydns-data.c.
#define TTL_NEGATIVE 2560 |
Definition at line 23 of file tinydns-data.c.
#define TTL_NS 259200 |
Definition at line 21 of file tinydns-data.c.
#define TTL_POSITIVE 86400 |
Definition at line 22 of file tinydns-data.c.
#define WHO "tinydns-data" |
Definition at line 25 of file tinydns-data.c.
void defaultsoa_init | ( | int | fd | ) |
Definition at line 159 of file tinydns-data.c.
void die_datatmp | ( | void | ) |
Definition at line 29 of file tinydns-data.c.
void hexparse | ( | stralloc * | sa | ) |
Definition at line 88 of file tinydns-data.c.
void ipprefix_cat | ( | stralloc * | out, |
char * | s | ||
) |
Definition at line 64 of file tinydns-data.c.
void locparse | ( | stralloc * | sa, |
char | loc[2] | ||
) |
Definition at line 58 of file tinydns-data.c.
int main | ( | ) |
Definition at line 244 of file tinydns-data.c.
void nomem | ( | void | ) |
Definition at line 34 of file tinydns-data.c.
int rename | ( | const char * | , |
const char * | |||
) |
void rr_add | ( | const char * | buf, |
unsigned int | len | ||
) |
Definition at line 175 of file tinydns-data.c.
void rr_addname | ( | const char * | d | ) |
Definition at line 180 of file tinydns-data.c.
void rr_finish | ( | const char * | owner | ) |
Definition at line 200 of file tinydns-data.c.
void rr_start | ( | const char | type[2], |
unsigned long | ttl, | ||
const char | ttd[8], | ||
const char | loc[2] | ||
) |
Definition at line 185 of file tinydns-data.c.
void syntaxerror | ( | const char * | why | ) |
Definition at line 229 of file tinydns-data.c.
void textparse | ( | stralloc * | sa | ) |
Definition at line 140 of file tinydns-data.c.
void ttdparse | ( | stralloc * | sa, |
char | ttd[8] | ||
) |
Definition at line 39 of file tinydns-data.c.
void txtparse | ( | stralloc * | sa | ) |
Definition at line 110 of file tinydns-data.c.
buffer b |
Definition at line 212 of file tinydns-data.c.
char bspace[1024] |
Definition at line 213 of file tinydns-data.c.
struct cdb_make cdb |
Definition at line 170 of file tinydns-data.c.
char d4ptr[DNS_NAME4_DOMAIN] |
Definition at line 224 of file tinydns-data.c.
char d6ptr[DNS_NAME6_DOMAIN] |
Definition at line 225 of file tinydns-data.c.
char defaultsoa[20] |
Definition at line 157 of file tinydns-data.c.
int fdcdb |
Definition at line 170 of file tinydns-data.c.
unsigned long linenum = 0 |
Definition at line 217 of file tinydns-data.c.
int match = 1 |
Definition at line 216 of file tinydns-data.c.
char strnum[FMT_ULONG] |
Definition at line 227 of file tinydns-data.c.