00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef DNSNULL_H
00018 #define DNSNULL_H
00019
00020 #ifdef HAVE_CONFIG_H
00021 #include "config.h"
00022 #endif
00023
00024 #include "Dns.h"
00025
00031 class DnsNull : public Dns
00032 {
00033 public:
00035 DnsNull(Logger *log) { }
00036
00038 ~DnsNull() {}
00039
00041 void addDnsRecord(int id, const char *dname, DnsRecordType type,
00042 const char *data) { }
00043
00045 void delDnsRecords(char *dname) { }
00046
00048 void delDnsRecord(int id, const char *dname, DnsRecordType type,
00049 const char *data) { }
00050
00051 void updateDnsRecord(int id, const char *dname, DnsRecordType type,
00052 const char *data) { }
00053
00054 private:
00056 DnsNull() { };
00057
00058
00059 };
00060
00061 #endif // DNSNULL_H