djbdnscurve6  38
djbdnscurve6
hier.c
Go to the documentation of this file.
1 #include "auto_home.h"
2 
3 extern void h(const char* home,int uid,int gid,int mode);
4 extern void d(const char* home,const char* subdir,int uid,int gid,int mode);
5 extern void c(const char* home,const char* subdir,const char* file,int uid,int gid,int mode);
6 
7 void hier()
8 {
9  c("/","etc","dnsroots.global",-1,-1,0644);
10 
11  h(auto_home,-1,-1,02755);
12  d(auto_home,"bin",-1,-1,02755);
13 
14  c(auto_home,"bin","dnscache-conf",-1,-1,0755);
15  c(auto_home,"bin","tinydns-conf",-1,-1,0755);
16  c(auto_home,"bin","walldns-conf",-1,-1,0755);
17  c(auto_home,"bin","rbldns-conf",-1,-1,0755);
18  c(auto_home,"bin","axfrdns-conf",-1,-1,0755);
19 
20  c(auto_home,"bin","dnscache",-1,-1,0755);
21  c(auto_home,"bin","tinydns",-1,-1,0755);
22  c(auto_home,"bin","walldns",-1,-1,0755);
23  c(auto_home,"bin","rbldns",-1,-1,0755);
24  c(auto_home,"bin","axfrdns",-1,-1,0755);
25 
26  c(auto_home,"bin","tinydns-get",-1,-1,0755);
27  c(auto_home,"bin","tinydns-data",-1,-1,0755);
28  c(auto_home,"bin","tinydns-edit",-1,-1,0755);
29  c(auto_home,"bin","rbldns-data",-1,-1,0755);
30  c(auto_home,"bin","axfr-get",-1,-1,0755);
31 
32  c(auto_home,"bin","dnsip",-1,-1,0755);
33  c(auto_home,"bin","dnsipq",-1,-1,0755);
34  c(auto_home,"bin","dnsname",-1,-1,0755);
35  c(auto_home,"bin","dnstxt",-1,-1,0755);
36  c(auto_home,"bin","dnsmx",-1,-1,0755);
37  c(auto_home,"bin","dnsfilter",-1,-1,0755);
38  c(auto_home,"bin","dnsqr",-1,-1,0755);
39  c(auto_home,"bin","dnsq",-1,-1,0755);
40  c(auto_home,"bin","dnstrace",-1,-1,0755);
41  c(auto_home,"bin","dnstracesort",-1,-1,0755);
42 }
const char auto_home[]
void hier()
Definition: hier.c:7
void h(const char *home, int uid, int gid, int mode)
void c(const char *home, const char *subdir, const char *file, int uid, int gid, int mode)
void d(const char *home, const char *subdir, int uid, int gid, int mode)
char mode
Definition: tinydns-edit.c:43