blob: dc39aecefaacaaf4f939d101e50db91f38367392 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef GNUNET_GNS_INTERCEPTOR_H
#define GNUNET_GNS_INTERCEPTOR_H
/**
* Initialize dns interceptor
*
* @param zone the zone
* @param key the private key of the local zone
* @param c the configuration
* @return GNUNET_YES on success GNUNET_SYSERR on error
*/
int
gns_interceptor_init(struct GNUNET_CRYPTO_ShortHashCode zone,
struct GNUNET_CRYPTO_RsaPrivateKey *key,
const struct GNUNET_CONFIGURATION_Handle *c);
/**
* Stops the interceptor
*/
void
gns_interceptor_stop(void);
#endif
|