diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-16 09:44:58 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-06-16 09:44:58 +0000 |
commit | c0cf6345215b55c20a5d84ae0604e499845ee989 (patch) | |
tree | 8443f444c5fa9f4710b85323f4d070fcce905afb /src/gns/gnunet-service-gns_resolver.h | |
parent | dab580c6caa8106f45d7fcd51329d51df6a792eb (diff) | |
download | gnunet-c0cf6345215b55c20a5d84ae0604e499845ee989.tar.gz gnunet-c0cf6345215b55c20a5d84ae0604e499845ee989.zip |
Add VPN resolution
Diffstat (limited to 'src/gns/gnunet-service-gns_resolver.h')
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gns/gnunet-service-gns_resolver.h b/src/gns/gnunet-service-gns_resolver.h index 1b54d3c2c..8387e1166 100644 --- a/src/gns/gnunet-service-gns_resolver.h +++ b/src/gns/gnunet-service-gns_resolver.h | |||
@@ -93,7 +93,8 @@ enum ResolutionStatus | |||
93 | { | 93 | { |
94 | RSL_RECORD_EXISTS = 1, | 94 | RSL_RECORD_EXISTS = 1, |
95 | RSL_RECORD_EXPIRED = 2, | 95 | RSL_RECORD_EXPIRED = 2, |
96 | RSL_TIMED_OUT = 4 | 96 | RSL_TIMED_OUT = 4, |
97 | RSL_DELEGATE_VPN = 8 | ||
97 | }; | 98 | }; |
98 | 99 | ||
99 | /** | 100 | /** |
@@ -129,6 +130,9 @@ struct ResolverHandle | |||
129 | /* timeout set for this lookup task */ | 130 | /* timeout set for this lookup task */ |
130 | struct GNUNET_TIME_Relative timeout; | 131 | struct GNUNET_TIME_Relative timeout; |
131 | 132 | ||
133 | /* a handle to a vpn request */ | ||
134 | struct GNUNET_VPN_RedirectionRequest *vpn_handle; | ||
135 | |||
132 | /* timeout task for the lookup */ | 136 | /* timeout task for the lookup */ |
133 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; | 137 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; |
134 | 138 | ||