Statistics
| Branch: | Revision:

grapes / include @ b79c8e3a

# 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.

0f8fad02 07/17/2017 08:55 AM Luca Baldesi

Remove static sender nodeID from signalling module

This allows sending signalling traffic from different originators (nodeIDs)

f217ce38 06/30/2017 06:47 AM Luca Baldesi

remove static global sending nodeID variable from signaling module

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

ad6e8e86 01/07/2016 11:13 AM Luca Abeni

Merge branch 'baldesi-next'

Conflicts:
src/Chunkiser/Makefile
src/Chunkiser/input-stream-avf.c
src/Chunkiser/input-stream.c
src/Chunkiser/output-stream-avf.c
src/Chunkiser/output-stream-play.c
src/Makefile
src/PeerSampler/ncast.c

f680f62b 01/07/2016 10:15 AM Luca Abeni

Merge branch 'baldesi'

Conflicts:
include/peer.h
src/Cache/topo_proto.c
src/Cache/topocache.c
src/Cache/topocache.h
src/ChunkTrading/chunk_delivery.c
src/Chunkiser/Makefile
src/Chunkiser/input-stream-avf.c
src/Chunkiser/libav-compat.h
src/Chunkiser/output-stream-avf.c...

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

8f446863 11/11/2014 04:24 PM Luca Baldesi

fix compilation warning and suppress fprintf

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

729826c9 03/08/2013 04:11 PM Csaba Kiraly

chunk: header size is used externally for malloc, declare in .h

ce1abd38 11/08/2011 03:17 PM Csaba Kiraly

moving int_coding.h to public headers

required by some topology modiles, to be evaluated upstream

886a956a 11/08/2011 03:16 PM Csaba Kiraly

adding subnet to peer structure

required tempororarly by some traverso branches, no need to merge upstream

2c07cb9d 08/22/2011 02:26 PM napawine

scheduler: move selectWithOrdering to the public header

c24a0371 08/03/2011 05:37 PM Csaba Kiraly

Merge branch 'scheduler' into next

d242a2c6 08/03/2011 05:36 PM napawine

scheduler: move selectWithOrdering to the public header

cda1653e 07/13/2011 10:09 PM ArpadBakay

Eliminite some compiler warning messages

git-svn-id: https://repository.napa-wine.eu/svn/napawine-software/branches/winestreamer-1.0-rc/THIRDPARTY-LIBS/GRAPES@2607 c54fac2e-1815-407e-9b96-088d06743913

5f69066c 07/06/2011 09:36 AM Csaba Kiraly

adding capacity to struct peer

8eec09f6 06/01/2011 10:02 AM Luca Abeni

Merge remote-tracking branch 'origin/cloudcast_integration'

Conflicts:
src/Tests/cloudcast_topology_test.c
src/net_helper-ml.c

827ed971 06/01/2011 10:00 AM Luca Abeni

Merge branch 'fixes'

92358b75 05/31/2011 01:53 PM Luca Abeni

Fix a warning by properly defining "const" in peersampler interface

391fed9c 05/30/2011 12:12 PM Luca Abeni

Merge commit '9c3d2b9e5be53fbc11f150a54386cf92c2ba5d10'

Conflicts:
src/PeerSet/peerset_ops.c

69310d45 04/28/2011 06:43 PM Csaba Kiraly

Merge branch '2011-COMMAG2' into next

2c1b0c2b 04/28/2011 01:57 PM Csaba Kiraly

Merge branch 'master' into next

bbe54155 04/20/2011 09:35 AM Luca Abeni

Merge branch 'cloudcast_integration'

3dc457e0 04/20/2011 07:38 AM Luca Abeni

Merge branch 'fixes' into cloudcast_integration

Conflicts:
include/net_helper.h
src/net_helper.c

534e126a 04/20/2011 07:28 AM Andrea Zito

Fixed thread unsafe operations in net_helper

98b047dd 04/13/2011 02:22 PM Andrea Zito

Added support for get_from_cloud_default which return a default value if key is not present

80d1577c 04/13/2011 11:53 AM Andrea Zito

