aboutsummaryrefslogtreecommitdiff
path: root/src/gns/gnunet-service-gns_interceptor.h
blob: be7250b5257e97d2bb5d484359fa63503cdc8d01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef GNUNET_GNS_INTERCEPTOR_H
#define GNUNET_GNS_INTERCEPTOR_H

/**
 * Initialize dns interceptor
 *
 * @param zone the 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);

void
gns_interceptor_stop(void){};

#endif