lokinet/include/llarp/dht.h

28 lines
326 B
C
Raw Normal View History

2018-02-01 17:06:49 +00:00
#ifndef LLARP_DHT_H_
#define LLARP_DHT_H_
2018-05-25 09:17:08 +00:00
/**
* dht.h
*
* DHT functions
*/
2018-02-01 17:06:49 +00:00
#ifdef __cplusplus
extern "C" {
#endif
2018-02-01 17:07:01 +00:00
struct llarp_dht_context;
2018-02-01 17:06:49 +00:00
2018-05-25 09:17:08 +00:00
/// allocator
struct llarp_dht_context*
llarp_dht_context_new();
2018-05-25 09:17:08 +00:00
/// deallocator
void
llarp_dht_context_free(struct llarp_dht_context* dht);
2018-02-01 17:06:49 +00:00
#ifdef __cplusplus
}
#endif
#endif