Closure for merge_pr(). More...
Data Fields | |
struct GSF_PendingRequest * | pr |
Request we are trying to merge. More... | |
int | merged |
Set to GNUNET_YES if we succeeded to merge. More... | |
const struct GNUNET_HELLO_Message * | h1 |
First HELLO we are merging. More... | |
const struct GNUNET_HELLO_Message * | h2 |
Second HELLO we are merging. More... | |
const struct GNUNET_HELLO_Message * | other |
Either h1 or h2, used when copying to compare against (so we only copy the most recent entry). More... | |
char * | buf |
Buffer where we copy to. More... | |
size_t | max |
Number of bytes allocated in buf. More... | |
size_t | ret |
Current (write) offset in buf. More... | |
int | take_equal |
Should we copy addresses with an identical value and expiration time in other, or do we only copy addresses with strictly later expiration times? More... | |
Closure for merge_pr().
Context for a #GNUNET_HELLO_Merge operation.
Definition at line 473 of file gnunet-service-fs_pe.c.
struct GSF_PendingRequest* MergeContext::pr |
Request we are trying to merge.
Definition at line 478 of file gnunet-service-fs_pe.c.
Referenced by GSF_plan_add_(), and merge_pr().
int MergeContext::merged |
Set to GNUNET_YES if we succeeded to merge.
Definition at line 483 of file gnunet-service-fs_pe.c.
Referenced by GSF_plan_add_(), and merge_pr().
const struct GNUNET_HELLO_Message* MergeContext::h1 |
First HELLO we are merging.
Definition at line 393 of file hello.c.
Referenced by GNUNET_HELLO_merge().
const struct GNUNET_HELLO_Message* MergeContext::h2 |
Second HELLO we are merging.
Definition at line 398 of file hello.c.
Referenced by GNUNET_HELLO_merge().
const struct GNUNET_HELLO_Message* MergeContext::other |
int MergeContext::take_equal |