Fixed thread unsafe operations in net_helper

78dc8c0c 04/13/2011 09:00 AM Andrea Zito

Removed pthread dependency by cloud_helper. Caller must enforce synchronization on cloud_helper_init

6ebf2e47 04/12/2011 01:04 PM Andrea Zito

cloud_helper_context-nodeID map now thread safe

849c120e 04/11/2011 04:02 PM Andrea Zito

better specified the completion criteria of recv_form_cloud

ee8db4ca 04/11/2011 01:50 PM Andrea Zito

Merge branch 'master' into cloudcast

Conflicts:
src/Cache/proto.h
src/Cache/topocache.c
src/Makefile
src/Tests/Makefile
src/TopologyManager/Makefile
src/TopologyManager/topo_proto.h

b9e7dd7b 03/28/2011 03:40 PM Andrea Zito

Added optional buffer deallocation for cloud_helper get/put operations

82438fe3 03/16/2011 01:09 PM Luca Abeni

Fix peer allocation in peerset

A realloc due to add_peer() could invalidate a previously returned
pointer to peer

fce60f0c 03/16/2011 11:02 AM Csaba Kiraly

adding capacity to struct peer

aed273c3 03/09/2011 07:51 AM Luca Abeni

Some more doxy

0ef5aac7 03/09/2011 07:49 AM Luca Abeni

Fix typos

3297f183 03/09/2011 07:47 AM Luca Abeni

Fix typo

62f68831 03/09/2011 07:45 AM Luca Abeni

Mention some more examples

59771a03 03/09/2011 07:38 AM Luca Abeni

Fix net_helper.h doxy

8d11c217 03/09/2011 07:32 AM Luca Abeni

Some more doxy documentation in chunkidset.h

8ba11988 03/08/2011 09:42 PM Luca Abeni

Document some defines

654c1ec5 03/08/2011 07:09 PM Luca Abeni

Fix c&p error

e3cf5329 03/08/2011 07:05 PM Luca Abeni

Add a link to chunk_sending_test.c

62ecdd02 03/08/2011 07:02 PM Luca Abeni

Add a link to chunk_encoding_test.c

b48274e0 03/08/2011 06:59 PM Luca Abeni

Add a link to chunkiser_test.c

e38ca866 03/08/2011 06:58 PM Luca Abeni

Add a link to chunkidset_test.c

260312ee 03/08/2011 06:54 PM Luca Abeni

Add a link to cb_test.c

2b424777 03/08/2011 02:37 PM Luca Abeni

Fix the chunkiser documentation

82b21385 03/08/2011 02:33 PM Luca Abeni

Merge commit '6b94c6031fc0d6924793d25e193c28802f351e91' into documentation

64130672 03/08/2011 02:27 PM Luca Abeni

Document the "config" parameter a little bit

This still has to be improved

083d93f4 02/27/2011 04:55 PM Csaba Kiraly

Merge branch 'chunk-attribs' into test-local

94e9ae98 02/27/2011 03:14 PM Csaba Kiraly

Merge branch 'chunkiser' into test-local

59e03a8f 02/24/2011 02:41 AM Csaba Kiraly

add chunkiser chunk attribute support

8c4ad616 02/21/2011 09:42 AM Csaba Kiraly

Merge branch 'bsearch' into test-local

ef4061e4 02/20/2011 02:59 PM Csaba Kiraly

net_helper: add nodeid_cmp function

c8a9504f 02/19/2011 02:13 PM Csaba Kiraly

added chunkIDs_set_trim

6b94c603 02/18/2011 02:05 PM Gianluca Ciccarelli

Fix outdated doc for chunk_write.

Removed the no-more-existing "data" and "size" parameters' description,
and changed "chunk_id" to "c" as the second parameter.

b71e9607 02/18/2011 11:23 AM Andrea Zito

Added cloud_helper_utils

dd3024b0 02/18/2011 11:15 AM Andrea Zito

Fixed a typo in the documentation header and added licence

dbb7fac8 02/16/2011 10:04 PM Csaba Kiraly

