Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
1c438e5f
Commit
1c438e5f
authored
10 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
ringdht: update for new OpenDHT API
Refs #61678 Refs #61680 Change-Id: Ifdd35cfe89a7df6227f345a7b3a26ae4d74ee765
parent
5985a30d
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
daemon/contrib/src/opendht/rules.mak
+1
-1
1 addition, 1 deletion
daemon/contrib/src/opendht/rules.mak
daemon/src/ringdht/ringaccount.h
+3
-2
3 additions, 2 deletions
daemon/src/ringdht/ringaccount.h
with
4 additions
and
3 deletions
daemon/contrib/src/opendht/rules.mak
+
1
−
1
View file @
1c438e5f
# OPENDHT
# OPENDHT
OPENDHT_VERSION
:=
fde26fef5b2dfbcb5960fb91a75f86a83b5b1f3c
OPENDHT_VERSION
:=
33542e932a3cb7c970ffc2196a21b85aec17807f
OPENDHT_URL
:=
https://github.com/savoirfairelinux/opendht/archive/
$(
OPENDHT_VERSION
)
.tar.gz
OPENDHT_URL
:=
https://github.com/savoirfairelinux/opendht/archive/
$(
OPENDHT_VERSION
)
.tar.gz
PKGS
+=
opendht
PKGS
+=
opendht
...
...
This diff is collapsed.
Click to expand it.
daemon/src/ringdht/ringaccount.h
+
3
−
2
View file @
1c438e5f
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
#include
<vector>
#include
<vector>
#include
<map>
#include
<map>
#include
<chrono>
namespace
Conf
{
namespace
Conf
{
const
char
*
const
DHT_PORT_KEY
=
"dhtPort"
;
const
char
*
const
DHT_PORT_KEY
=
"dhtPort"
;
...
@@ -254,8 +255,8 @@ class RingAccount : public SIPAccountBase {
...
@@ -254,8 +255,8 @@ class RingAccount : public SIPAccountBase {
private
:
private
:
const
dht
::
ValueType
USER_PROFILE_TYPE
=
{
9
,
"User profile"
,
60
*
60
*
24
*
7
};
const
dht
::
ValueType
USER_PROFILE_TYPE
=
{
9
,
"User profile"
,
std
::
chrono
::
hours
(
24
*
7
)
};
const
dht
::
ValueType
ICE_ANNOUCEMENT_TYPE
=
{
10
,
"ICE descriptors"
,
15
*
60
};
const
dht
::
ValueType
ICE_ANNOUCEMENT_TYPE
=
{
10
,
"ICE descriptors"
,
std
::
chrono
::
minutes
(
15
)
};
void
createOutgoingCall
(
const
std
::
shared_ptr
<
SIPCall
>&
call
,
const
std
::
string
&
to_id
,
IpAddr
target
);
void
createOutgoingCall
(
const
std
::
shared_ptr
<
SIPCall
>&
call
,
const
std
::
string
&
to_id
,
IpAddr
target
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment