~ubuntu-branches/ubuntu/raring/clamav/raring-updates

« back to all changes in this revision

Viewing changes to freshclam/dns.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2011-06-18 11:56:34 UTC
  • mfrom: (0.35.21 sid)
  • Revision ID: james.westby@ubuntu.com-20110618115634-u2lovivet0qx34d0
Tags: 0.97.1+dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop build-dep on electric-fence (in Universe)
  - Add apparmor profiles for clamd and freshclam along with maintainer
    script changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef __DNS_H
21
21
#define __DNS_H
22
22
 
23
 
char *txtquery(const char *domain, unsigned int *ttl);
 
23
#if HAVE_CONFIG_H
 
24
#include "clamav-config.h"
 
25
#endif
 
26
 
 
27
#ifdef HAVE_RESOLV_H
 
28
#ifndef _WIN32
 
29
#include <netinet/in.h>
 
30
#include <arpa/nameser.h>
 
31
#endif
 
32
#include <resolv.h>
 
33
#endif
 
34
 
 
35
char *dnsquery(const char *domain, int qtype, unsigned int *ttl);
24
36
 
25
37
#endif