djbdnscurve6 45
djbdnscurve6
Loading...
Searching...
No Matches
Macros | Functions | Variables
dnscache-conf.c File Reference
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "hasdevtcp.h"
#include <pwd.h>
#include "buffer.h"
#include "uint_t.h"
#include "taia.h"
#include "str.h"
#include "open.h"
#include "logmsg.h"
#include "exit.h"
#include "auto_home.h"
#include "generic-conf.h"
Include dependency graph for dnscache-conf.c:

Go to the source code of this file.

Macros

#define WHO   "dnscache-conf"
 

Functions

void usage (void)
 
void seed_adduint32 (uint32 u)
 
void seed_addtime (void)
 
int main (int argc, char **argv)
 

Variables

int fdrootservers
 
char rootserversbuf [64]
 
buffer ssrootservers
 
char * dir
 
char * user
 
char * loguser
 
struct passwd * pw
 
const char * myip
 
uint32 seed [32]
 
int seedpos = 0
 

Macro Definition Documentation

◆ WHO

#define WHO   "dnscache-conf"

Definition at line 19 of file dnscache-conf.c.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 65 of file dnscache-conf.c.

Here is the call graph for this function:

◆ seed_addtime()

void seed_addtime ( void  )

Definition at line 53 of file dnscache-conf.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ seed_adduint32()

void seed_adduint32 ( uint32  u)

Definition at line 39 of file dnscache-conf.c.

Here is the caller graph for this function:

◆ usage()

void usage ( void  )

Definition at line 21 of file dnscache-conf.c.

Here is the caller graph for this function:

Variable Documentation

◆ dir

char* dir

Definition at line 30 of file dnscache-conf.c.

◆ fdrootservers

int fdrootservers

Definition at line 26 of file dnscache-conf.c.

◆ loguser

char* loguser

Definition at line 32 of file dnscache-conf.c.

◆ myip

const char* myip

Definition at line 34 of file dnscache-conf.c.

◆ pw

struct passwd* pw

Definition at line 33 of file dnscache-conf.c.

◆ rootserversbuf

char rootserversbuf[64]

Definition at line 27 of file dnscache-conf.c.

◆ seed

uint32 seed[32]

Definition at line 36 of file dnscache-conf.c.

◆ seedpos

int seedpos = 0

Definition at line 37 of file dnscache-conf.c.

◆ ssrootservers

buffer ssrootservers

Definition at line 28 of file dnscache-conf.c.

◆ user

char* user

Definition at line 31 of file dnscache-conf.c.