Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
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
opendht
Commits
e447dc5e
Commit
e447dc5e
authored
9 years ago
by
Simon Désaulniers
Browse files
Options
Downloads
Patches
Plain Diff
removed undefined function in header
parent
b7e0f739
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/dht.h
+5
-7
5 additions, 7 deletions
include/opendht/dht.h
with
5 additions
and
7 deletions
include/opendht/dht.h
+
5
−
7
View file @
e447dc5e
...
@@ -243,13 +243,6 @@ public:
...
@@ -243,13 +243,6 @@ public:
int
pingNode
(
const
sockaddr
*
,
socklen_t
);
int
pingNode
(
const
sockaddr
*
,
socklen_t
);
/**
* Maintains the store. For each storage, if values don't belong there
* anymore because this node is too far from the target, values are sent to
* the appropriate nodes.
*/
void
maintainStore
(
bool
force
=
false
);
time_point
periodic
(
const
uint8_t
*
buf
,
size_t
buflen
,
const
sockaddr
*
from
,
socklen_t
fromlen
);
time_point
periodic
(
const
uint8_t
*
buf
,
size_t
buflen
,
const
sockaddr
*
from
,
socklen_t
fromlen
);
/**
/**
...
@@ -886,6 +879,11 @@ private:
...
@@ -886,6 +879,11 @@ private:
void
expireStorage
();
void
expireStorage
();
void
storageChanged
(
Storage
&
st
,
ValueStorage
&
);
void
storageChanged
(
Storage
&
st
,
ValueStorage
&
);
/**
* For a given storage, if values don't belong there anymore because this
* node is too far from the target, values are sent to the appropriate
* nodes.
*/
size_t
maintainStorage
(
InfoHash
id
,
bool
force
=
false
,
DoneCallback
donecb
=
nullptr
);
size_t
maintainStorage
(
InfoHash
id
,
bool
force
=
false
,
DoneCallback
donecb
=
nullptr
);
// Buckets
// Buckets
...
...
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