|
djbdnscurve6 46
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 "readclose.h"#include "open.h"#include "dns.h"
Go to the source code of this file.
Macros | |
| #define | TTL_NS 259200 |
| #define | TTL_POSITIVE 86400 |
| #define | TTL_NEGATIVE 2560 |
| #define | TXT_LABLEN 255 |
| #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_get (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 218 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 TXT_LABLEN 255 |
Definition at line 24 of file tinydns-data.c.
| #define WHO "tinydns-data" |
Definition at line 26 of file tinydns-data.c.
| void defaultsoa_init | ( | int | fd | ) |
| void die_datatmp | ( | void | ) |
| void hexparse | ( | stralloc * | sa | ) |
| void ipprefix_get | ( | stralloc * | out, |
| char * | s ) |
Definition at line 68 of file tinydns-data.c.


| void locparse | ( | stralloc * | sa, |
| char | loc[2] ) |
| int main | ( | ) |
| void nomem | ( | void | ) |
| int rename | ( | const char * | , |
| const char * | ) |

| void rr_add | ( | const char * | buf, |
| unsigned int | len ) |
Definition at line 174 of file tinydns-data.c.


| void rr_addname | ( | const char * | d | ) |
Definition at line 179 of file tinydns-data.c.


| void rr_finish | ( | const char * | owner | ) |
Definition at line 199 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 184 of file tinydns-data.c.


| void syntaxerror | ( | const char * | why | ) |
| void textparse | ( | stralloc * | sa | ) |
| void ttdparse | ( | stralloc * | sa, |
| char | ttd[8] ) |
| void txtparse | ( | stralloc * | sa | ) |
| buffer b |
Definition at line 211 of file tinydns-data.c.
| char bspace[1024] |
Definition at line 212 of file tinydns-data.c.
| struct cdb_make cdb |
Definition at line 169 of file tinydns-data.c.
| char d4ptr[DNS_NAME4_DOMAIN] |
Definition at line 223 of file tinydns-data.c.
| char d6ptr[DNS_NAME6_DOMAIN] |
Definition at line 224 of file tinydns-data.c.
| char defaultsoa[20] |
Definition at line 155 of file tinydns-data.c.
| int fdcdb |
Definition at line 168 of file tinydns-data.c.
| unsigned long linenum = 0 |
Definition at line 216 of file tinydns-data.c.
| int match = 1 |
Definition at line 215 of file tinydns-data.c.
| char strnum[FMT_ULONG] |
Definition at line 226 of file tinydns-data.c.