mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +00:00
28 lines
326 B
C
28 lines
326 B
C
#ifndef LLARP_DHT_H_
|
|
#define LLARP_DHT_H_
|
|
|
|
/**
|
|
* dht.h
|
|
*
|
|
* DHT functions
|
|
*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct llarp_dht_context;
|
|
|
|
/// allocator
|
|
struct llarp_dht_context*
|
|
llarp_dht_context_new();
|
|
|
|
/// deallocator
|
|
void
|
|
llarp_dht_context_free(struct llarp_dht_context* dht);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|