| Branch: | Revision:

grapes / src / PeerSet @ b79c8e3a

Name Size Revision Age Author Comment
Makefile 163 Bytes e91f1bd5 about 10 years Luca Abeni Out of Tree compilation support
peerset_ops.c 5.1 KB b79c8e3a over 3 years Luca Baldesi add init and deinit generic function for the pe...
peerset_private.h 220 Bytes 82438fe3 almost 10 years Luca Abeni Fix peer allocation in peerset A realloc due t...

Latest revisions

# Date Author Comment
b79c8e3a 09/11/2017 03:23 PM Luca Baldesi

add init and deinit generic function for the peer structure

They are defined as global variable initialized as:
peer_deinit = peer_deinit_data;
peer_init = peer_init_data;

0c6efcd5 07/17/2017 09:48 AM Luca Baldesi

Refactor peer structure

peer.h now exports two metadata pointers to upper layers, one for
gossiping data and the other for ancillary, user-defined data.

24f9eadf 06/19/2017 05:18 PM Luca Baldesi

remove cb_size and capacity attribute from peer struct
add a void pointer to metadata

10ddaca7 06/06/2017 06:32 PM Luca Baldesi

general bug fixings

- add destroy function to peersamplers, so to avoid memory leaks in case of multiple instances
- fix initialization bug in the chunk_buffer constructor
- fix peerset_clear reallocation for the case size is set to 0 (destruction)

c5922d21 01/07/2016 11:40 AM Luca Abeni

Fix some warnings

67700aad 11/18/2014 02:03 PM Luca Baldesi

generic bugfixing

fix warning alert on peerset_for_each
fix peers comparison crash bug
fix nodeid comparison crash bug

176b8de8 11/07/2014 09:53 AM Luca Baldesi

export configuration structure files.

configuration tool has changed its name into grapes_config and it's now available as a public interface of the GRAPES library

41012841 10/21/2014 07:27 AM Luca Baldesi

add peerset destroy and for each peerset functions

91566cec 10/17/2014 09:15 AM Luca Baldesi

add peerset_push and peerset_pop function

fe3ab307 04/01/2014 09:35 AM Luca Baldesi

interface refactoring introducing const

View revisions

Also available in: Atom