Skip to content
Snippets Groups Projects
Commit 7112e2e3 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

rename to opendht

parent 5922f678
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,4 @@ EXTRA_DIST = \
$(DOC_FILES)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = dhtcpp.pc
pkgconfig_DATA = opendht.pc
DhtCpp
OpenDHT
===
A lightweight C++11 Distributed Hash Table implementation
......@@ -33,7 +33,7 @@ TODO
Examples
-
```c++
#include <dht.h>
#include <opendht.h>
int main() {
dht::DhtRunner node;
......@@ -81,5 +81,5 @@ sudo make install
How-to build a simple client app
-
```bash
g++ main.cpp -std=c++11 -ldhtcpp -lgnutls
g++ main.cpp -std=c++11 -lopendht -lgnutls
```
AC_INIT(dhtcpp, 0.1)
AC_INIT(opendht, 0.1)
AC_CONFIG_AUX_DIR(ac)
AM_INIT_AUTOMAKE([foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
CXXFLAGS=-O3
AC_PROG_CC
AC_PROG_CXX
AM_PROG_AR
......@@ -16,5 +18,5 @@ AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES([GNUTLS], [gnutls >= 3.1])
AC_CONFIG_FILES([Makefile src/Makefile dhtcpp.pc])
AC_CONFIG_FILES([Makefile src/Makefile opendht.pc])
AC_OUTPUT
......@@ -30,8 +30,8 @@
#pragma once
#include "dhtcpp/dht.h"
#include "dhtcpp/value.h"
#include "dhtcpp/infohash.h"
#include "dhtcpp/securedht.h"
#include "dhtcpp/dhtrunner.h"
#include "opendht/dht.h"
#include "opendht/value.h"
#include "opendht/infohash.h"
#include "opendht/securedht.h"
#include "opendht/dhtrunner.h"
File moved
File moved
File moved
File moved
File moved
File moved
File moved
......@@ -2,8 +2,8 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: DhtCpp
Description: Lightweight C++11 Distributed Hash Table library
Name: OpenDHT
Description: C++ Distributed Hash Table library
Version: @VERSION@
Libs: -L${libdir} -ldhtcpp
Cflags: -I${includedir}
\ No newline at end of file
Libs: -L${libdir} -lopendht
Cflags: -I${includedir}
lib_LTLIBRARIES = libdhtcpp.la
lib_LTLIBRARIES = libopendht.la
AM_CPPFLAGS = -I../include/dhtcpp
libdhtcpp_la_CXXFLAGS = @CXXFLAGS@
AM_CPPFLAGS = -I../include/opendht
libopendht_la_CXXFLAGS = @CXXFLAGS@
libdhtcpp_la_SOURCES = \
libopendht_la_SOURCES = \
dht.cpp \
infohash.cpp \
value.cpp \
......@@ -12,11 +12,11 @@ libdhtcpp_la_SOURCES = \
dhtrunner.cpp
nobase_include_HEADERS = \
../include/dht.h \
../include/dhtcpp/dht.h \
../include/dhtcpp/infohash.h \
../include/dhtcpp/value.h \
../include/dhtcpp/crypto.h \
../include/dhtcpp/securedht.h \
../include/dhtcpp/dhtrunner.h \
../include/dhtcpp/serialize.h
../include/opendht.h \
../include/opendht/dht.h \
../include/opendht/infohash.h \
../include/opendht/value.h \
../include/opendht/crypto.h \
../include/opendht/securedht.h \
../include/opendht/dhtrunner.h \
../include/opendht/serialize.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment