aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn-dns.h
diff options
context:
space:
mode:
authorHeikki Lindholm <holin@iki.fi>2011-02-11 09:30:28 +0000
committerHeikki Lindholm <holin@iki.fi>2011-02-11 09:30:28 +0000
commitcf31c88fa64fb9bbe02478cf5adc179af4e9d725 (patch)
treeee09f2b487a9e631669657c7dc03078b01476aea /src/vpn/gnunet-daemon-vpn-dns.h
parentf54389f6724ecbd39389d53fba7b3bfdb2e0a8eb (diff)
downloadgnunet-cf31c88fa64fb9bbe02478cf5adc179af4e9d725.tar.gz
gnunet-cf31c88fa64fb9bbe02478cf5adc179af4e9d725.zip
defining stuff in headers confuses the linker
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn-dns.h')
-rw-r--r--src/vpn/gnunet-daemon-vpn-dns.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/vpn/gnunet-daemon-vpn-dns.h b/src/vpn/gnunet-daemon-vpn-dns.h
index f72a29ad1..d27599e48 100644
--- a/src/vpn/gnunet-daemon-vpn-dns.h
+++ b/src/vpn/gnunet-daemon-vpn-dns.h
@@ -29,12 +29,12 @@
29/** 29/**
30 * a list of outgoing dns-query-packets 30 * a list of outgoing dns-query-packets
31 */ 31 */
32struct query_packet_list *head; 32extern struct query_packet_list *head;
33 33
34/** 34/**
35 * The last element of the list of outgoing dns-query-packets 35 * The last element of the list of outgoing dns-query-packets
36 */ 36 */
37struct query_packet_list *tail; 37extern struct query_packet_list *tail;
38 38
39/** 39/**
40 * Callback called by notify_transmit_ready; sends dns-queries or rehijack-messages 40 * Callback called by notify_transmit_ready; sends dns-queries or rehijack-messages
@@ -57,7 +57,7 @@ void dns_answer_handler(void* cls, const struct GNUNET_MessageHeader *msg);
57/** 57/**
58 * The connection to the service-dns 58 * The connection to the service-dns
59 */ 59 */
60struct GNUNET_CLIENT_Connection *dns_connection; 60extern struct GNUNET_CLIENT_Connection *dns_connection;
61 61
62/** 62/**
63 * A flag to show that the service-dns has to rehijack the outbound dns-packets 63 * A flag to show that the service-dns has to rehijack the outbound dns-packets
@@ -65,7 +65,7 @@ struct GNUNET_CLIENT_Connection *dns_connection;
65 * This gets set when the helper restarts as the routing-tables are flushed when 65 * This gets set when the helper restarts as the routing-tables are flushed when
66 * the interface vanishes. 66 * the interface vanishes.
67 */ 67 */
68unsigned char restart_hijack; 68extern unsigned char restart_hijack;
69 69
70/** 70/**
71 * A list of processed dns-responses. 71 * A list of processed dns-responses.
@@ -73,11 +73,11 @@ unsigned char restart_hijack;
73 * "processed" means that the packet is complete and can be sent out via udp 73 * "processed" means that the packet is complete and can be sent out via udp
74 * directly 74 * directly
75 */ 75 */
76struct answer_packet_list *answer_proc_head; 76extern struct answer_packet_list *answer_proc_head;
77 77
78/** 78/**
79 * The last element of the list of processed dns-responses. 79 * The last element of the list of processed dns-responses.
80 */ 80 */
81struct answer_packet_list *answer_proc_tail; 81extern struct answer_packet_list *answer_proc_tail;
82 82
83#endif /* end of include guard: GNUNET-DAEMON-VPN-DNS_H */ 83#endif /* end of include guard: GNUNET-DAEMON-VPN-DNS_H */