Merge branch 'sched-peer' into next

adb39af9 02/16/2011 10:03 PM Csaba Kiraly

schedule based on peer* instead of noedID*

avoid some lookups

1b3836ab 02/16/2011 10:00 PM Csaba Kiraly

Merge branch 'transactions' into next

b223cba2 02/16/2011 09:58 PM Csaba Kiraly

add parseChunkMsg call (with transaction ID)

make the trade_msg_ha interface symmetric, thus allowing transaction IDs

b4d038cb 02/14/2011 10:10 AM Csaba Kiraly

add ACK message

77947fd5 02/14/2011 10:07 AM Csaba Kiraly

changing transaction IDs to uint16

49b99aeb 02/12/2011 10:32 AM Andrea Zito

Cleaned files of trailing whitepaces and empty lines

0e9bde83 02/12/2011 10:25 AM Andrea Zito

Modified cloud_helper interface to support cloud node variants and timestamps.
Updated cloud_test and test cloud implementation to conform to the new interface

88cde4b2 02/11/2011 07:36 AM Csaba Kiraly

fix: no need for winsock in net-helper.h, sys/time is enough

4b0ef992 12/28/2010 08:45 AM Luca Abeni

Merge branch 'chunkiser'

4cdd16a7 12/21/2010 03:33 PM Luca Abeni

Add a "get_fds()" method to the chunkiser (useful for RTP input)

df6d663b 12/13/2010 05:46 PM Luca Abeni

Merge branch 'chunkiser'

386bce8c 12/13/2010 12:40 PM Luca Abeni

Implement the dechunkiser "close" method

e296176d 12/12/2010 06:13 PM Luca Abeni

Change the dechunkiser API to accept a file name (and not only a config string) in open()

ef8002fd 12/12/2010 10:22 AM Andrea Zito

Added function is_cloud_node to cloud helper

5b24298d 12/09/2010 08:58 AM Luca Abeni

Merge branch 'topman'

0c461e28 12/09/2010 07:53 AM Luca Abeni

Use a better interface for chunk_write(), too

606948b2 12/08/2010 09:33 PM Luca Abeni

Use a new interface for chunkise()

15d5934d 12/02/2010 08:42 AM Luca Abeni

Some const fixes in the peersamplers

89b16ba8 11/27/2010 05:43 PM Andrea Zito

Added ability to specify an header for cloud GET operations

5033613a 11/27/2010 02:34 PM Andrea Zito

Cloud communication support introduced throught cloud_helper

1e8dedd8 11/23/2010 01:41 PM Luca Abeni

First draft of a chunkiser infrastructure

eb607b63 11/11/2010 11:05 AM Luca

Update the context name

6d3a033f 11/11/2010 10:59 AM Luca

Merge branch 'cloudcast' into topman

Conflicts:

include/topmanager.h
src/Tests/tman_test.c
src/Tests/topology.c
src/Tests/topology_test.c
src/Tests/topology_test_attr.c
src/TopologyManager/peersampler.c
06113eb4 11/10/2010 11:33 AM Andrea Zito

Peersampler contexts now have type peersampler_context. Context as return value of *init

a5978256 11/10/2010 10:50 AM Andrea Zito

Removed CamelCase names

a5024326 11/09/2010 10:03 AM Andrea Zito

Added context support to peersampler.c

6e623a9b 11/08/2010 10:20 AM Luca Abeni

Merge remote branch 'origin/fixes'

32469cf7 11/03/2010 11:24 AM Luca Abeni

Fix net_helper.h for win32

efeaec84 11/03/2010 08:40 AM Luca Abeni

Rename topman.h into peersample.h

6fd9945c 10/27/2010 10:23 AM Marco Biazzini

prepare for multiple topology manager implementations

e55fe1f8 10/13/2010 06:17 AM Marco Biazzini

net_helper : adding node_ip function

b21275b6 10/12/2010 02:02 PM Csaba Kiraly

Merge branch 'cbsize-in-signaling'

652fa0be 10/12/2010 02:02 PM Csaba Kiraly

fix sendBufferMap description